Skip to content

Dart compiler

Zeioth edited this page Aug 26, 2023 · 7 revisions

Compiler.nvim uses the same adapter for Dart/Flutter.

Dart

Dart can be interpreted or compiled to machine code.

Flutter

  • Flutter can Run program (flutter). This is the main option you are gonna be using during development.
  • You can also Build for linux (flutter), Build for android (flutter), Build for ios (flutter), and Build for web (flutter) when you are ready for releasing.

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.

Clone this wiki locally