todayHighlightColor property
Color that highlights the today date cell in SfHijriDateRangePicker.
Allows to change the color that highlights the today date cell border in month, year and decade view in date range picker.
Defaults to null.
See also:
SfDateRangePickerThemeData
, to handle theming with hijri date range picker for giving consistent look.- monthCellStyle, which allows to customize the month cells in the hijri date range picker.
- yearCellStyle, which allows to customize the year cells in the hijri date range picker.
- Knowledge base: How to style the current month date cell
- Knowledge base: How to style the year, decade and century views
- Knowledge base: How to use hijri date picker
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: SfHijriDateRangePicker(
view: HijriDatePickerView.month,
todayHighlightColor: Colors.red,
showNavigationArrow: true,
),
),
);
}
Implementation
final Color? todayHighlightColor;