I'd like to view the source code for flutter commands like flutter run -d chrome and flutter build web. I'd like to know what's happening behind the scenes. Where are those files located?
I'd like to view the source code for flutter commands like flutter run -d chrome and flutter build web. I'd like to know what's happening behind the scenes. Where are those files located?
The source for the flutter tool eg CLI-tool is provided with flutter and located in /packages/flutter_tools.
For the run command, look at lib/src/commands/run.dart.