CurrencyField constructor

const CurrencyField({
  1. Key? key,
  2. double? initialValue,
  3. FormFieldValidator<double>? validator,
  4. bool? enabled,
  5. FocusNode? focusNode,
  6. TextInputAction? textInputAction,
  7. dynamic onEditingComplete()?,
  8. TextEditingController? controller,
  9. bool readOnly = false,
  10. bool autofocus = false,
  11. required String currency,
  12. required String labelText,
  13. required void onChanged(
    1. double?
    ),
})

Implementation

const CurrencyField({
  super.key,
  this.initialValue,
  this.validator,
  this.enabled,
  this.focusNode,
  this.textInputAction,
  this.onEditingComplete,
  this.controller,
  this.readOnly = false,
  this.autofocus = false,
  required this.currency,
  required this.labelText,
  required this.onChanged,
});