PasswordField constructor
const
PasswordField({
- Key? key,
- String? initialValue,
- FormFieldValidator<
String> ? validator, - ValueChanged<
String> ? onFieldSubmitted, - TextInputAction? textInputAction,
- dynamic onEditingComplete()?,
- TextEditingController? controller,
- bool enabled = true,
- bool autofocus = false,
- required String labelText,
- required dynamic onChanged(),
- TextInputType? keyboardType = TextInputType.text,
- GestureTapCallback? onTap,
Implementation
const PasswordField({
super.key,
this.initialValue,
this.validator,
this.onFieldSubmitted,
this.textInputAction,
this.onEditingComplete,
this.controller,
this.enabled = true,
this.autofocus = false,
required this.labelText,
required this.onChanged,
this.keyboardType = TextInputType.text,
this.onTap,
});