NumberSelector constructor

NumberSelector({
  1. Widget leading = const Text(""),
  2. Widget? trailing,
  3. int? start,
  4. int? end,
  5. List<int>? array,
  6. int? value,
  7. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.spaceBetween,
  8. dynamic onChanged(
    1. int? value
    )?,
})

Implementation

NumberSelector({
  this.leading = const Text(""),
  this.trailing,
  this.start,
  this.end,
  this.array,
  this.value,
  this.mainAxisAlignment = MainAxisAlignment.spaceBetween,
  this.onChanged,
}) : assert((start != null || end != null) || array != null);