How does Flutter run on Android?

Source: Based on Flutter System Architecture Using the Dart language allows Flutter to compile the source code ahead-of-time to native code. The engine’s C/C++code is compiled with Android’s NDK or iOS’ LLVM . Both pieces are wrapped in a “runner” Android and iOS project, resulting in an apk or ipa file respectively.

Read more

Can I use native code in Flutter?

Flutter allows us to call platform-specific APIs available in Java or Kotlin code on Android and in Objective C or Swift code on iOS. Flutter’s platform-specific API works with message passing. From Flutter app, we have to send messages to a host on iOS or Android parts of the app over a platform channel.

Read more