BalloonSlider constructor
BalloonSlider(
- {Key? key,
- required double value,
- double ropeLength = 0,
- bool showRope = false,
- ValueChanged<
double> ? onChangeStart, - required ValueChanged<
double> onChanged, - ValueChanged<
double> ? onChangeEnd, - Color? color}
Implementation
BalloonSlider(
{Key? key,
required this.value,
this.ropeLength = 0,
this.showRope = false,
this.onChangeStart,
required this.onChanged,
this.onChangeEnd,
this.color})
: assert(value >= 0.0 && value <= 1.0),
assert(ropeLength >= 0),
super(key: key);