HijriDatePickerMonthViewSettings constructor

const HijriDatePickerMonthViewSettings({
  1. int firstDayOfWeek = 7,
  2. String dayFormat = 'EE',
  3. double viewHeaderHeight = 30,
  4. DateRangePickerViewHeaderStyle viewHeaderStyle = const DateRangePickerViewHeaderStyle(),
  5. bool enableSwipeSelection = true,
  6. List<HijriDateTime>? blackoutDates,
  7. List<HijriDateTime>? specialDates,
  8. bool showWeekNumber = false,
  9. DateRangePickerWeekNumberStyle weekNumberStyle = const DateRangePickerWeekNumberStyle(),
  10. 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);