inactiveTrackHeight property

double inactiveTrackHeight
final

Specifies the height for the inactive track in the SfSlider, SfRangeSlider, and SfRangeSelector.

Defaults to 2.0.

This snippet shows how to set inactive height in SfRangeSliderThemeData.

SfRangeValues _values = SfRangeValues(4.0, 7.0);

Scaffold(
  body: Center(
      child: SfRangeSliderTheme(
          data: SfRangeSliderThemeData(
              inactiveTrackHeight: 8,
          ),
          child:  SfRangeSlider(
              min: 2.0,
              max: 10.0,
              values: _values,
              onChanged: (SfRangeValues newValues){
                  setState(() {
                      _values = newValues;
                  });
              },
          )
      ),
   )
)

Implementation

final double inactiveTrackHeight;