selectionColor property
Specify the date picker selected dates background color in month view single and multiple selection.
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
body: Center(
child: SfTheme(
data: SfThemeData(
dateRangePickerThemeData: SfDateRangePickerThemeData(
selectionColor: Colors.pinkAccent
)
),
child: SfDateRangePicker(),
),
)
);
}
Implementation
final Color? selectionColor;