🚀 Stop Writing Boilerplate: Meet Arcle CLI, The Agentic Flutter Development Platform
Let’s be honest: setting up a new Flutter project the right way is tedious.
You want Clean Architecture, but configuring the folders, dependency injection, routing, and network clients takes hours. You want to use BLoC, Riverpod, or GetX, but each requires a different setup. And now, you want to integrate AI coding agents (Claude, Codex, Gemini) with proper context, but there’s no standard way to do it.
That’s exactly why I built Arcle CLI.
Arcle is an open-source Flutter CLI tool that scaffolds production-ready, scalable Clean Architecture projects in seconds, while seamlessly integrating modern AI agent workflows.
And with our latest v3.1.0 upgrade, Arcle is more powerful, secure, and opinionated than ever.
⚡ What Can Arcle Do For You?
- 🏗️ Instant Clean Architecture: Generates a perfectly structured
lib/directory with separated Data, Domain, and Presentation layers. - 🔄 State Management Agnostic: Choose between BLoC, GetX, or Riverpod via an interactive prompt (or CLI flag).
- 🌐 Unified Networking: Built-in support for Dio or Http, complete with unified
BaseResponsewrapping, interceptors, and error handling. - 🤖 AI-Agent Ready: Scaffold context files (
.ai/,.claude/,.codex/,.gemini/) with a single command so your AI assistant actually understands your project’s rules. - 🛡️ Built-in Quality Gates: Commands like
arcle reviewandarcle verifyrun static analysis, format checks, missing test scans, and 16KB APK compliance before you commit.
🔥 What’s New in v3.1.0?
We’ve been listening to the community, and the latest upgrade brings enterprise-grade features to your fingertips:
1. 🔐 Compile-Time .env Architecture (Zero Plaintext Leaks)
No more third-party .env packages that bundle secrets into your APK. Arcle now uses native Flutter --dart-define-from-file=.env injection. Your .env is gitignored, and secrets are compiled directly into the binary, making them immune to APK asset extraction.
2. 🛡️ Automated Release Security
Running arcle build apk --release now automatically:
- Applies Dart code obfuscation (
--obfuscate). - Strips debug symbols (
--split-debug-info). - Injects Android ProGuard rules (
proguard-rules.pro). - Prompts you to initialize
.envif it’s missing.
3. 🧱 Mandatory Screen Componentization (AI-Enforced)
We’ve updated the AI agent rules (.ai/coding-rules.md, CLAUDE.md, CODEX.md, GEMINI.md) to strictly enforce thin, declarative screens. Agents are now mandated to extract sub-widgets into presentation/widgets/ and reuse existing core/common_widgets/ (like CommonButton, CommonTextField, and the new CommonRetryWidget) instead of generating monolithic, messy UI files.
4. 🚀 Flutter 3.38+ & Dart 3.10+ Alignment
Fully updated SDK baseline constraints, ensuring immediate compatibility with modern Flutter stable toolchains and native 16KB page size support for Android 15+.
🛠️ Quick Start: Get Up and Running in 60 Seconds
Step 1: Activate Arcle Globally
bash
dart pub global activate arcle
Top comments (0)