DEV Community

Cover image for Stop wasting time on Flutter project setup – Try this CLI tool
Agirîn Mohammadi
Agirîn Mohammadi

Posted on

Stop wasting time on Flutter project setup – Try this CLI tool

Setting up a new Flutter project can be repetitive. Every time I start a new app, I find myself doing the same things over and over: creating the folder structure, configuring the state management, setting up the basic service layers, and installing the same set of essential packages.

I decided I’d had enough of the manual grind. That’s why I built [flutter_easy_setup], a CLI tool designed to get a robust, production-ready project architecture running in seconds.

The Problem
When you start a new Flutter project, the default template is often too simple. If you are building a professional application, you need a clean architecture (e.g., Feature-first or Clean Architecture). Setting this up manually every time isn't just boring; it’s prone to configuration errors that can haunt you later in development.

The Solution: flutter_easy_setup
I created this tool to handle the "boring" part of development. It automates the project structure, allowing you to focus on writing actual features from minute one.

Key Features:

Boilerplate Generation: Provides a pre-configured architecture, ready for development.

Time-Saving: Sets up your folder structure and essential dependencies in under 10 seconds.

Clean Code: Ensures your project follows best practices right from the start.

How to use it
It’s straightforward. You have two easy ways to get started:

Option 1: Using the executable
You can simply head over to the [GitHub Releases page], download the latest version for your operating system, and run it directly.

Option 2: Running via terminal
If you prefer running it directly from your terminal, use the following command:

Bash

Run the tool directly

dart pub global activate flutter_easy_setup
Enter fullscreen mode Exit fullscreen mode

Once executed, it will automatically structure your lib/ folder and include your preferred dependencies.

Why I Open-Sourced It
I believe that we, as developers, should spend our energy on solving complex problems, not on project configuration. I’ve open-sourced [flutter_easy_setup] to help fellow Flutter developers—especially those just starting out—to follow a professional project structure without the headache.

Get Involved!
I’m actively working on improving this, and I’d love to hear your feedback. Whether you find a bug, have a feature request, or just want to suggest a better folder structure, please feel free to contribute.

Check it out on GitHub:
👉 Ag1rin/flutter_easy_setup

If you find this tool helpful, a ⭐ on GitHub would mean a lot to me!

Top comments (0)