Universe class

Main class of Map Universe

Inheritance

Constructors

Universe({Key? key, required MapOptions options, MapController? controller, Color? background, TileLayer? base, MarkerLayer? markers, CircleLayer? circles, PolylineLayer? polylines, PolygonLayer? polygons, RectangleLayer? rectangles, List<TileLayer> tiles = const [], List<ImageOverlay> images = const [], List<VideoOverlay> videos = const [], List<MapLayer> layers = const <MapLayer>[], List<Widget> controls = const []})
const

Properties

background Color?
Background color of this map.
final
base TileLayer?
Base tile layer of this map.
final
circles CircleLayer?
List circles to show on this map.
final
controller MapController?
Map controller
final
controls List<Widget>
List of additional custom controls to show on this map.
final
hasBase bool
Has base tile layer.
no setter
hasCircles bool
Has list circles.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasImages bool
Has image overlays.
no setter
hasLayers bool
Has additional custom layers.
no setter
hasMarkers bool
Has markers.
no setter
hasPolygons bool
Has list polygons.
no setter
hasPolylines bool
Has list polylines.
no setter
hasRectangles bool
Has list rectangles.
no setter
hasTiles bool
Has additional tile layers.
no setter
hasVideos bool
Has video overlays.
no setter
images List<ImageOverlay>
List image overlays to show on this map.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
layers List<MapLayer>
List of additional custom layers to show on this map.
final
markers MarkerLayer?
List markers to show on this map.
final
options MapOptions
Map options
final
polygons PolygonLayer?
List polygons to show on this map.
final
polylines PolylineLayer?
List polylines to show on this map.
final
rectangles RectangleLayer?
List rectangles to show on this map.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tiles List<TileLayer>
List of additional tile layers to show on this map.
final
videos List<VideoOverlay>
List video overlays to show on this map.
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
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
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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