MoneyInputField constructor

const MoneyInputField({
  1. required dynamic onChanged(
    1. double?
    )?,
  2. String prefixText = 'R\$ ',
  3. double initialWidth = 120,
  4. double fontSize = 42.0,
  5. bool autoFocus = true,
  6. bool readOnly = false,
  7. EdgeInsets? padding = const EdgeInsets.fromLTRB(10, 30, 10, 40),
  8. double? maxValue = 500,
  9. bool clearButton = true,
  10. Key? key,
})

Implementation

const MoneyInputField({
  required this.onChanged,
  this.prefixText = 'R\$ ',
  this.initialWidth = 120,
  this.fontSize = 42.0,
  this.autoFocus = true,
  this.readOnly = false,
  this.padding = const EdgeInsets.fromLTRB(10, 30, 10, 40),
  this.maxValue = 500,
  this.clearButton = true,
  Key? key,
}) : super(key: key);