AFieldText constructor

const AFieldText({
  1. bool capitalize = false,
  2. TextInputType? keyboardType,
  3. bool clearable = false,
  4. int maxLines = 1,
  5. String? hintText,
  6. bool autofocus = false,
  7. IconData? icon,
  8. Widget? suffix,
  9. Widget? bottom,
  10. Iterable<String>? autofillHints,
  11. void onUnfocus()?,
  12. Key? key,
  13. bool readOnly = false,
  14. required String identifier,
  15. required String? label,
  16. bool required = false,
  17. List<ARule<String>>? customRules,
  18. bool denySpaces = false,
  19. double height = 46,
  20. void onChanged(
    1. String?
    )?,
  21. String? initialValue,
  22. int? flexible,
  23. bool expanded = false,
  24. EdgeInsets? margin,
  25. bool linkToAForm = true,
  26. VoidCallback? onSubmit,
  27. EdgeInsets? padding,
  28. bool readonly = false,
  29. int timerTime = 500,
  30. InputDecoration? decoration,
})

Implementation

const AFieldText({
  this.capitalize = false,
  this.keyboardType,
  this.clearable = false,
  this.maxLines = 1,
  this.hintText,
  this.autofocus = false,
  this.icon,
  this.suffix,
  this.bottom,
  this.autofillHints,
  this.onUnfocus,
  super.key,
  super.readOnly,
  required super.identifier,
  required super.label,
  super.required,
  super.customRules,
  this.denySpaces = false,
  this.height = 46,
  super.onChanged,
  super.initialValue,
  super.flexible,
  super.expanded,
  super.margin,
  super.linkToAForm,
  super.onSubmit,
  super.padding,
  super.readonly,
  super.timerTime,
  this.decoration,
});