NiceNumberInput constructor

const NiceNumberInput({
  1. Key? key,
  2. num? value,
  3. num? min,
  4. num? max,
  5. num step = 1,
  6. String? label,
  7. String? hint,
  8. String? errorText,
  9. bool enabled = true,
  10. bool showButtons = true,
  11. int decimals = 0,
  12. ValueChanged<num>? onChanged,
})

Implementation

const NiceNumberInput({
  super.key,
  this.value,
  this.min,
  this.max,
  this.step = 1,
  this.label,
  this.hint,
  this.errorText,
  this.enabled = true,
  this.showButtons = true,
  this.decimals = 0,
  this.onChanged,
});