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

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

0.0.7 #

  • Router & GetX Integration:
    • init command now always adds the get dependency, fulfilling the requirement for state management even when using GoRouter.
    • create:feature now automatically registers new features in app_pages.dart and app_routes.dart for both GetX and GoRouter.
  • Enhanced Flavorizr setup:
    • Moved flutter_flavorizr to dev_dependencies.
    • Automatically runs flutter pub get after appending flavorizr configuration to ensure the environment is ready.
    • Uses non-interactive execution (yes | dart run flutter_flavorizr) to improve automation reliability.
    • Improved error reporting and logging for flavorizr execution.
  • Template Fixes:
    • Fixed GoRouter app_pages.dart template to correctly import app_routes.dart and removed redundant Routes class definition.

0.0.6 #

  • Router Selection:
    • init command now supports --router (-r) option to choose between getx (default) and go (GoRouter).
    • Added GoRouter templates: app_routes.dart, app_pages.dart, and app.dart with MaterialApp.router.
  • Enhanced Dependencies:
    • init command now automatically adds flutter_localizations (SDK), firebase_core, and google_fonts.
    • Router-specific dependency: get for GetX or go_router for GoRouter.
  • Bug Fix:
    • Fixed path resolution issue when creating new projects - now uses absolute path to ensure all commands run correctly in the new project directory.

0.0.5 #

  • Theme Generation:
    • init command now generates lib/common/themes/ with m_color.dart, m_text_theme.dart, m_theme.dart.
    • Includes complete light/dark theme configuration with Material 3 and GoogleFonts support.
  • Firebase & Flavorizr Setup:
    • init command now creates .firebase/dev/ and .firebase/prod/ with google-services.json and GoogleService-Info.plist placeholders.
    • Generates lib/firebase_options.dart with flavor-aware configuration.
    • Automatically appends flavorizr configuration to pubspec.yaml.
    • Runs flutter pub run flutter_flavorizr after setup.
  • Cleanup:
    • Removed unused lib/core/style folder generation.

0.0.4 #

  • App Entry Point Generation:
    • init command now generates lib/app.dart with GetMaterialApp configuration.
    • init command now overwrites lib/main.dart with proper service initialization template.
    • Supports automatic package name detection from pubspec.yaml.

0.0.3 #

  • Router Support:
    • init command now generates lib/routes with app_routes.dart and app_pages.dart.
    • create:feature automatically registers new pages and routes in the Router files.

0.0.2 #

  • Enhanced Init Command:
    • Added support for creating a new Flutter project from scratch: getxcli init <project_name>.
    • Automatically adds get, dio, flutter_flavorizr dependencies.
    • Configures Clean Architecture structure in the new project.

0.0.1 #

  • Initial Release:
    • Project Scaffolding: init command to setup Clean Architecture structure (Core, DI, Theme).
    • Feature Generation: create:feature command to generate Modules (Bindings, Controllers, Pages, Models, Widgets).
    • Asset Management: generate:assets command to scan and generate type-safe asset constants.
    • Utilities:
      • refresh: Shortcut for flutter clean && flutter pub get.
      • git:branch: Shortcut for creating new git branches.
      • run:flavor: Shortcut for running specific environment flavors.
    • Router Support: Integrated with GetX router.
1
likes
0
points
66
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