Skip to content

Dart compiler

Zeioth edited this page Aug 30, 2023 · 7 revisions

While coding Dart you will see options to compile both Dart and Flutter.

Dart

Dart can be interpreted or compiled to machine code.

Flutter

  • The option Run program (flutter) is the main option you are gonna be using during development.
  • The other options are meant to target specific platforms.

screenshot_2023-08-26_11-46-28_521334878

Considerations when compiling flutter

To be able to compile flutter you must

  • Initialize your application with flutter create .
  • Make sure you have project_dir/pubspec.yaml
  • Make sure your flutter code is inside project_dir/lib/

Now you can run Run program (flutter).

Considerations when targeting evil corporation apple

Evil corporation apple private all users from compiling Flutter unless you pay them first, due to legal disputes of said corporation.