A Custom Multi Slider for Flutter

You are currently viewing A Custom Multi Slider for Flutter
Multi Slider

A Custom Multi Slider for Flutter

A custom Slider which accepts a list of ordered values. It’s meant to be as simple as the original Slider!

UI with it

Multi Slider
Multi Slider

Usages

Continuous slider.

MultiSlider(
    values: _myList,
    onChanged: (values) => setState(()=> _myList = values),
),

Discrete slider.

MultiSlider(
    values: _myList,
    onChanged: (values) => setState(()=> _myList = values),
    divisions: 10,
),

With custom trace pattern.

MultiSlider(
    values: _myList,
    onChanged: (values) => setState(()=> _myList = values),
    valueRangePainterCallback: (range) => range.index % 2 == 1,
),

Credit

This is developed by sthefanoss
Download this project from the below link.
https://github.com/sthefanoss/flutter_multi_slider/archive/refs/heads/main.zip
You can visit original source page from the below link:
https://github.com/sthefanoss/flutter_multi_slider

Spread the love
See also  A flutter plugin for music playback, including notification handling

Leave a Reply