ViewModel class Null safety

Constructors

ViewModel({ContextMenuBuilder? contextMenuBuilder, required DisplayModel displayModel, NoPositionView? noPositionView})

Properties

contextMenuBuilder ContextMenuBuilder?
read / write
displayModel DisplayModel
final
hashCode int
The hash code for this object. [...]
read-only, inherited
mapViewPosition MapViewPosition?
read-only
noPositionView NoPositionView?
read / write
observeGesture Stream<GestureEvent>
read-only
observePosition Stream<MapViewPosition>
read-only
observeTap Stream<TapEvent>
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
viewDimension → Dimension?
read-only

Methods

dispose() → void
gestureEvent() → void
indoorLevelDown() → void
indoorLevelUp() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setIndoorLevel(int indoorLevel) MapViewPosition
setLeftUpper(double left, double upper) → void
setMapViewPosition(double latitude, double longitude) → void
setScale(Mappoint focalPoint, double scale) MapViewPosition?
sets the new scale relative to the current zoomlevel. A scale of 1 means no action, 0..1 means zoom-out (you will see more area on screen since at pinch-to-zoom the fingers are moved towards each other) [...]
setViewDimension(double width, double height) → Dimension?
setZoomLevel(int zoomLevel) MapViewPosition
tapEvent(double left, double upper) → void
toString() String
A string representation of this object. [...]
inherited
zoomIn() → void
zoomInAround(double latitude, double longitude) → void
zoomOut() → void

Operators

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