Optimize your app size and reclaim disk space with Flutter 3.41

Optimize your app size and reclaim disk space with Flutter 3.41

Machine-readable: Markdown · JSON API · Site index

Поделиться Telegram VK Бот
Транскрипт Скачать .md
Анализ с AI

Оглавление (1 сегментов)

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.

Другие видео автора — Flutter

Ctrl+V

Экстракт Знаний в Telegram

Экстракты и дистилляты из лучших YouTube-каналов — сразу после публикации.

Подписаться

Дайджест Экстрактов

Лучшие методички за неделю — каждый понедельник