viewHeaderHeight property
The height of the view header to the layout within this in month view of SfHijriDateRangePicker.
Defaults to 30
.
See also:
- viewHeaderStyle, which used to customize the view header view of the month view in hijri date range picker.
- dayFormat, which is used to customize the format of the view header text in the month view of hijri date range picker.
- SfHijriDateRangePicker.todayHighlightColor, which highlights the today date cell in the hijri 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.range,
monthViewSettings:
HijriDatePickerMonthViewSettings(viewHeaderHeight: 50),
),
),
);
}
Implementation
final double viewHeaderHeight;