tooltipShape property

SfTooltipShape tooltipShape
final

Renders rectangular or paddle shape tooltip.

Defaults to SfRectangularTooltipShape

double _value = 40.0;

SfSlider(
 min: 0.0,
 max: 100.0,
 value: _value,
 showLabels: true,
 showTicks: true,
 interval: 20,
 enableTooltip: true,
 tooltipShape: SfPaddleTooltipShape(),
 onChanged: (dynamic newValue) {
   setState(() {
     _value = newValue;
   });
 },
)

Implementation

final SfTooltipShape tooltipShape;