This package support a slider customize UI with bubble animation. Which is includes a onDragStart(), onDragEnd() as well as onChnage() methods callback through user get the values as per the requirements.
BubbleSlider(
value: _value,
bubbleSize: BubbleSize.medium,
thumbRadiusSpeed: ThumbRadiusSpeed.veryFast,
bubblesSpeed: BubbleSpeed.veryFast,
isBubbleVisible: true,
onChanged: (val) {
_value = val;
},
onChangeEnd: (s) {},
color: Colors.blue,
),
This is for the set value of slider between min or 0 to max or 100.
This is a callback. Through user can get the current value of slider.
This is also callback. Through user can get the current value of slider as well as user can track the slider is deactivate at the moment.
This is for the minimum value of slider. If min is null then the default value 0.0 is used.
This is for maximum value of slider. If max is null then the default value 100.0 is used.
This is for user can set the color for slider and bubbles.
This is for user can set the bubbles size for slider.
This is for user can set the animation speed for thumb animation for slider.
This is for user can set the animation speed for bubbles for slider.
This is for disable the bubble animation.
This is a callback. Through user can get the drag start value of slider as well as user can track the slider is active at the moment.
Contribution towards our repository is always welcome, we request contributors to create a pull request to the develop branch only.
It would be great for us if the reporter can share the below things to understand the root cause of the issue.
- Library version
- Code snippet
- Logs if applicable
- Device specification like (Manufacturer, OS version, etc)
- Screenshot/video with steps to reproduce the issue.
Bubble Slider is MIT-licensed.
We’d be really happy if you send us links to your projects where you use our component. Just send an email to sales@mindinventory.com And do let us know if you have any questions or suggestion regarding our work.