buildView method
- @Deprecated('Use buildViewWithConfiguration instead.')
- 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<
Factory< ? gestureRecognizers = const <Factory<OneSequenceGestureRecognizer>>{},OneSequenceGestureRecognizer> > - Map<
String, dynamic> mapOptions = const <String, dynamic>{},
Returns a widget displaying the map view.
Implementation
@Deprecated('Use buildViewWithConfiguration instead.')
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<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers =
const <Factory<OneSequenceGestureRecognizer>>{},
// TODO(stuartmorgan): Replace with a structured type that's part of the
// interface. See https://github.com/flutter/flutter/issues/70330.
Map<String, dynamic> mapOptions = const <String, dynamic>{},
}) {
throw UnimplementedError('buildView() has not been implemented.');
}