How to Disable Analytics Reporting for Dart and Flutter

The official documentation says:

The flutter tool uses Google Analytics to report feature usage statistics and send crash reports. This data is used to help improve Flutter tools over time.
Flutter tool analytics are not sent on the very first run.
Dart tools might also send usage metrics and crash reports to Google.

Disabling Analytics for the Flutter SDK

Run the following command.
flutter config --no-analytics
or
flutter --disable-analytics

Disabling Analytics for the Dart Language

Run the following command.
dart --disable-analytics
These commands worked for me directly after installing Flutter from AUR on Arch Linux.


Documentation

Leave a Reply