AFieldPassword constructor
const
AFieldPassword({
- Key? key,
- String? label = "Senha",
- String identifier = 'password',
- bool readOnly = false,
- void onChanged()?,
- List<
ARule< ? customRules,String> > - void onSetShowPassword()?,
- int? flexible,
- bool expanded = false,
- EdgeInsets? margin,
- int minLength = 8,
- bool autofocus = false,
- Widget? bottom,
- bool clearable = false,
- double height = 46,
- String? hintText,
- IconData? icon,
- TextInputType? keyboardType,
- bool linkToAForm = true,
- VoidCallback? onSubmit,
- void onUnfocus()?,
- EdgeInsets? padding,
- bool readonly = false,
- Widget? suffix,
- Iterable<
String> ? autofillHints = const <String>[AutofillHints.password],
Implementation
const AFieldPassword({
super.key,
super.label = "Senha",
super.identifier = 'password',
super.readOnly,
super.onChanged,
super.customRules,
this.onSetShowPassword,
super.flexible,
super.expanded,
super.margin,
this.minLength = 8,
super.autofocus,
super.bottom,
super.clearable,
super.height,
super.hintText,
super.icon,
super.keyboardType,
super.linkToAForm,
super.onSubmit,
super.onUnfocus,
super.padding,
super.readonly,
super.suffix,
super.autofillHints = const <String>[AutofillHints.password],
}) : super(
required: true,
);