apply go_router in lego project
- open terminal in the lego project root directory, enter the following command for install cli. and create a new lego project if you don't have one.
flutter pub global activate lego_cli
lego create
- in terminal, enter the following command for add lego to project.
lego add go_router_lego
config routing in lib/util/config/go_router_lego/_.dart