backgroundColor property
The color to fill the background of the SfHijriDateRangePicker.
Defaults to null.
See also:
SfDateRangePickerThemeData
, to handle theming with hijri date range picker for giving consistent look.- Knowledge base: How to add an image as background
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: SfHijriDateRangePicker(
view: HijriDatePickerView.month,
todayHighlightColor: Colors.red,
backgroundColor: Colors.cyanAccent,
),
),
);
}
Implementation
final Color? backgroundColor;