Add support for target-platform to Flutter launch config.#1720
Add support for target-platform to Flutter launch config.#1720DanTup merged 2 commits intoDart-Code:masterfrom
Conversation
|
Thanks for the PR! Though is this not something you can just add directly to |
|
Yes, it can be added to the |
|
That's true. I'm a little worried about starting down a path where we end up adding all of Flutter's command line switches in here and having to keep them up to date (and potentially deal with multiple versions). We already have some like debug/profile mode, but for those there's an intention to expose them as first class commands ("run in profile mode") to avoid having to maintain multiple configs of keep editing the file which I think makes them more valuable. I'll think more about this when back in the office. |
|
I've merged this one, though I think we might want to tweak it a little when other platforms like Web are fully supported in the main Thanks! |
flutter --target-platformallows developers to choose the target architecture.It's auto-selected but sometimes there is a definitive need to specify the field sometimes, e.g. App testing for different phones / architectures.