Android and Flutter are Chatting now: Integrando Flutter en Android.

Опубликовано: 05 Март 2026
на канале: Abel Does Flutter
89
8

In this video I am going to show how to add Flutter to Android app. The app is composed by two screens: Android and Flutter screens. Both of them contains a text input box and a button to send the data to the other screen. Therefore, when the app is launched the Android screen is shown. Then, you can write something on the text input box and send that info to the Flutter screen by pressing the Send button. Once in the Flutter screen, you can modify the string on the text input box and send it back to the Android screen by pressing the Send button. For the communication between Android and Flutter I used the platform channels: The event channel for sending data from Android to Flutter and the method channel to send data from Flutter to Android.

En este vídeo mostraré cómo integrar Flutter en una aplicación Android. La aplicación está compuesta por dos pantallas: Una pantalla Android y una pantalla Flutter. Ambas contienen una cuadro de texto editable y un botón para enviar información hacia la otra pantalla. Por tanto, una vez que se abra la aplicación se mostrará la pantalla de Android. Luego, podemos escribir algo dentro del cuadro de texto y enviar esa información hacia la pantalla de Flutter al pulsar sobre el botón Enviar (Send). Una vez hayamos navegado hacia la pantalla de Flutter, podremos modificar el texto que se encuentra dentro del cuadro de texto editable y enviar esa información hacia la pantalla de Android pulsando el botón Send. Para la comunicación entre Android y Flutter usé los canales de la plataforma: El canal de eventos fue usado para enviar información desde Android hacia Flutter y el canal de métodos fue usado para enviar información desde Flutter hacia Android.

The Android app can be found here: https://github.com/Abel1027/android-f...

The Flutter module to be integrated into the Android app can be found here: https://github.com/Abel1027/flutter-m...