A new Flutter project.
You can use a method channel to communicate data between Flutter and iOS, Android native code. Here I will explain you how to pass data as an argument using the invoke method from Flutter code and handle this method in iOS, Android native code.
To receive response from iOS and Android native to Flutter, you can implement Flutter method channel callback for iOS and Android with full example.