boeledi / RangeSlider

RangeSlider Widget for Flutter
Other
374 stars 66 forks source link

Possibility to always show labels (not only on moving) #33

Open chamartt opened 3 years ago

chamartt commented 3 years ago

Hi Didier,

Is it possible to always show the label with the min/max values on top of cursor. Currently for me with : SliderTheme( data: SliderTheme.of(context).copyWith( trackHeight: 5.0, showValueIndicator: ShowValueIndicator.always), child: frs.RangeSlider( min: 1, max: 5, lowerValue: _lowerValue, upperValue: _upperValue, showValueIndicator: true, valueIndicatorMaxDecimals: 2, // divisions: 50, onChanged: (double newLowerValue, double newUpperValue) {}, onChangeEnd: (double newLowerValue, double newUpperValue) { setState(() { _lowerValue = newLowerValue; _upperValue = newUpperValue; }); }, )),

the labels are displayed only when I move the cursor.

I would like to show these labels everytime.

Thank you for your help.

Hasankanso commented 3 years ago

me too I'm looking for this feature!

studentwater1 commented 1 year ago

Hi! Did someone find a solution for showing the label always?