AFieldNumber constructor

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

Implementation

const AFieldNumber({
  super.key,
  super.onChanged,
  super.readOnly,
  super.required,
  super.autofillHints,
  super.icon,
  super.label,
  super.suffix,
  super.bottom,
  super.denySpaces,
  super.hintText,
  required super.identifier,
  super.initialValue = "",
  super.flexible,
  super.expanded,
  super.onUnfocus,
  super.margin,
  super.autofocus,
  super.capitalize,
  super.clearable,
  super.customRules,
  super.height,
  super.linkToAForm,
  super.maxLines,
  super.onSubmit,
  super.padding,
  super.readonly,
}) : super(
  keyboardType: TextInputType.number,
);