Universe constructor
const
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 [],
Implementation
const Universe({
Key? key,
required this.options,
this.controller,
this.background,
this.base,
this.markers,
this.circles,
this.polylines,
this.polygons,
this.rectangles,
this.tiles = const [],
this.images = const [],
this.videos = const [],
this.layers = const <MapLayer>[],
this.controls = const [],
}) : super(key: key);