password formtextfield flutter code example
Example: flutter textformfield type password
TextFormField(
obscureText: true,
// Additionally, consider adding these properties to prevent input
// suggestions because they risk revealing at least part of the
// password input to screen viewers.
enableSuggestions: false,
autocorrect: false,
...
)