Using the Dart language allows Flutter to compile the source code ahead-of-time to native code.
I want to know which native language is it compiled to for different platforms.
Android- Is it Java or Kotlin?
iOS - Is it swift or objective c?
Web - is it Javascript or angular?
I can find everywhere that it's compiled to native code but couldn't find exactly which native programming language it is compiled to!
CodePudding user response:
Actually when you create new flutter project from android studio, you can choose one of android and ios language:
android: java or kotlin
and
ios: objective-C or switft
this is my screenshot when i create new flutter project in android studio:

CodePudding user response:
To the underlying operating system, Flutter applications are packaged in the same way as any other native application. A platform-specific embedder provides an entrypoint; coordinates with the underlying operating system for access to services like rendering surfaces, accessibility, and input; and manages the message event loop. The embedder is written in a language that is appropriate for the platform: currently Java and C for Android, Objective-C/Objective-C for iOS and macOS, and C for Windows and Linux.
Reference : https://docs.flutter.dev/resources/architectural-overview
