MapEventSource enum
Event sources which are used to identify different types of MapEvent events
Values
- mapController → const MapEventSource
-
The MapEvent is caused programmatically by the MapController.
- tap → const MapEventSource
-
The MapEvent is caused by a tap gesture.
- secondaryTap → const MapEventSource
-
The MapEvent is caused by a secondary tap gesture.
- longPress → const MapEventSource
-
The MapEvent is caused by a long press gesture.
- doubleTap → const MapEventSource
-
The MapEvent is caused by a double tap gesture.
- doubleTapHold → const MapEventSource
-
The MapEvent is caused by a double tap and hold gesture.
- dragStart → const MapEventSource
-
The MapEvent is caused by the start of a drag gesture.
- onDrag → const MapEventSource
-
The MapEvent is caused by a drag update gesture.
- dragEnd → const MapEventSource
-
The MapEvent is caused by the end of a drag gesture.
- multiFingerGestureStart → const MapEventSource
-
The MapEvent is caused by the start of a two finger gesture.
- onMultiFinger → const MapEventSource
-
The MapEvent is caused by a two finger gesture update.
- multiFingerEnd → const MapEventSource
-
The MapEvent is caused by a the end of a two finger gesture.
- flingAnimationController → const MapEventSource
-
The MapEvent is caused by the AnimationController while performing the fling gesture.
- doubleTapZoomAnimationController → const MapEventSource
-
The MapEvent is caused by the AnimationController while performing the double tap zoom in animation.
- interactiveFlagsChanged → const MapEventSource
-
The MapEvent is caused by a change of the interactive flags.
- fitCamera → const MapEventSource
-
The MapEvent is caused by calling fitCamera.
- custom → const MapEventSource
-
The MapEvent is caused by a custom source.
- scrollWheel → const MapEventSource
-
The MapEvent is caused by a scroll wheel zoom gesture.
- nonRotatedSizeChange → const MapEventSource
-
The MapEvent is caused by a size change of the FlutterMap constraints.
- cursorKeyboardRotation → const MapEventSource
-
The MapEvent is caused by a CTRL + drag rotation gesture.
- keyboard → const MapEventSource
-
The MapEvent is caused a keyboard key (see KeyboardOptions)
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<
MapEventSource> - A constant List of the values in this enum, in order of their declaration.