This content originally appeared on DEV Community and was authored by Sunny Singh
After 5+ years of Flutter development, I got tired of setting up the same boilerplate every project.
So I built SM CLI
Install
dart pub global activate sm_cli
Usage
sm init my_app
cd my_app
sm make feature auth
sm make api
flutter run
What you get
✅ Clean Architecture (Data, Domain, Presentation)
✅ Riverpod, Bloc, GetX, Provider support
✅ GoRouter auto setup
✅ Dio API layer with interceptors
✅ Auto route generation
5 commands. Production-ready architecture. Done.
🔗 https://pub.dev/packages/sm_cli
⭐ https://github.com/flutterbysunny/sm_cli
Would love your feedback! 🙏
This content originally appeared on DEV Community and was authored by Sunny Singh
Sunny Singh | Sciencx (2026-05-23T15:19:58+00:00) I built a Flutter CLI that generates Clean Architecture in seconds. Retrieved from https://www.scien.cx/2026/05/23/i-built-a-flutter-cli-that-generates-clean-architecture-in-seconds/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.