showLabels property

bool showLabels
final

Option to render the labels on given interval.

Defaults to false.

This snippet shows how to show labels in SfRangeSlider.

SfRangeValues _values = SfRangeValues(4.0, 8.0);

SfRangeSlider(
  min: 0.0,
  max: 10.0,
  values: _values,
  interval: 1,
  showLabels: true,
  onChanged: (SfRangeValues newValues) {
    setState(() {
      _values = newValues;
    });
   },
)

See also:

Implementation

final bool showLabels;