# Optimize your app size and reclaim disk space with Flutter 3.41

## Метаданные

- **Канал:** Flutter
- **YouTube:** https://www.youtube.com/watch?v=zE4QUYpJZrQ
- **Источник:** https://ekstraktznaniy.ru/video/22910

## Транскрипт

### Segment 1 (00:00 - 01:00) []

Yes, that's a real command. Now, let's talk about cleaning house. For years, your pub cache has grown, accumulating old package versions. With Dart 311, you can finally reclaim that disk space. The new pubcashe gc command iterates over all living projects, marks all the package versions that they depend on, and deletes the rest, helping you reclaim your valuable disk space. But optimization isn't just for your dev machine. It's for your users, too. That's why Flutter 341 introduces platform specific asset bundling in your pubspec. You can now declare that a specific asset like a high-res image or a font should only be included on certain platforms. This means your Android users don't have to download assets intended for iOS and your web users don't end up with assets for your desktop users. The result is a smaller, more efficient app bundle, which means faster downloads and happier users. We love happy users. Run Flutter upgrade to get Flutter 3 for one and Dart 311.
