NumberInputProps constructor

const NumberInputProps({
  1. required num value,
  2. num min = 0,
  3. num max = 100,
  4. num step = 1,
  5. void onChanged(
    1. num
    )?,
  6. NumberInputSize size = NumberInputSize.md,
  7. bool disabled = false,
  8. String? label,
  9. String? prefix,
  10. String? suffix,
  11. int decimals = 0,
  12. String? id,
  13. Map<String, String>? attributes,
})

Implementation

const NumberInputProps({
  required this.value,
  this.min = 0,
  this.max = 100,
  this.step = 1,
  this.onChanged,
  this.size = NumberInputSize.md,
  this.disabled = false,
  this.label,
  this.prefix,
  this.suffix,
  this.decimals = 0,
  this.id,
  this.attributes,
});