activeRegionColor property

Color? activeRegionColor
final

Specifies the color for the active region of the child in the SfRangeSelector.

The active side of the SfRangeSlider and SfRangeSelector is between start and end thumbs.

This snippet shows how to set active region color in SfRangeSliderThemeData.

SfRangeValues _values = SfRangeValues(4.0, 8.0);

Scaffold(
    body: Center(
        child: SfRangeSelectorTheme(
            data: SfRangeSliderThemeData(
                activeRegionColor: Colors.blue[200],
            ),
            child:  SfRangeSelector(
               min: 2.0,
               max: 10.0,
               interval: 1,
               showLabels: true,
               showTicks: true,
               initialValues: _values,
               child: Container(
                  height: 200,
                  color: Colors.pink,
               ),
           )
       ),
   )
)

Implementation

final Color? activeRegionColor;