filling_slider 0.0.3 filling_slider: ^0.0.3 copied to clipboard
Flutter package that allows you to create a IOS design sider component.
Filling Slider #
This is IOS-like slider widget
How to use #
Simple vertical slider #
FillingSlider()
Simple horizontal slider #
FillingSlider(
direction: FillingSliderDirection.horizontal
)
Props #
You can set initial value of slider in range [0.0, 1.0]
double initialValue
Visual Props #
You can change size, direction and color of slider
double width
double height
Color color
Color fillColor
SliderDirection direction
Callbacks Props #
There are 2 methods to respond to a change in the value of the slider
Function onChange - Notifies about all slider changes
Function onFinish - Notifies about the end of changes
Child Props #
Widget child
Function childBuilder