TwoDirectionalSlider constructor
const
TwoDirectionalSlider({
- Key? key,
- required Widget child,
- double initialVerticalValue = 0.0,
- double initialHorizontalValue = 0.0,
- ValueChanged<
double> ? onVerticalChangeStart, - ValueChanged<
double> ? onVerticalChanged, - ValueChanged<
double> ? onVerticalChangeEnd, - int? verticalDivisions,
- ValueChanged<
double> ? onHorizontalChangeStart, - ValueChanged<
double> ? onHorizontalChanged, - ValueChanged<
double> ? onHorizontalChangeEnd, - 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);