Compile ime factories, implemented using source_gen package, so that it works in every platform. The advantages of this approach are are performance (no reflection needed) and full debuggability, as the generated sources are easy to read and well formatted. The development principle is to keep it simple, so only the basics features are implemented.

Usage

See https://pub.dev/packages/auto_factory

Libraries

auto_factory_annotation