DateRangePickerNavigationMode enum
A type specifies how the date picker navigation interaction works.
See also:
- DateRangePickerNavigationDirection, which allows to navigate through date picker views with different modes.
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() andshowNavigationArrow
is not supported. 4.viewSpacing
value not applicable whenenableMultiView
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 whenbackgroundColor
in DateRangePickerHeaderStyle is transparent.
Properties
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.