PasswordField constructor
const
PasswordField({
- Key? key,
- TextEditingController? controller,
- String label = 'Password',
- String? hint,
- String? validator()?,
- ValueChanged<
String> ? onChanged, - ValueChanged<
String> ? onSubmitted, - bool enabled = true,
- AutovalidateMode? autovalidateMode,
- String? initialValue,
- IconData? icon,
- TextInputAction? textInputAction,
- ValueChanged<
String?> ? onFieldSaved,
Implementation
const PasswordField({
super.key,
this.controller,
this.label = 'Password',
this.hint,
this.validator,
this.onChanged,
this.onSubmitted,
this.enabled = true,
this.autovalidateMode,
this.initialValue,
this.icon,
this.textInputAction,
this.onFieldSaved,
});