startThumbIcon property

Widget? startThumbIcon
final

Sets the widget inside the left thumb.

Defaults to null.

It is possible to set any widget inside the left thumb. If the widget exceeds the size of the thumb, increase the SfSliderThemeData.thumbRadius based on it.

This snippet shows how to show start thumb icon in SfRangeSelector.

SfRangeValues _initialValues = SfRangeValues(4.0, 8.0);

SfRangeSelector(
  min: 0.0,
  max: 10.0,
  initialValues: _initialValues,
  interval: 1,
  showTicks: true,
  showLabels: true,
  enableTooltip: true,
  child: Container(
      height: 200,
      color: Colors.green[100],
   ),
  startThumbIcon:  Icon(
      Icons.home,
      color: Colors.green,
      size: 20.0,
  ),
)

See also:

Implementation

final Widget? startThumbIcon;