gradient_colored_slider 1.0.2 copy "gradient_colored_slider: ^1.0.2" to clipboard
gradient_colored_slider: ^1.0.2 copied to clipboard

Gradient Colored Slider

Gradient Colored Slider #

Gradient Colored Slider.

Used to select from a range of values.

You can customize slider track gradient colors, as well as tracks bar width and bar space.

Preview #

How it's built #

Check the Blog Post

Usage #

  double _currentSliderValue = 0.5;

  @override
  Widget build(BuildContext context) {
    return GradientColoredSlider(
      value: _currentSliderValue,
      onChanged: (double value) {
       setState(() {
         _currentSliderValue = value;
       });
     },
    );
  }
copied to clipboard
17
likes
140
points
184
downloads

Publisher

verified publisherkirn.tech

Weekly Downloads

2024.08.05 - 2025.02.17

Gradient Colored Slider

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on gradient_colored_slider