view property

HijriDatePickerView view
final

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:

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;