DateRangePickerNavigationMode enum Null safety

A type specifies how the date picker navigation interaction works.

See also:


none → const DateRangePickerNavigationMode

Disables the next or previous view dates to be shown by scrolling or swipe interaction in SfDateRangePicker and SfHijriDateRangePicker.

It will not impact DateRangePickerController.forward(), DateRangePickerController.backward() and showNavigationArrow.

const DateRangePickerNavigationMode(0)
scroll → const DateRangePickerNavigationMode

Enable free-scrolling based on SfDateRangePicker's navigation direction.

Note: 1.Swipe selection is not supported when range and multi-range are the selection modes. 2.onViewChanged will be called when the view reaches the starting position of the date range picker view. 3.DateRangePickerController.forward(), DateRangePickerController.backward() and showNavigationArrow is not supported.

  1. viewSpacing value not applicable when enableMultiView enabled for scroll mode.
  2. textAlign in picker header style is not supported on horizontal navigation direction.
  3. header view background color changed to white on light theme or grey850 on dark theme when backgroundColor in DateRangePickerHeaderStyle is transparent.
const DateRangePickerNavigationMode(2)
snap → const DateRangePickerNavigationMode

Allows navigating to previous/next views through swipe interaction in SfDateRangePicker and SfHijriDateRangePicker.

const DateRangePickerNavigationMode(1)
values → const List<DateRangePickerNavigationMode>

A constant List of the values in this enum, in order of their declaration.

const List<DateRangePickerNavigationMode>


hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]