mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
The `type` attribute is needed for screen readers to tell the user whether the text field is a password or a plain text field. Use `-webkit-text-security` for multi-line fields as a best effort (it's non-standard but is supported by all major browsers). Fixes https://github.com/flutter/flutter/issues/153801