You have several options if you want to create a Flutter app.
Official CLI
-
Install Flutter: Visit the Flutter website (https://flutter.dev) and download the Flutter SDK for your operating system. Follow the installation instructions to set up Flutter on your machine.
-
Set up an Editor: Choose an editor or IDE to write your code. Popular options include Visual Studio Code, Android Studio, and IntelliJ IDEA. Install the necessary plugins or extensions for Flutter development.
-
Create a New Flutter Project: Open your terminal or command prompt and run the following command to create a new Flutter project:
flutter create my_app
Custom CLI template
-
Flutter IDE/Editor Plugins: Some IDEs and text editors offer Flutter-specific plugins or extensions that provide project creation functionality within the editor itself. For example, Android Studio and IntelliJ IDEA have Flutter plugins that include project creation wizards.
-
Flutter Templates: There are various Flutter project templates available online that you can download and use as a starting point for your project. These templates typically include a pre-configured project structure, dependencies, and some sample code. You can find such templates on platforms like GitHub or Flutter community websites.
-
Flutter Starter Projects: Similar to templates, Flutter starter projects are pre-configured projects that you can clone or download to kickstart your Flutter development. These starter projects often include a set of common features, libraries, and project configurations. They are typically maintained by the Flutter community and can be found on platforms like GitHub.
Example of cusom CLI:
- https://pub.dev/packages/rx_bloc_cli
- https://brickhub.dev/bricks/jera_project_setup/0.1.0+2
- https://brickhub.dev/bricks/project_setup/0.1.0+2
No or low Code Generators
There are code generators and scaffolding tools specifically designed for Flutter app creation. These tools allow you to define your project’s structure, screens, models, and more using a configuration file or a command-line interface. The tool then generates the necessary code and files for your project based on your specifications.
I’ve coded low code generator the executes all the above: Application Generator App. The world of technology evolves too fast so – work on it discontinued for now, but who knows if I’ve could figure out some new approach from it.