trackCornerRadius property

double? trackCornerRadius
final

Specifies the radius for the track corners in the SfSlider, SfRangeSlider, and SfRangeSelector.

This snippet shows how to set track corner radius in SfRangeSliderThemeData.

SfRangeValues _values = SfRangeValues(4.0, 8.0);

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

Implementation

final double? trackCornerRadius;