NiceCurrencyInput constructor

const NiceCurrencyInput({
  1. Key? key,
  2. double? value,
  3. void onChanged(
    1. double?
    )?,
  4. String currencySymbol = 'zł',
  5. String currencyCode = 'PLN',
  6. int decimalPlaces = 2,
  7. String decimalSeparator = ',',
  8. String thousandsSeparator = ' ',
  9. bool symbolOnLeft = false,
  10. bool enabled = true,
  11. String? label,
  12. String? errorText,
  13. String? hintText,
})

Implementation

const NiceCurrencyInput({
  super.key,
  this.value,
  this.onChanged,
  this.currencySymbol = 'zł',
  this.currencyCode = 'PLN',
  this.decimalPlaces = 2,
  this.decimalSeparator = ',',
  this.thousandsSeparator = ' ',
  this.symbolOnLeft = false,
  this.enabled = true,
  this.label,
  this.errorText,
  this.hintText,
});