minorTickSize property

Size? minorTickSize
final

Specifies the size for the minor ticks in the SfSlider, SfRangeSlider, and SfRangeSelector.

Minor ticks represents the number of smaller ticks between 2 major ticks.

Defaults to Size(1.0, 5.0).

This snippet shows how to set minor tick size in SfRangeSliderThemeData.

SfRangeValues _values = SfRangeValues(4.0, 8.0);

Scaffold(
    body: Center(
        child: SfRangeSliderTheme(
            data: SfRangeSliderThemeData(
                minorTickSize: Size(3.0, 8.0),
            ),
            child:  SfRangeSlider(
                min: 2.0,
                max: 10.0,
                interval: 2,
                minorTicksPerInterval: 1,
                showTicks: true,
                values: _values,
                onChanged: (SfRangeValues newValues){
                    setState(() {
                        _values = newValues;
                    });
                },
           )
       ),
   )
)

Implementation

final Size? minorTickSize;