PasswordField constructor
const
PasswordField({
- Key? key,
- String? initialValue,
- FormFieldValidator<
String> ? validator, - ValueChanged<
String> ? onFieldSubmitted, - FocusNode? focusNode,
- TextEditingController? controller,
- bool autofocus = false,
- bool enabled = true,
- required String labelText,
- required dynamic onChanged(),
Implementation
const PasswordField({
super.key,
this.initialValue,
this.validator,
this.onFieldSubmitted,
this.focusNode,
this.controller,
this.autofocus = false,
this.enabled = true,
required this.labelText,
required this.onChanged,
});