# google_fonts

> A Flutter package to use fonts from fonts.google.com

Source: https://talira.ai/catalog/google-fonts-vsf57cv3
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / fonts / loading](https://talira.ai/categories/libraries/fonts/loading), [languages / dart](https://talira.ai/categories/languages/dart)
- Platforms: android, ios, linux, macos, web, windows[^2]
- Licence: BSD-3-Clause[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source. Each font has its own licence from fonts.google.com (OFL for most).
- Free tier: yes[^1]
- Backed by: [Google](https://talira.ai/orgs/google.md)
- Funding: public company (NASDAQ:GOOGL)[^3]

google_fonts is the [Flutter](https://talira.ai/catalog/flutter-nhwgvsth.md) team's package for using any font from [Google Fonts](https://talira.ai/catalog/google-fonts-dydnkdtq.md) in a Flutter app by name, as a TextStyle (GoogleFonts.lato()) or a whole TextTheme. It fetches font files over HTTP at runtime and caches them on the device's file system, and when matching font files are bundled in the app's assets it uses those instead, so a release build can work offline with no fetching. A GoogleFontsLite entry point resolves fonts dynamically so the compiler can tree-shake the generated font methods and keep the app smaller. It's part of the flutter/packages repository and published on pub.dev by flutter.dev.

## Links

- GitHub: https://github.com/flutter/packages
- Docs: https://pub.dev/documentation/google_fonts/latest/

## Problems it solves

- use a font from fonts.google.com in my Flutter app without downloading and declaring the font files by hand
- try different fonts in a Flutter app with hot reload before picking one
- switch my whole Flutter app's text theme to one typeface in a line of code
- bundle the fonts my Flutter app uses in its assets so it works offline in production
- load fonts on demand at runtime to keep my Flutter app's download size small
- avoid text flashing in a fallback font while a web font loads in Flutter

## Features

- Any Google Fonts family as a TextStyle or TextTheme by name
- Fetches fonts over HTTP at runtime and caches them on the device
- Uses matching font files bundled in assets before fetching
- HTTP fetching can be turned off entirely
- GoogleFontsLite entry point for tree-shaking unused fonts
- pendingFonts() to wait for fonts and avoid visual font swaps
- Android, iOS, Linux, macOS, web and Windows

## Trust

Overall: 0.73 out of 1.
Signals: maintenance 1.00, adoption 0.75, momentum 0.51, community 1.00, backing 0.55, extensibility 0.00.

- last commit 4 days ago
- 620 commits in the last 90 days
- latest release pigeon-v29.0.4 2 months ago
- 5.3k GitHub stars
- 1952 contributors
- backed by Google
- funding: public company (NASDAQ:GOOGL)

## Related

- Works with [Flutter](https://talira.ai/catalog/flutter-nhwgvsth.md)
- Works with [Google Fonts](https://talira.ai/catalog/google-fonts-dydnkdtq.md)

## Sources

[^1]: https://github.com/flutter/packages/blob/main/packages/google_fonts/LICENSE (checked 26 Nov 2026)
[^2]: https://pub.dev/packages/google_fonts (checked 26 Nov 2026)
[^3]: https://www.sec.gov/files/company_tickers_exchange.json (checked 20 Nov 2026)
