$ flutter precache --help
Populate the Flutter tool's cache of binary artifacts.
If no explicit platform flags are provided, this command will download the artifacts for all currently enabled platforms
...
What are currently enabled platforms? Let's say I don't have any Flutter project on my machine and I run flutter precache – how are enabled platforms inferred?
On Linux, I noticed that flutter precache is equivalent to flutter precache --android --web --linux.
On macOS I noticed that flutter precache is equivalent to flutter precache --android --web --macos --ios.
So I can see the pattern (currently enabled platforms are all platforms that can be built on the current OS), but I feel like it's not explained well enough.
I think the help message should answer these doubts.
What are currently enabled platforms? Let's say I don't have any Flutter project on my machine and I run
flutter precache– how are enabled platforms inferred?On Linux, I noticed that
flutter precacheis equivalent toflutter precache --android --web --linux.On macOS I noticed that
flutter precacheis equivalent toflutter precache --android --web --macos --ios.So I can see the pattern (currently enabled platforms are all platforms that can be built on the current OS), but I feel like it's not explained well enough.
I think the help message should answer these doubts.