-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
can be interpreted
or compiled
to machine code.
- 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.
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)
.
Evil corporation apple private all users from compiling Flutter unless you pay them first, due to legal disputes of said corporation.