NumberSpinner<T extends num> constructor

const NumberSpinner<T extends num>({
  1. Key? key,
  2. T decrement(
    1. T
    )?,
  3. T increment(
    1. T
    )?,
  4. List<TextInputFormatter>? inputFormatters,
  5. T? max,
  6. T? min,
  7. bool? enabled,
  8. T? initialValue,
  9. void onChanged(
    1. T
    )?,
  10. InputDecoration? decoration,
})

A spinner widget that allows the user to increment or decrement a number.

Implementation

const NumberSpinner({
  super.key,
  this.decrement,
  this.increment,
  this.inputFormatters,
  this.max,
  this.min,
  this.enabled,
  this.initialValue,
  this.onChanged,
  this.decoration,
});