ronyboy je napisao:
Platform embedder is the native OS app that hosts all Flutter content and acts as the glue between Flutter and the host OS. The embedder is responsible for creating a Flutter application, providing the entrypoint and initializing the Flutter engine. It also obtains threads and rastering threads and creates a texture Flutter can use.
This is a simple way to communicate between Dart code and your host app's platform-specific code. You can send and get messages between Dart (encapsulating both a name or a codec) and a platform component written using a language such as Swift or Kotlin by creating a common channel flutter app development
Data is serialized from Dart types like Map into a standard format and then deserialized to an equivalent representation in Swift (such As Dictionary) or Kotlin.