showLabels property Null safety

bool showLabels
final

Option to render the labels on given interval.

Defaults to false.

This snippet shows how to show labels in SfRangeSelector.

SfRangeValues _initialValues = SfRangeValues(4.0, 8.0);

SfRangeSelector(
  min: 0.0,
  max: 10.0,
  initialValues: _initialValues,
  interval: 1,
  showLabels: true,
  child: Container(
      height: 200,
      color: Colors.green[100],
   ),
)

See also:

Implementation

final bool showLabels;