AFieldPhonePrefix constructor
const
AFieldPhonePrefix({
- Key? key,
- void onChanged()?,
- bool readOnly = false,
- bool required = false,
- bool? showIcon,
- String? initialValue = "",
- String? label = "Telefone",
- String identifier = 'phone',
- bool isArgentine = false,
- int? flexible,
- bool expanded = false,
- EdgeInsets? margin,
- bool autofocus = false,
- Widget? bottom,
- bool capitalize = false,
- bool clearable = false,
- List<
ARule< ? customRules,String> > - bool denySpaces = false,
- double height = 46,
- bool linkToAForm = true,
- VoidCallback? onSubmit,
- void onUnfocus()?,
- EdgeInsets? padding,
- bool readonly = false,
- Widget? suffix,
- String prefix = '',
- String? hintText = '(00) 0000-0000',
Implementation
const AFieldPhonePrefix({
super.key,
super.onChanged,
super.readOnly,
super.required,
bool? showIcon,
super.initialValue = "",
super.label = "Telefone",
super.identifier = 'phone',
super.isArgentine = false,
super.flexible,
super.expanded,
super.margin,
super.autofocus,
super.bottom,
super.capitalize,
super.clearable,
super.customRules,
super.denySpaces,
super.height,
super.linkToAForm,
super.onSubmit,
super.onUnfocus,
super.padding,
super.readonly,
super.suffix,
this.prefix = '',
super.hintText,
}) : super();