buildViewWithConfiguration method
Widget
buildViewWithConfiguration(
- int creationId,
- PlatformViewCreatedCallback onPlatformViewCreated, {
- required MapWidgetConfiguration widgetConfiguration,
- MapConfiguration mapConfiguration = const MapConfiguration(),
- MapObjects mapObjects = const MapObjects(),
override
Returns a widget displaying the map view.
Implementation
@override
Widget buildViewWithConfiguration(
int creationId,
PlatformViewCreatedCallback onPlatformViewCreated, {
required MapWidgetConfiguration widgetConfiguration,
MapConfiguration mapConfiguration = const MapConfiguration(),
MapObjects mapObjects = const MapObjects(),
}) {
return _buildView(
creationId,
onPlatformViewCreated,
widgetConfiguration: widgetConfiguration,
mapObjects: mapObjects,
mapOptions: jsonForMapConfiguration(mapConfiguration),
);
}