Flutter - How to keep slider label visible?

Viewed 850

I have a simple slider:

Slider(
  inactiveColor: PrimaryColor(),
  activeColor: AccentColor(),
  min: 5,
  max: 20,
  value: myValue,
  onChanged: (newValue){
    setState(() {
     myValue = newValue;
    });
  },
  divisions: 3,
  label: "$myValue",
),

When you drag the slider you can see the label, indicating your current value. But when you stop dragging it, the label is no longer visible.

Is there a way how to make the label visible, even when you're not dragging the slider?

0 Answers
Related