FlickerNumberInput<T> constructor

FlickerNumberInput<T>({
  1. Key? key,
  2. required T initialValue,
  3. ValueChanged<int>? onChangedInt,
  4. ValueChanged<double>? onChangedDouble,
  5. ValueChanged<String>? onChangedString,
  6. String? labelText,
  7. bool? uppercaseLabelAndHint,
  8. FormFieldValidator<String>? validator,
  9. double width = 250,
  10. Widget? suffix,
  11. bool readOnly = false,
  12. Widget? prefix,
  13. int numberOfDecimals = 0,
})

Implementation

FlickerNumberInput({
  Key? key,
  required this.initialValue,
  this.onChangedInt,
  this.onChangedDouble,
  this.onChangedString,
  this.labelText,
  this.uppercaseLabelAndHint,
  this.validator,
  this.width = 250,
  this.suffix,
  this.readOnly = false,
  this.prefix,
  this.numberOfDecimals = 0,
}) : super(key: key);