allowViewNavigation property Null safety

bool allowViewNavigation
final

Used to enable or disable the view switching between HijriDatePickerView through interaction in the SfHijriDateRangePicker header.

Selection is allowed for year and decade views when the allowViewNavigation property is false. Otherwise, year and decade views are allowed only for view navigation.

Defaults to true.

See also:


Widget build(BuildContext context) {
   return MaterialApp(
     home: Scaffold(
       body: SfHijriDateRangePicker(
         allowViewNavigation: false,
      ),
     ),
   );
 }

Implementation

final bool allowViewNavigation;