EditorNumberScroll constructor

const EditorNumberScroll({
  1. Key? key,
  2. required Widget child,
  3. bool enabled = true,
  4. double step = 1,
  5. double? min,
  6. double? max,
  7. VoidCallback? onChanged,
})

Implementation

const EditorNumberScroll({
  super.key,
  required this.child,
  this.enabled = true,
  this.step = 1,
  this.min,
  this.max,
  this.onChanged,
}) : assert(step > 0 && step < double.infinity),
     assert(min == null || max == null || min <= max);