XfdnCurrencyFormField constructor

const XfdnCurrencyFormField({
  1. Key? key,
  2. String? hintText = "",
  3. dynamic onChanged(
    1. String value
    )?,
  4. FormFieldValidator<String>? validator,
  5. TextEditingController? controller,
  6. Widget? suffixIcon,
  7. Widget? prefixIcon,
  8. bool enabled = true,
  9. double borderRadius = 8,
  10. String? label,
  11. bool required = false,
  12. EdgeInsets edgeInsets = const EdgeInsets.symmetric(vertical: 8),
  13. Color textColor = Colors.black,
  14. bool autofocus = false,
  15. double? width,
  16. bool readOnly = false,
  17. VoidCallback? onTap,
})

Implementation

const XfdnCurrencyFormField({
  super.key,
  this.hintText = "",
  this.onChanged,
  this.validator,
  this.controller,
  this.suffixIcon,
  this.prefixIcon,
  this.enabled = true,
  this.borderRadius = 8,
  this.label,
  this.required = false,
  this.edgeInsets = const EdgeInsets.symmetric(vertical: 8),
  this.textColor = Colors.black,
  this.autofocus = false,
  this.width,
  this.readOnly = false,
  this.onTap,
});