Tag
“pubspec”
Custom Fonts in Flutter: Bundling, Weights, and Families Done Right
Declare font families in pubspec.yaml, map weights and styles correctly, ship fonts from a package, load them at runtime with FontLoader, and pick google_fonts when it fits.
November 5, 2026 AI Assistant
Asset Management in Flutter: Images, JSON, Fonts, and Files Done Right
Declare assets in pubspec, load them through rootBundle or DefaultAssetBundle, and ship resolution-aware images, fonts, and package assets efficiently.
November 5, 2026 AI Assistant