Universe constructor

const Universe({
  1. Key? key,
  2. required MapOptions options,
  3. MapController? controller,
  4. Color? background,
  5. TileLayer? base,
  6. MarkerLayer? markers,
  7. CircleLayer? circles,
  8. PolylineLayer? polylines,
  9. PolygonLayer? polygons,
  10. RectangleLayer? rectangles,
  11. List<TileLayer> tiles = const [],
  12. List<ImageOverlay> images = const [],
  13. List<VideoOverlay> videos = const [],
  14. List<MapLayer> layers = const <MapLayer>[],
  15. 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);