What problem does it solve?
Flutter apps often show jank, font swaps, blank images, and delayed first renders because assets load lazily at first use. This Skill provides guidance for pre-caching the right resources at startup so the first screens render smoothly without wasting memory on assets the user may never see.
Core Features & Use Cases
- Font and image preloading: Use GoogleFonts.pendingFonts, precacheImage, and bundled font declarations to eliminate font swaps and image pop-in on first paint.
- Animation and data warm-up: Preload Lottie and Rive compositions, local JSON config, and initial API requests before showing the home screen.
- Flutter Web optimization: Combine HTML rel=preload hints with Flutter precacheImage, handle emoji font fallback, and configure renderer startup.
- Use Case: When building a Flutter Web app whose landing screen shows a hero image, custom font, and emoji, use this Skill to preload exactly those assets in index.html and didChangeDependencies so the first frame renders without flicker.
Quick Start
Ask the agent to add startup pre-caching for the fonts, hero image, and initial API data on your Flutter app's first screen.