DateRangePickerNavigationMode enum

A type specifies how the date picker navigation interaction works.

See also:

Inheritance
Available extensions

Values

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.

snap → const DateRangePickerNavigationMode

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

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. 4. viewSpacing value not applicable when enableMultiView enabled for scroll mode. 5. textAlign in picker header style is not supported on horizontal navigation direction. 6. header view background color changed to white on light theme or grey850 on dark theme when backgroundColor in DateRangePickerHeaderStyle is transparent.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<DateRangePickerNavigationMode>
A constant List of the values in this enum, in order of their declaration.