FillingSlider constructor

FillingSlider({
  1. Key? key,
  2. double initialValue = 1.0,
  3. ChangeCallback? onChange,
  4. FinishCallback? onFinish,
  5. FillingSliderDirection direction = FillingSliderDirection.vertical,
  6. Color color = const Color.fromRGBO(46, 45, 36, 0.5),
  7. Color fillColor = const Color.fromRGBO(215, 216, 218, 0.3),
  8. Widget? child,
  9. ChildBuilder? childBuilder,
  10. double width = 80,
  11. double height = 200,
})

Creates a IOS-like slider

Implementation

FillingSlider(
    {Key? key,
    this.initialValue = 1.0,
    this.onChange,
    this.onFinish,
    this.direction = FillingSliderDirection.vertical,
    this.color = const Color.fromRGBO(46, 45, 36, 0.5),
    this.fillColor = const Color.fromRGBO(215, 216, 218, 0.3),
    this.child,
    this.childBuilder,
    this.width = 80,
    this.height = 200})
    : super(key: key);