flutter_riverpod_clean_generator 0.1.2
flutter_riverpod_clean_generator: ^0.1.2 copied to clipboard
A code generator that scaffolds a feature-first Clean Architecture project structure with Riverpod (Notifier/AsyncNotifier) into a Flutter project.
Changelog #
0.1.2 #
- Update the Credits section in the README.
0.1.1 #
- Add a Credits section to the README.
0.1.0 #
- Initial release.
CleanArchitectureGenerator.generate()scaffolds a feature-first Clean Architecture project structure:core/(constants, errors, network, routing, theme, localization, storage, utils, di) and one or morefeatures/<name>/folders (data/domain/presentation).- Riverpod
Notifier/AsyncNotifierbased state management, no@riverpodcode generation required. - Three feature kinds:
entity(single async resource),list(paginated collection),form(multi-field submission flow). - Safe by default: never overwrites an existing file unless
overwrite: trueis set; supportsdryRunto preview a generation plan without writing. - Never modifies the consumer's
pubspec.yaml; prints the required dependency list instead. - CLI-style invocation via
GeneratorOptions.fromArguments, plus an interactive wizard when no arguments/options are supplied.