.. | ||
example | ||
lib | ||
test | ||
.gitignore | ||
analysis_options.yaml | ||
CHANGELOG.md | ||
LICENSE | ||
melos_angel3_container_generator.iml | ||
pubspec.yaml | ||
README.md |
Angel3 Container Generator
An alternative container for Angel3 that uses reflectable
instead of dart:mirrors
for reflection.
Usage
-
Annotable the class with
@contained
. -
Run
dart run build_runner build <Your class directory>
-
Alternatively create a
build.xml
file with the following contenttargets: $default: builders: reflectable: generate_for: - bin/**_controller.dart options: formatted: true
Known limitation
- Reflection on functions/closures
- Reflection on private declarations
- Reflection on generic type