AFieldPhonePrefix constructor

const AFieldPhonePrefix({
  1. Key? key,
  2. void onChanged(
    1. String?
    )?,
  3. bool readOnly = false,
  4. bool required = false,
  5. bool? showIcon,
  6. String? initialValue = "",
  7. String? label = "Telefone",
  8. String identifier = 'phone',
  9. bool isArgentine = false,
  10. int? flexible,
  11. bool expanded = false,
  12. EdgeInsets? margin,
  13. bool autofocus = false,
  14. Widget? bottom,
  15. bool capitalize = false,
  16. bool clearable = false,
  17. List<ARule<String>>? customRules,
  18. bool denySpaces = false,
  19. double height = 46,
  20. bool linkToAForm = true,
  21. VoidCallback? onSubmit,
  22. void onUnfocus()?,
  23. EdgeInsets? padding,
  24. bool readonly = false,
  25. Widget? suffix,
  26. String prefix = '',
  27. 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();