flutter_smartgen 0.3.0 copy "flutter_smartgen: ^0.3.0" to clipboard
flutter_smartgen: ^0.3.0 copied to clipboard

CLI that scaffolds Flutter feature-module pages with GetX and generates AppImages from asset folders. Configure paths via smartgen.yaml.

0.3.0 #

New: route registration #

  • smartgen route <page> — merge-only registration of AppRoutes constant and GetPage for an existing page module.
  • smartgen page <name> --route — generate the page module, then register the route in one step.

0.2.0 #

New: smartgen assets images #

  • Generate or update lib/app/app_images.dart from folders listed in smartgen.yamlassets.images.directories.
  • Includes every file in each folder (not only images).
  • Constants use full paths, grouped with doc comments per folder (/// Images, /// Icons, …).
  • Re-run safely: adds new files, keeps existing names, removes constants when the file was deleted.
  • smartgen init writes the assets.images block at the bottom of smartgen.yaml (# - assets/icons is a commented example for extra folders).

Page scaffolding (unchanged) #

  • smartgen init and smartgen page <name> work as in 0.1.x.

0.1.1 #

  • Lower Dart SDK constraint to >=3.2.0 <4.0.0 for broader Flutter compatibility.

0.1.0 #

  • Initial release: smartgen init and smartgen page commands.
  • Scaffolds six files per feature module (barrel, binding, controller, repository, model, view).
  • Optional common_scaffold in smartgen.yaml (otherwise uses Scaffold).
  • Generated views include _mainBody() with SizedBox() placeholder.
3
likes
0
points
59
downloads

Publisher

unverified uploader

Weekly Downloads

CLI that scaffolds Flutter feature-module pages with GetX and generates AppImages from asset folders. Configure paths via smartgen.yaml.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, path, yaml

More

Packages that depend on flutter_smartgen