This Flutter app for macOS lists all build folders with their size. Build folders can grow above 500 MB up to 1 GB! It's easy to delete all selected folders to make space on the disk.
Create your own version if you have Flutter installed on macOS anyway.
git clone github.com/schilken/flutter_cleaner
flutter pub get
flutter build macos
You find the built app here: flutter_cleaner/build/macos/Build/Products/Release/Flutter Cleaner
Currrently there is only a releas build for [macOS] (https://github.com/schilken/flutter_cleaner/releases/)
I generated a starter project using mason. If you want to create a similar tool you can generate a starter project like so:
- Open https://brickhub.dev
- Search for macosui_tool_starter
- Follow the steps on the Usage page
Several ideas are taken from https://github.com/bizz84/complete-flutter-course, a great source for learning advanced Flutter created by Andrea Bizzotto (bizz84). Also, thanks to Reuben Turner (GroovinChip) for his great package at https://github.com/GroovinChip/macos_ui