viewHeaderBackgroundColor property
Specify the view header background color in month view.
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
body: Center(
child: SfTheme(
data: SfThemeData(
dateRangePickerThemeData: SfDateRangePickerThemeData(
viewHeaderBackgroundColor: Colors.purpleAccent
)
),
child: SfDateRangePicker(),
),
)
);
}
Implementation
final Color? viewHeaderBackgroundColor;