buildView method
Widget
buildView(
- int creationId,
- PlatformViewCreatedCallback onPlatformViewCreated, {
- required CameraPosition initialCameraPosition,
- Set<
Marker> markers = const <Marker>{}, - Set<
Polygon> polygons = const <Polygon>{}, - Set<
Polyline> polylines = const <Polyline>{}, - Set<
Circle> circles = const <Circle>{}, - Set<
TileOverlay> tileOverlays = const <TileOverlay>{}, - Set<
ClusterManager> clusterManagers = const <ClusterManager>{}, - Set<
Factory< ? gestureRecognizers,OneSequenceGestureRecognizer> > - Map<
String, dynamic> mapOptions = const <String, dynamic>{},
override
Returns a widget displaying the map view.
Implementation
@override
Widget buildView(
int creationId,
PlatformViewCreatedCallback onPlatformViewCreated, {
required CameraPosition initialCameraPosition,
Set<Marker> markers = const <Marker>{},
Set<Polygon> polygons = const <Polygon>{},
Set<Polyline> polylines = const <Polyline>{},
Set<Circle> circles = const <Circle>{},
Set<TileOverlay> tileOverlays = const <TileOverlay>{},
Set<ClusterManager> clusterManagers = const <ClusterManager>{},
Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers,
Map<String, dynamic> mapOptions = const <String, dynamic>{},
}) {
return buildViewWithTextDirection(
creationId,
onPlatformViewCreated,
initialCameraPosition: initialCameraPosition,
textDirection: TextDirection.ltr,
markers: markers,
polygons: polygons,
polylines: polylines,
circles: circles,
tileOverlays: tileOverlays,
clusterManagers: clusterManagers,
gestureRecognizers: gestureRecognizers,
mapOptions: mapOptions,
);
}