What is the difference between source_gen and build?
masterThe build package is a platform-agnostic framework for Dart code or asset generation that works with various build systems (like Bazel or build_runner).
source_gen is a high-level API built on top of build. It provides developer-friendly abstractions for common Dart-specific tasks, such as wrapping Generator instances into PartBuilder or LibraryBuilder to simplify the creation of part of or standalone library files.