buildView method

Widget buildView(
  1. int creationId,
  2. PlatformViewCreatedCallback onPlatformViewCreated, {
  3. required CameraPosition initialCameraPosition,
  4. Set<Marker> markers = const <Marker>{},
  5. Set<Polygon> polygons = const <Polygon>{},
  6. Set<Polyline> polylines = const <Polyline>{},
  7. Set<Circle> circles = const <Circle>{},
  8. Set<TileOverlay> tileOverlays = const <TileOverlay>{},
  9. Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers = const <Factory<OneSequenceGestureRecognizer>>{},
  10. Map<String, dynamic> mapOptions = const <String, dynamic>{},
})
inherited

Returns a widget displaying the map view - deprecated, use buildViewWithConfiguration instead.

Implementation

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.');
}