FLUTTER ECOSYSTEM

dynamic_fonts

A package to include dynamic web-hosted fonts in your Flutter app.

Latest version
3.1.0
30-day downloads
2.4K
Likes
52
Pub points
160

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

The dynamic_fonts package enables Flutter applications to load and use web-hosted fonts dynamically at runtime. This is particularly useful for apps that need to support custom or variable fonts without bundling them in the app's assets. The package simplifies font integration by fetching fonts from a URL, allowing for easy updates and reduced initial app size. It supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux, making it ideal for cross-platform projects requiring flexible typography solutions.

Use cases
  • Loading fonts from remote URLs
  • Updating fonts without app updates
  • Reducing app bundle size
  • Supporting variable fonts
  • Cross-platform font consistency
Key features
  • Dynamic font loading
  • Remote font sourcing
  • Cross-platform compatibility
  • Minimal setup
  • Support for variable fonts
Suitable for
  • Apps with frequent font changes
  • Web-first Flutter projects
  • Lightweight app distribution
  • Design systems requiring flexibility
  • Teams managing multiple font variants
Considerations
  • Requires internet access for font loading
  • Potential performance impact on first load
  • Font fallbacks must be handled manually
  • Not suitable for offline-only apps
  • Caching behavior may vary across platforms
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add dynamic_fonts

Categories

Dependencies

Dependency list 3 items

Source repository

Related projects