XfdnCurrencyFormField constructor
const
XfdnCurrencyFormField({
- Key? key,
- String? hintText = "",
- dynamic onChanged(
- String value
- FormFieldValidator<
String> ? validator, - TextEditingController? controller,
- Widget? suffixIcon,
- Widget? prefixIcon,
- bool enabled = true,
- double borderRadius = 8,
- String? label,
- bool required = false,
- EdgeInsets edgeInsets = const EdgeInsets.symmetric(vertical: 8),
- Color textColor = Colors.black,
- bool autofocus = false,
- double? width,
- bool readOnly = false,
- 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,
});