MPFloorSelectorInterface class abstract

Interface used by MapsIndoors to communicate with floor selector UIs

Constructors

MPFloorSelectorInterface()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getWidget() Widget?
A floor selector must be a Widget
isAutoFloorChangeEnabled() bool
Whether to allow the floor to automatically change, eg. when panning to a new building
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setFloors(List<MPFloor>? floors) → void
Update the floors shown in the selector
setOnFloorSelectionChangedListener(OnFloorSelectionChangedListener listener) → void
Set a listener that listens for when a floor is selected in the floor selector
setSelectedFloor(MPFloor floor) → void
Invoked when a floor has been selected programmatically
setSelectedFloorByFloorIndex(int floorIndex) → void
Invoked when a floor has been selected programmatically by index
setUserPositionFloor(int floorIndex) → void
Invoked when user positioning changes floorIndex
show(bool show) → void
Show/Hide the floor selector, this is called when a building comes into/out of view
toString() String
A string representation of this object.
inherited
zoomLevelChanged(num newZoomLevel) → void
Invoked when the zoom level changes

Operators

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