navigationDirection property

DateRangePickerNavigationDirection navigationDirection
final

The direction that SfHijriDateRangePicker is navigating in.

If it this property set as DateRangePickerNavigationDirection.vertical the SfHijriDateRangePicker will navigate to the previous/next views in the vertical direction instead of the horizontal direction.

Defaults to DateRangePickerNavigationDirection.horizontal.

See also:


Widget build(BuildContext context) {
   return MaterialApp(
     home: Scaffold(
       body: SfHijriDateRangePicker(
         view: HijriDatePickerView.month,
         selectionMode: DateRangePickerSelectionMode.multiple,
         showNavigationArrow: true,
         navigationDirection: DateRangePickerNavigationDirection.vertical,
       ),
     ),
   );
 }

Implementation

final DateRangePickerNavigationDirection navigationDirection;