Open bvoq opened 8 months ago
You already have a fantastic button for static analysis for showing unused packages and unused files.
Using flutter build <platform> --analyze-size you could also show how much MB each package contributes to the total build size (after tree-shaking). For details see: https://docs.flutter.dev/perf/app-size#breaking-down-the-size
flutter build <platform> --analyze-size
Thanks for considering!
This will really help manage bloat - often we add a package during development and forget this aspect over time.
You already have a fantastic button for static analysis for showing unused packages and unused files.
Using
flutter build <platform> --analyze-size
you could also show how much MB each package contributes to the total build size (after tree-shaking). For details see: https://docs.flutter.dev/perf/app-size#breaking-down-the-sizeThanks for considering!