September 2019
Beginner
512 pages
12h 52m
English
Flutter communication between the client (Flutter) and the host (native) application occurs through platform channels. The MethodChannel class is responsible for sending messages (method invocations) to the platform side. On the platform side, MethodChannel on Android (API) and FlutterMethodChannel on iOS (API) enable receiving method calls and sending a result back:

The platform channel technique allows the decoupling of the UI code from the platform-specific code. The host listens on the platform channel, and receives a message. It can use platform APIs to make the implementation of logic and sends back a response to the client, ...
Read now
Unlock full access