FastFormField constructor
const
FastFormField({
- Key? key,
- String? label,
- void onChanged()?,
- bool? autoFocus,
- String? hint,
- Widget? prefix,
- Widget? suffix,
- bool? isPassword,
- TextEditingController? controller,
- String? validator()?,
- void onFieldSubmitted()?,
- TextInputType? textInputType,
- TextInputAction? textInputAction,
- List<
TextInputFormatter> ? mask, - dynamic onEditingComplete()?,
- double radius = 8,
- int maxLines = 1,
- int minLines = 1,
FastFormField
FastFormField(
label: 'Label',
mask: [Mask.maskPhone],
validator: Zod().phone().build,
)
Implementation
const FastFormField({
super.key,
this.label,
this.onChanged,
this.autoFocus,
this.hint,
this.prefix,
this.suffix,
this.isPassword,
this.controller,
this.validator,
this.onFieldSubmitted,
this.textInputType,
this.textInputAction,
this.mask,
this.onEditingComplete,
this.radius = 8,
this.maxLines = 1,
this.minLines = 1,
});