view property
Defines the view for the SfHijriDateRangePicker.
Default to HijriDatePickerView.month.
Note: If the controller and it's controller.view property is not
 null, then this property will be ignored and widget will display the view
 described in controller.view property.
Also refer HijriDatePickerView.
See also:
- HijriDatePickerView, to know more about the available views in the hijri date range picker.
- HijriDatePickerController.view, which used to changed the view of hijri date range picker dynamically.
- allowViewNavigation, which allows to navigate to different hijri date range picker views quick and easily by tapping on the header.
- How to switch between the date range picker views when calendar has appointments
- Knowledge base: How to use hijri date picker
Widget build(BuildContext context) {
   return MaterialApp(
     home: Scaffold(
       body: SfHijriDateRangePicker(
         view: HijriDatePickerView.year,
         minDate: HijriDateTime(1440, 02, 05),
         maxDate: HijriDateTime(1450, 12, 06),
       ),
     ),
   );
 }
Implementation
final HijriDatePickerView view;