TwoDirectionalSlider constructor

const TwoDirectionalSlider({
  1. Key? key,
  2. required Widget child,
  3. double initialVerticalValue = 0.0,
  4. double initialHorizontalValue = 0.0,
  5. ValueChanged<double>? onVerticalChangeStart,
  6. ValueChanged<double>? onVerticalChanged,
  7. ValueChanged<double>? onVerticalChangeEnd,
  8. int? verticalDivisions,
  9. ValueChanged<double>? onHorizontalChangeStart,
  10. ValueChanged<double>? onHorizontalChanged,
  11. ValueChanged<double>? onHorizontalChangeEnd,
  12. int? horizontalDivisions,
})

Creates a two-directional slider.

The child parameter must not be null.

Implementation

const TwoDirectionalSlider({
  Key? key,
  required this.child,
  this.initialVerticalValue = 0.0,
  this.initialHorizontalValue = 0.0,
  this.onVerticalChangeStart,
  this.onVerticalChanged,
  this.onVerticalChangeEnd,
  this.verticalDivisions,
  this.onHorizontalChangeStart,
  this.onHorizontalChanged,
  this.onHorizontalChangeEnd,
  this.horizontalDivisions,
}) : super(key: key);