HijriDatePickerMonthViewSettings constructor
const
HijriDatePickerMonthViewSettings({
- int firstDayOfWeek = 7,
- String dayFormat = 'EE',
- double viewHeaderHeight = 30,
- DateRangePickerViewHeaderStyle viewHeaderStyle = const DateRangePickerViewHeaderStyle(),
- bool enableSwipeSelection = true,
- List<
HijriDateTime> ? blackoutDates, - List<
HijriDateTime> ? specialDates, - bool showWeekNumber = false,
- DateRangePickerWeekNumberStyle weekNumberStyle = const DateRangePickerWeekNumberStyle(),
- List<
int> weekendDays = const <int>[6, 7],
Creates a date range picker month view settings for date range picker.
The properties allows to customize the month view of SfHijriDateRangePicker.
Implementation
const HijriDatePickerMonthViewSettings(
{this.firstDayOfWeek = 7,
this.dayFormat = 'EE',
this.viewHeaderHeight = 30,
this.viewHeaderStyle = const DateRangePickerViewHeaderStyle(),
this.enableSwipeSelection = true,
this.blackoutDates,
this.specialDates,
this.showWeekNumber = false,
this.weekNumberStyle = const DateRangePickerWeekNumberStyle(),
this.weekendDays = const <int>[6, 7]})
: assert(firstDayOfWeek >= 1 && firstDayOfWeek <= 7),
assert(viewHeaderHeight >= -1);