GoogleMapStateBase class abstract

Inheritance
Implemented types
Implementers

Constructors

GoogleMapStateBase()

Properties

center FutureOr<GeoCoord>
Gets center coordinates of the map.
no setterinherited
context BuildContext
The location in the tree where this widget builds.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
mounted bool
Whether this State object is currently in a tree.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
widget GoogleMapCross
The current configuration.
no setterinherited

Methods

activate() → void
Called when this object is reinserted into the tree after having been removed via deactivate.
inherited
addCircle(String id, GeoCoord center, double radius, {ValueChanged<String> onTap, Color strokeColor = const Color(0x000000), double strokeOpacity = 0.8, double strokeWidth = 1, Color fillColor = const Color(0x000000), double fillOpacity = 0.35}) → void
Adds a circle to the map by given id, center and radius.
inherited
addDirection(dynamic origin, dynamic destination, {String startLabel, String startIcon, String startInfo, String endLabel, String endIcon, String endInfo}) → void
Adds a direction to the map by given origin and destination coordinates.
inherited
addMarker(Marker marker) → void
Adds a marker to the map by given position.
inherited
addMarkerRaw(GeoCoord position, {String label, String icon, String info, String infoSnippet, ValueChanged<String> onTap, VoidCallback onInfoWindowTap}) → void
Adds a marker to the map by given position.
inherited
addPolygon(String id, Iterable<GeoCoord> points, {ValueChanged<String> onTap, Color strokeColor = const Color(0x000000), double strokeOpacity = 0.8, double strokeWidth = 1, Color fillColor = const Color(0x000000), double fillOpacity = 0.35}) → void
Adds a polygon to the map by given id and points.
inherited
build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
inherited
changeMapStyle({bool waitUntilReady = true}) → void
inherited
clearCircles() → void
Removes all circles from the map.
inherited
clearDirections() → void
Removes all directions from the map.
inherited
clearMarkers() → void
Removes all markers from the map.
inherited
clearPolygons() → void
Removes all polygones from the map.
inherited
deactivate() → void
Called when this object is removed from the tree.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
didChangeDependencies() → void
Called when a dependency of this State object changes.
inherited
didUpdateWidget(covariant GoogleMapCross oldWidget) → void
Called whenever the widget configuration changes.
inherited
dispose() → void
Called when this object is removed from the tree permanently.
inherited
editCircle(String id, GeoCoord center, double radius, {ValueChanged<String> onTap, Color strokeColor = const Color(0x000000), double strokeOpacity = 0.8, double strokeWidth = 1, Color fillColor = const Color(0x000000), double fillOpacity = 0.35}) → void
Removes and then adds a circles to the map by given id, center and radius.
inherited
editPolygon(String id, Iterable<GeoCoord> points, {ValueChanged<String> onTap, Color strokeColor = const Color(0x000000), double strokeOpacity = 0.8, double strokeWeight = 1, Color fillColor = const Color(0x000000), double fillOpacity = 0.35}) → void
Removes and then adds a polygon to the map by given id and points.
inherited
fixAssetPath(String icon) String
initState() → void
Called when this object is inserted into the tree.
inherited
moveCamera(GeoCoord latLng, {bool animated = true, bool waitUntilReady = true, required double zoom}) → void
Moves camera to the new coordinates.
inherited
moveCameraBounds(GeoCoordBounds newBounds, {double padding = 0, bool animated = true, bool waitUntilReady = true}) → void
Moves camera to the new bounds.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reassemble() → void
Called whenever the application is reassembled during debugging, for example during hot reload.
inherited
removeCircle(String id) → void
Removes a circle from the map by given id.
inherited
removeDirection(dynamic origin, dynamic destination) → void
Removes a direction from the map by given origin and destination coordinates.
inherited
removeMarker(GeoCoord position) → void
Removes a marker from the map by given position.
inherited
removePolygon(String id) → void
Removes a polygon from the map by given id.
inherited
setState(VoidCallback fn) → void
Notify the framework that the internal state of this object has changed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited
zoomCamera(double zoom, {bool animated = true, bool waitUntilReady = true}) → void
Sets new camera zoom.
inherited

Operators

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