Fluxter is a scalable Feature-First architecture template with Riverpod, Dio, GoRouter, and Freezed. Install to any Flutter project with a single command.
$ curl -sO https://raw.githubusercontent.com/dhotsky/fluxter/main/install.dart && dart run install.dart && rm install.dart
> curl.exe -sO https://raw.githubusercontent.com/dhotsky/fluxter/main/install.dart ; dart run install.dart ; del install.dart
A complete architecture foundation with best practices baked in, so you can focus on building features.
Clean separation of concerns with Screen, Controller, and State pattern powered by Riverpod.
Pre-configured Dio + Retrofit with smart token refresh and automatic request queueing.
Declarative routing with GoRouter, built-in auth guards, and automatic force logout handling.
Freezed models, Retrofit clients, and JSON serialization — all with one command.
Consistent dark/light theming with dynamic color resolver, context extensions, and persistent preference.
9 production-ready components: multi-variant Button, TextField, Alert, ListView, GridView, Image, InkWell, Loading Overlay, and Empty State.
Lightweight dual-language system (EN & ID) with .tr
extension, parameterized translations, and persistent locale switching.
Rich Dart extensions for DateTime formatting, String validation, numeric spacing, Widget layout wrappers, and BuildContext shortcuts.
Built-in CLI tools to generate features, models, repositories, and translations — zero boilerplate, maximum speed.
Scaffold a complete feature (Screen + Controller + custom Freezed State) in one command.
dart run :fluxter_create profile --stateful --state
Generate Freezed models from JSON — paste and go. Supports feature targeting.
dart run :fluxter_model user --profile
Generate repository classes with optional ApiService and LocalStorage flags.
dart run :fluxter_repository payment --api-service --local-storage
Add translation keys dynamically into localization files via interactive guide.
dart run :fluxter_translate
Screen + Controller + State
Repository + Models + Providers
ApiClient, ApiResult, LocalStorage
Fluxter follows Clean Architecture principles with Feature-First + Repository pattern, ensuring your codebase stays maintainable as it grows.
Industry-standard libraries carefully integrated to work together seamlessly.
State Management
Navigation
HTTP & API Client
Immutable Models
Local Storage
Code Generation
Serialization
Date Formatting
Network Logging
SDK
One command installs the entire architecture into your existing Flutter project.
$ curl -sO https://raw.githubusercontent.com/dhotsky/fluxter/main/install.dart && dart run install.dart && rm install.dart
> curl.exe -sO https://raw.githubusercontent.com/dhotsky/fluxter/main/install.dart ; dart run install.dart ; del install.dart
Execute the one-liner in your Flutter project's root directory.
Configure localization options (EN/ID dual language), merge dependencies, and rename packages.
Generate features, models, repositories, and translation keys with rapid CLI generators.