Thanks a lot. Exactly what I was looking for.
Hi Jermaine thanks for this, well presented and very clear.
The last generator is what I was looking for, but the generated code doesn't work, because static functions aren't working in extensions in 2025.
How do I handle package imports and generics correctly with Annotation- and normal Generators?
Thanks man!
Thanks, very useful. I need to generate a single file in the lib folder based on all classes of the application with a certain annotation. What would be the procedure for me to achieve this result?
Thanks! Very helpful!
Can ppl read the source code of these packages like in PHP?
Hello, it wasn't working for me and wasn't generating example.g.dart at 6:20. (maybe due to new version of the packages). I solved this by modifying my_generators/build.yaml. You should write build_extensions: { ".dart": [".info.g.part"] } instead of build_extensions: { ".dart": [".info.part"] }
hi bro my generated Always being .g.part not dart
@randriakotonjanaharytolotr6249