shouldAlwaysShowTooltip property

bool shouldAlwaysShowTooltip

Option to show tooltip always in slider.

Defaults to false.

When this property is enabled, the tooltip is always displayed to the start and end thumbs of the selector. This property works independent of the enableTooltip property. While this property is enabled, the tooltip will always appear during interaction.

This snippet shows how to show the tooltip in the SfSlider.

double _value = 4.0;

Widget build(BuildContext context) {
  return Scaffold(
    body: SfSlider(
      min: 0,
      max: 10,
      value: _value,
      shouldAlwaysShowTooltip: true,
      onChanged: (dynamic newValue) {
        setState(() {
          _value = newValue;


final bool shouldAlwaysShowTooltip;