modern_linear_slider 1.0.0
modern_linear_slider: ^1.0.0 copied to clipboard
A package for a decent linear slider widget
Modern Linear Slider #
A value slider works by touching and dragging in the increasing or decreasign direction, and not affected by tapping which gives more decent experience for touch devices
Usage Example #
ModernLinearSlider(
backgroundColor: Colors.black26,
foregroundColor: Colors.blueAccent,
disabledColor: Colors.black38,
value: val.toDouble(),
onValueChanging: (i) {
setState(() {
val = i.toInt();
});
},
onValueChanged: (i) {},
),