BalloonSlider constructor

BalloonSlider(
  1. {Key? key,
  2. required double value,
  3. double ropeLength = 0,
  4. bool showRope = false,
  5. ValueChanged<double>? onChangeStart,
  6. required ValueChanged<double> onChanged,
  7. ValueChanged<double>? onChangeEnd,
  8. 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);