const

StandardMessageCodec

(),

);

return

Text

$defaultTargetPlatform

is not yet supported by the maps plugin'

);

Communicating with the native code underlying the AndroidView or UiKitView
typically occurs using the platform channels mechanism, as previously described.

At present, platform views aren’t available for desktop platforms, but this is
not an architectural limitation; support might be added in the future.

Hosting Flutter content in a parent app

The converse of the preceding scenario is embedding a Flutter widget in an
existing Android or iOS app. As described in an earlier section, a newly created
Flutter app running on a mobile device is hosted in an Android activity or iOS
UIViewController. Flutter content can be embedded into an existing Android or
iOS app using the same embedding API.