minDate property

HijriDateTime minDate
final

The minimum date as much as the SfHijriDateRangePicker will navigate.

The SfHijriDateRangePicker widget will navigate as minimum as to the given date, and the dates before that date will be disabled for interaction and navigation to those dates were restricted.

Defaults to 1st Muharram of 1356.

Note: If the initialDisplayDate or controller.displayDate property set with the date prior to this date, the SfHijriDateRangePicker will take this min date as a display date and render dates based on the date set to this property.

See also:


Widget build(BuildContext context) {
   return MaterialApp(
     home: Scaffold(
       body: SfHijriDateRangePicker(
         view: HijriDatePickerView.month,
         minDate: HijriDateTime(1440, 01, 01),
       ),
     ),
   );
 }

Implementation

final HijriDateTime minDate;