This example project demonstrates communication between the Flutter side and the Native Android side using channels. It also illustrates how to handle custom data models and send data between Flutter and Native Android.
Important
NOTE: EXAMPLE FOR ANDROID ONLY.
Flutter SDK version: 3.35.2
Dart Version: 3.9.0
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