Skip to content

This example project shows channel between Flutter and Native Android. Send data from Flutter to Native Android and vice versa.

Notifications You must be signed in to change notification settings

NicosNicolaou16/ExampleChannelNativeAndroidWithCustomData

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Channel Native Android With Custom Data

This example project shows the channel (communication) between Flutter side and Native Android side. Otherwise, it shows how I handle custom data model and send the data from Flutter side to Native Android side and vice versa.

NOTE: EXAMPLE ONLY FOR ANDROID

Versions

Flutter SDK version: 3.22.2
Dart Version: 3.4.3

References (Channel)

https://medium.com/@shreebhagwat94/flutter-platform-channel-46578d21e69
https://blog.devgenius.io/use-flutter-screens-in-native-android-app-share-data-among-them-d97d670807a6
https://stackoverflow.com/questions/45685026/how-can-i-get-a-random-number-in-kotlin