The main() function generated by build_runner contains a lot of code that will not vary from app to app. Creating a stager_main function that accepts a list of Scenes may completely obviate the need for any codegen, which would likely be a win in terms of ergonomics.
The
main()
function generated by build_runner contains a lot of code that will not vary from app to app. Creating astager_main
function that accepts a list of Scenes may completely obviate the need for any codegen, which would likely be a win in terms of ergonomics.