showWeekNumber property Null safety

bool showWeekNumber

Used to displays the week number of the year in the month view of the SfHijriDateRangePicker.

In the month view, it is displayed at the the left side of the month view as a separate column in the SfHijriDateRangePicker.

Defaults to false

see also:

  • weekNumberStyle, which used to customize the week number view of the month view in the hijri date range picker.
  • firstDayOfWeek, which used to customize the start day of the week in month view of hijri date range picker.
Widget build(BuildContext context) {
  return Scaffold(
    body: SfHijriDateRangePicker(
      view: HijriDatePickerView.month,
      monthViewSettings: const HijriDatePickerMonthViewSettings(
      showWeekNumber: true,


final bool showWeekNumber;