navigationDirection property

DateRangePickerNavigationDirection navigationDirection
final

The direction that SfDateRangePicker is navigating in.

If it this property set as DateRangePickerNavigationDirection.vertical the SfDateRangePicker 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: SfDateRangePicker(
         view: DateRangePickerView.month,
         selectionMode: DateRangePickerSelectionMode.multiple,
         showNavigationArrow: true,
         navigationDirection: DateRangePickerNavigationDirection.vertical,
       ),
     ),
   );
 }

Implementation

final DateRangePickerNavigationDirection navigationDirection;