AFieldMoney constructor

const AFieldMoney({
  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. String? leftSymbol,
  11. int precision = 2,
  12. bool denySpaces = false,
  13. String? hintText,
  14. required String identifier,
  15. String? initialValue = "",
  16. int? flexible,
  17. bool expanded = false,
  18. void onUnfocus()?,
  19. EdgeInsets? margin,
  20. bool autofocus = false,
  21. bool capitalize = false,
  22. bool clearable = false,
  23. List<ARule<String>>? customRules,
  24. double height = 46,
  25. bool linkToAForm = true,
  26. VoidCallback? onSubmit,
  27. EdgeInsets? padding,
  28. bool readonly = false,
})

Implementation

const AFieldMoney({
  super.key,
  super.onChanged,
  super.readOnly,
  super.required,
  super.autofillHints,
  super.icon,
  super.label,
  super.suffix,
  super.bottom,
  this.leftSymbol,
  this.precision = 2,
  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.onSubmit,
  super.padding,
  super.readonly,
}) : super(
  keyboardType: TextInputType.number,
);