Last updated:
0 purchases
gradient slider
A slider widget, supports image thumb, track gradient and border
Features #
Custom thumb image
Active track gradient
Inactive track gradient
Track border
Track border color
Usage #
GradientSlider(
thumbAsset: 'assets/vert_thumb.png',
thumbHeight: 30,
thumbWidth: 30,
trackBorder: 1,
trackBorderColor: Colors.black,
activeTrackGradient: const LinearGradient(colors: [Colors.pink, Colors.blue]),
inactiveTrackGradient:
LinearGradient(colors: [Colors.grey.shade300, Colors.grey.shade800]),
slider: Slider(value: 0.5, onChanged: (value) {}
),
)
copied to clipboard
Type
Properties
String
thumbAsset
double
thumbHeight
double
thumbWidth
Widget
slider
Gradient
activeTrackGradient
Gradient
inactiveTrackGradient
Color
inactiveTrackColor
double
trackHeight
double
trackBorder
Color
trackBorderColor
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.