initialDisplayDate property

HijriDateTime initialDisplayDate
final

The initial date to show on the SfHijriDateRangePicker

The SfHijriDateRangePicker will display the dates based on the date set in this property.

Defaults to current date.

Note: If the controller and it's controller.displayDate property is not null then this property will be ignored and the widget render the dates based on the date given in controller.displayDate.

See also:


Widget build(BuildContext context) {
   return MaterialApp(
     home: Scaffold(
       body: SfHijriDateRangePicker(
         view: HijriDatePickerView.month,
         initialDisplayDate: HijriDateTime(1450, 02, 05),
       ),
     ),
   );
 }

Implementation

final HijriDateTime initialDisplayDate;