dayFormat property
Formats a text in the SfHijriDateRangePicker month view view header.
Text format in the SfHijriDateRangePicker month view view header.
Defaults to EE
.
See also:
- viewHeaderStyle, which used to customize the view header view of the hijri date range picker.
- SfHijriDateRangePicker.backgroundColor, which fills the background of the hijri date range picker.
- SfHijriDateRangePicker.todayHighlightColor, which highlights the today date in the hijri date range picker.
- viewHeaderHeight, which is the size for the view header view in the month view of date range picker.
- Knowledge base: How to replace the view header with the custom widget
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: SfHijriDateRangePicker(
controller: _pickerController,
view: HijriDatePickerView.month,
selectionMode: DateRangePickerSelectionMode.single,
monthViewSettings: HijriDatePickerMonthViewSettings(
dayFormat: 'EEE'),
),
),
);
}
Implementation
final String dayFormat;