startRangeSelectionColor property
Specify the date picker start date of selected range background color in month view when selection mode as range/multi-range selection.
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
body: Center(
child: SfTheme(
data: SfThemeData(
dateRangePickerThemeData: SfDateRangePickerThemeData(
startRangeSelectionColor: Colors.green
)
),
child: SfDateRangePicker(),
),
)
);
}
Implementation
final Color? startRangeSelectionColor;