
The tool observes a large number of unhandled exceptions during the file copy portion of flutter create. it is difficult to tell whether the permission issue is caused by the source/destination, or whether it is due to a bug in dart:io. To work around this, implement a permission check for both the source and dest files. If either fails, the tool can exit with a more specific message. If these checks pass, then perform the actual copy. If the copy fails, fallback to manually copying the bytes
Flutter reports data to two separate systems:
- Anonymous usage statistics are reported to Google Analytics (for statistics
such as the number of times the
flutter
tool was run within a given time period). The code that manages this is in [usage.dart]. - Crash reports for the
flutter
tool. These are not reports of when Flutter applications crash, but rather when the command-lineflutter
tool itself crashes. The code that manages this is in [crash_reporting.dart].
Opting out
Users can opt out of all reporting in a single place by running
flutter config --no-analytics
.