getx_clean_arch 0.1.4 copy "getx_clean_arch: ^0.1.4" to clipboard
getx_clean_arch: ^0.1.4 copied to clipboard

A CLI tool for scaffolding and managing Flutter projects with GetX and Clean Architecture.

example/example.md

GetX Clean Architecture CLI Example #

This folder contains a sample project generated by the getxcli tool. It demonstrates the Feature-First Clean Architecture structure.

How it works #

The getxcli allows you to initialize a project with a single command:

# Initialize a new project
getxcli init my_app

Core Structure #

The CLI sets up a modular core with shared services and theme configuration:

  • lib/core/services/ - App-wide services (Firebase, Storage).
  • lib/core/theme/ - Centralized styling (MColors, MTheme).
  • lib/dependency_injection.dart - Service initialization.

Feature Scaffolding #

You can generate full features with bindings, controllers, and pages:

# Create a new feature
getxcli create:feature auth

Each feature follows a clean layer separation:

  • auth_binding.dart - Dependency mapping.
  • auth_controller.dart - Business logic using GetX.
  • auth_page.dart - UI Layer.

Running the Example #

This example project itself follows the structure described above. You can explore the generated files in the lib/ directory.

1
likes
0
points
172
downloads

Publisher

verified publisherrithamto.site

Weekly Downloads

A CLI tool for scaffolding and managing Flutter projects with GetX and Clean Architecture.

Repository (GitHub)
View/report issues

Topics

#cli #flutter #getx #clean-architecture #generator

License

unknown (license)

Dependencies

args, dart_style, dcli, dio, flutter, get, mason_logger, path, recase, yaml

More

Packages that depend on getx_clean_arch