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.
onViewChangedwill be called when the view reaches the starting position of the date range picker view. 3.DateRangePickerController.forward(), DateRangePickerController.backward() andshowNavigationArrowis not supported. 4.viewSpacingvalue not applicable whenenableMultiViewenabled for scroll mode. 5.textAlignin picker header style is not supported on horizontal navigation direction. 6. header view background color changed to white on light theme or grey850on dark theme whenbackgroundColorin 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
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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.