# google_fonts 9.0.0

A Flutter package to use fonts from fonts.google.com. Supports HTTP fetching, caching, and asset bundling.




## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add google_fonts
```
Published: 2026-09-28T16:05:16.114530Z
Expected archive SHA-256: fdbbfbbb1a62f376ab29fa9627561d389751fb984da0b630ce3326e272911c8a

Available in cache; verification: upstream_checksum
## Direct dependencies
- crypto: ^3.0.0
- flutter: map[sdk:flutter]
- http: ^1.0.0
- material_ui: ^1.4.0
- meta: ^1.10.0
- path_provider: ^2.0.0

## Package README (untrusted upstream documentation)
# google_fonts
<?code-excerpt path-base="example/lib"?>

[![pub package](https://img.shields.io/pub/v/google_fonts.svg)](https://pub.dev/packages/google_fonts)

A Flutter package to use fonts from [fonts.google.com](https://fonts.google.com/).

<img alt="changing fonts with google_fonts and hot reload" src="https://user-images.githubusercontent.com/6655696/161121395-bbda7d3e-0842-4fe2-b428-9b2f29da8a8f.gif" width="100%" />

## Features

[![video thumbnail](https://img.youtube.com/vi/8Vzv2CdbEY0/0.jpg)](https://www.youtube.com/watch?v=8Vzv2CdbEY0)

- HTTP fetching at runtime, ideal for development. Can also be used in production to reduce app size
- Font file caching, on device file system
- Font bundling in assets. Matching font files found in assets are prioritized over HTTP fetching. Useful for offline-first apps.

## Usage

For example, say you want to use the [Lato](https://fonts.google.com/specimen/Lato) font from Google Fonts in your Flutter app.

1. Add the `google_fonts` package to your [pubspec dependencies](https://pub.dev/packages/google_fonts/install).

### Text styles
To use `GoogleFonts` with the default `TextStyle`:

<?code-excerpt "readme_excerpts.dart (StaticFont)"?>
```dart
Text('This is Google Fonts', style: GoogleFonts.lato()),
```

Or, if you want to load the font dynamically:

<?code-excerpt "readme_excerpts.dart (DynamicFont)"?>
```dart
Text('This is Google Fonts', style: GoogleFonts.getFont('Lato')),
```

To use `GoogleFonts` with an existing `TextStyle`:

<?code-excerpt "readme_excerpts.dart (ExistingStyle)"?>
```dart
Text(
  'This is Google Fonts',
  style: GoogleFonts.lato(textStyle: const TextStyle(color: Colors.blue, letterSpacing: .5)),
),
```

or

<?code-excerpt "readme_excerpts.dart (ExistingThemeStyle)"?>
```dart
Text(
  'This is Google Fonts',
  style: GoogleFonts.lato(textStyle: Theme.of(context).textTheme.headlineMedium),
),
```

To override the `fontSize`, `fontWeight`, or `fontStyle`:

<?code-excerpt "readme_excerpts.dart (ExistingStyleWithOverrides)"?>
```dart
Text(
  'This is Google Fonts',
  style: GoogleFonts.lato(
    textStyle: Theme.of(context).textTheme.displayLarge,
    fontSize: 48,
    fontWeight: FontWeight.w700,
    fontStyle: FontStyle.italic,
  ),
),
```

### Text themes

You can also use `GoogleFonts.latoTextTheme()` to make or modify an entire text theme to use the "Lato" font.

<?code-excerpt "readme_excerpts.dart (AppThemeSimple)"?>
```dart
class MyApp extends StatelessWidget {
  // ···
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      // ···
      theme: _buildTheme(Brightness.dark),
      // ···
    );
  }
}

ThemeData _buildTheme(Brightness brightness) {
  final baseTheme = ThemeData(brightness: brightness);

  return baseTheme.copyWith(textTheme: GoogleFonts.latoTextTheme(baseTheme.textTheme));
}

```

Or, if you want a `TextTheme` where a couple of styles should use a different font:

<?code-excerpt "readme_excerpts.dart (AppThemeComplex)"?>
```dart
final TextTheme textTheme = Theme.of(context).textTheme;

return MaterialApp(
  // ···
  theme: ThemeData(
    textTheme: GoogleFonts.latoTextTheme(textTheme)
        .copyWith(bodyMedium: GoogleFonts.oswald(textStyle: textTheme.bodyMedium)),
  ),
  // ···
);
```

### Lower build size
The `GoogleFontsLite` class is an alternative entry point containing only a map of all fonts and dynamic font resolution methods. Using *only* `GoogleFontsLite` allows the Dart compiler to tree-shake all unused font methods, yielding a significant reduction in build size.

To allow the Dart compiler to tree-shake unused fonts, import `package:google_fonts/google_fonts_lite.dart` instead of `package:google_fonts/google_fonts.dart`.

Do not import `package:google_fonts/google_fonts.dart` when optimizing for bundle size, as that imports the generated static font methods.

<?code-excerpt "readme_excerpts.dart (GoogleFontsLite)"?>
```dart
Widget liteExamples(BuildContext context) {
  return Column(
    children: <Widget>[
      // Single text style:
      Text('Dynamic font with minimal bundle size', style: GoogleFontsLite.getFont('Lato')),
      // Custom text theme:
      Theme(
        data: ThemeData(textTheme: GoogleFontsLite.getTextTheme('Lato')),
        child: const Text('Themed text'),
      ),
    ],
  );
}
```


### Visual font swapping
To avoid visual font swaps that occur when a font is loading, use [FutureBuilder](https://api.flutter.dev/flutter/widgets/FutureBuilder-class.html) and [GoogleFonts.pendingFonts()](https://pub.dev/documentation/google_fonts/latest/google_fonts/GoogleFonts/pendingFonts.html) (or `GoogleFontsLite.pendingFonts()`).

See the [example app](https://pub.dev/packages/google_fonts/example).

### HTTP fetching

For HTTP fetching to work, certain platforms require additional steps when running the app in debug and/or release mode. For example, macOS requires the following be present in the relevant .entitlements file:

```xml
<key>com.apple.security.network.client</key>
<true/>
```

Learn more at https://docs.flutter.dev/development/data-and-backend/networking#platform-notes.

## Bundling fonts when releasing

The `google_fonts` package will automatically use matching font files in your `pubspec.yaml`'s
`assets` (rather than fetching them at runtime via HTTP). Once you've settled on the fonts
you want to use:

1. Download the font files from [https://fonts.google.com](https://fonts.google.com).
   You only need to download the weights and styles you are using for any given family.
   Italic styles will include `Italic` in the filename. Font weights map to file names as follows:

<?code-excerpt "readme_excerpts.dart (FontWeightMap)"?>
```dart
<FontWeight, String>{
  FontWeight.w100: 'Thin',
  FontWeight.w200: 'ExtraLight',
  FontWeight.w300: 'Light',
  FontWeight.w400: 'Regular',
  FontWeight.w500: 'Medium',
  FontWeight.w600: 'SemiBold',
  FontWeight.w700: 'Bold',
  FontWeight.w800: 'ExtraBold',
  FontWeight.w900: 'Black',
};
```

2. Move those fonts to some asset folder (e.g. `google_fonts`). You can name this folder whatever you like and use subdirectories.

![](https://user-images.githubusercontent.com/19559602/216036655-d737c267-85d8-4654-886a-fc53a48d31c1.png)

3. Ensure that you have listed the asset folder (e.g. `google_fonts/`) in your `pubspec.yaml`, under `assets`.

![](https://user-images.githubusercontent.com/19559602/216036666-0aa1ae8e-7f7b-4a6a-bb84-7f6204cf14db.png)

Note: Since these files are listed as assets, there is no need to list them in the `fonts` section
of the `pubspec.yaml`. This can be done because the files are consistently named from the Google Fonts API
(so be sure not to rename them!)

See the [API docs](https://pub.dev/documentation/google_fonts/latest/google_fonts/GoogleFonts/config.html) to completely disable HTTP fetching.

## Licensing Fonts

The fonts on [fonts.google.com](https://fonts.google.com/) include license files for each font. For
example, the [Lato](https://fonts.google.com/specimen/Lato) font comes with an `OFL.txt` file.

Once you've decided on the fonts you want in your published app, you should add the appropriate
licenses to your flutter app's [LicenseRegistry](https://api.flutter.dev/flutter/foundation/LicenseRegistry-class.html).

For example:

<?code-excerpt "readme_excerpts.dart (LicenseRegistration)"?>
```dart
void main() {
  LicenseRegistry.addLicense(() async* {
    final String license = await rootBundle.loadString('google_fonts/OFL.txt');
    yield LicenseEntryWithLineBreaks(<String>['google_fonts'], license);
  });

  runApp(const MyApp());
}

```

## Testing

See [example/test](https://github.com/flutter/packages/blob/main/packages/google_fonts/example/test) for testing examples.

## Changelog
## 9.0.0

- Migrates to `material_ui` and `cupertino_ui` packages.
- Updates minimum supported SDK version to Flutter 3.47/Dart 3.13.
- Adds `config`, `pendingFonts`, and `getTextTheme` to `GoogleFontsLite`.
- Decouples internal base library from the main entry point to ensure complete tree-shakability.
- Adds code samples and documentation for `GoogleFontsLite`.
- Adds the `GoogleFontsLite` class to allow tree-shaking unused font code.
- Added fonts:
  - `Akt`
  - `Alien Block`
  - `Allkin`
  - `Alyamama`
  - `BJCree`
  - `Betania Patmos`
  - `Betania Patmos GDL`
  - `Betania Patmos In`
  - `Betania Patmos In GDL`
  - `Bpmf Huninn`
  - `Bpmf Iansui`
  - `Bpmf Zihi Kai Std`
  - `Datatype`
  - `Estedad`
  - `Finlandica Headline`
  - `Finlandica Text`
  - `Geist Pixel`
  - `Gveret Levin`
  - `Idiqlat`
  - `Iosevka Charon`
  - `Iosevka Charon Mono`
  - `LINE Seed JP`
  - `M PLUS U`
  - `Miranda Sans`
  - `Montenegrin Gothic One`
  - `Playwrite NZ Basic`
  - `Playwrite NZ Basic Guides`
  - `Pliant`
  - `Ramsina`
  - `SN Pro`
  - `STIX Two Math`
  - `Saira Stencil`
  - `Strichpunkt Sans`
  - `Yuyu`
  - `Yuyu Short`
- Removed fonts:
  - `Finlandica`
  - `Saira Stencil One`

## 8.2.1

- Fixes `pendingFonts()` retaining failed font loads.

## 8.2.0

- Extract the class `Config` to its own file and rename it `GoogleFontsConfig`. The `Config` class is now deprecated.
- Updates minimum supported SDK version to Flutter 3.38/Dart 3.10.

## 8.1.0

- Adds the ability to supply a custom HTTP client to `GoogleFonts.config`.

## 8.0.2

- Fixes a bug where exceptions thrown during return within try blocks in an async function were not correctly caught, aligning behavior with expected Dart semantics (see [dart-lang/sdk#44395](https://github.com/dart-lang/sdk/issues/44395)).

## 8.0.1

- Fixes WOFF2/WOFF font selection when loading fonts bundled with the app to prefer compressed formats regardless of asset manifest order.

## 8.0.0

- Added fonts:
  - `Amarna`
  - `BBH Bartle`
  - `BBH Bogle`
  - `BBH Hegarty`
  - `Cause`
  - `Elms Sans`
  - `Geom`
  - `Google Sans`
  - `Google Sans Flex`
  - `Kedebideri`
  - `Lilex`
  - `Momo Signature`
  - `Momo Trust Display`
  - `Momo Trust Sans`
  - `Noto Sans Syriac Western`
  - `Science Gothic`
  - `Sekuya`
  - `Stack Sans Headline`
  - `Stack Sans Notch`
  - `Stack Sans Text`
- Removed fonts:
  - `Chiron GoRound TC`
  - `Chiron Sung HK`

## 7.1.0

- Adds support for WOFF2 and WOFF font formats on web platforms when loading fonts bundled with the app, providing improved performance and smaller bundle sizes.

## 7.0.2

- Adds missing public API documentation

## 7.0.1

- Excludes variable font entries when a static entry of the same weight and style exists

## 7.0.0

- Added fonts:
  - `Afacad Flux`
  - `Agu Display`
  - `Alan Sans`
  - `Alumni Sans SC`
  - `Ancizar Sans`
  - `Ancizar Serif`
  - `Asimovian`
  - `Asta Sans`
  - `Atkinson Hyperlegible Mono`
  - `Atkinson Hyperlegible Next`
  - `Badeen Display`
  - `Big Shoulders`
  - `Big Shoulders Inline`
  - `Big Shoulders Stencil`
  - `Bitcount`
  - `Bitcount Grid Double`
  - `Bitcount Grid Double Ink`
  - `Bitcount Grid Single`
  - `Bitcount Grid Single Ink`
  - `Bitcount Ink`
  - `Bitcount Prop Double`
  - `Bitcount Prop Double Ink`
  - `Bitcount Prop Single`
  - `Bitcount Prop Single Ink`
  - `Bitcount Single`
  - `Bitcount Single Ink`
  - `Boldonse`
  - `Bungee Tint`
  - `Bytesized`
  - `Cal Sans`
  - `Cascadia Code`
  - `Cascadia Mono`
  - `Chiron GoRound TC`
  - `Chiron Hei HK`
  - `Chiron Sung HK`
  - `Comic Relief`
  - `Coral Pixels`
  - `Cossette Texte`
  - `Cossette Titre`
  - `Doto`
  - `Edu AU VIC WA NT Arrows`
  - `Edu AU VIC WA NT Dots`
  - `Edu AU VIC WA NT Guides`
  - `Edu AU VIC WA NT Pre`
  - `Edu NSW ACT Cursive`
  - `Edu NSW ACT Hand Pre`
  - `Edu QLD Hand`
  - `Edu SA Hand`
  - `Edu VIC WA NT Hand`
  - `Edu VIC WA NT Hand Pre`
  - `Epunda Sans`
  - `Epunda Slab`
  - `Exile`
  - `Faculty Glyphic`
  - `Funnel Display`
  - `Funnel Sans`
  - `Geist`
  - `Geist Mono`
  - `Gidole`
  - `Google Sans Code`
  - `Hind Mysuru`
  - `Host Grotesk`
  - `Hubot Sans`
  - `Huninn`
  - `Iansui`
  - `Intel One Mono`
  - `Kanchenjunga`
  - `Kapakana`
  - `Karla Tamil Inclined`
  - `Karla Tamil Upright`
  - `LXGW Marker Gothic`
  - `Libertinus Keyboard`
  - `Libertinus Math`
  - `Libertinus Mono`
  - `Libertinus Sans`
  - `Libertinus Serif`
  - `Libertinus Serif Display`
  - `Liter`
  - `Manufacturing Consent`
  - `Matangi`
  - `Matemasie`
  - `Menbere`
  - `Moderustic`
  - `Mona Sans`
  - `Monomakh`
  - `Montserrat Underline`
  - `Mozilla Headline`
  - `Mozilla Text`
  - `Nata Sans`
  - `National Park`
  - `New Amsterdam`
  - `Noto Sans PhagsPa`
  - `Noto Sans Sunuwar`
  - `Noto Serif Dives Akuru`
  - `Noto Serif Hentaigana`
  - `Noto Serif Todhri`
  - `Parastoo`
  - `Parkinsans`
  - `Phetsarath`
  - `Playpen Sans Arabic`
  - `Playpen Sans Deva`
  - `Playpen Sans Hebrew`
  - `Playpen Sans Thai`
  - `Playwrite AR Guides`
  - `Playwrite AT Guides`
  - `Playwrite AU NSW Guides`
  - `Playwrite AU QLD Guides`
  - `Playwrite AU SA Guides`
  - `Playwrite AU TAS Guides`
  - `Playwrite AU VIC Guides`
  - `Playwrite BE VLG Guides`
  - `Playwrite BE WAL Guides`
  - `Playwrite BR Guides`
  - `Playwrite CA Guides`
  - `Playwrite CL Guides`
  - `Playwrite CO Guides`
  - `Playwrite CU Guides`
  - `Playwrite CZ Guides`
  - `Playwrite DE Grund Guides`
  - `Playwrite DE LA Guides`
  - `Playwrite DE SAS Guides`
  - `Playwrite DE VA Guides`
  - `Playwrite DK Loopet Guides`
  - `Playwrite DK Uloopet Guides`
  - `Playwrite ES Deco Guides`
  - `Playwrite ES Guides`
  - `Playwrite FR Moderne Guides`
  - `Playwrite FR Trad Guides`
  - `Playwrite GB J Guides`
  - `Playwrite GB S Guides`
  - `Playwrite HR Guides`
  - `Playwrite HR Lijeva Guides`
  - `Playwrite HU Guides`
  - `Playwrite ID Guides`
  - `Playwrite IE Guides`
  - `Playwrite IN Guides`
  - `Playwrite IS Guides`
  - `Playwrite IT Moderna Guides`
  - `Playwrite IT Trad Guides`
  - `Playwrite MX Guides`
  - `Playwrite NG Modern Guides`
  - `Playwrite NL Guides`
  - `Playwrite NO Guides`
  - `Playwrite NZ Guides`
  - `Playwrite PE Guides`
  - `Playwrite PL Guides`
  - `Playwrite PT Guides`
  - `Playwrite RO Guides`
  - `Playwrite SK Guides`
  - `Playwrite TZ Guides`
  - `Playwrite US Modern Guides`
  - `Playwrite US Trad Guides`
  - `Playwrite VN Guides`
  - `Playwrite ZA Guides`
  - `Pochaevsk`
  - `Ponnala`
  - `Ponomar`
  - `SUSE`
  - `SUSE Mono`
  - `Sankofa Display`
  - `Sansation`
  - `Savate`
  - `Shafarik`
  - `Sirivennela`
  - `Sixtyfour Convergence`
  - `Sour Gummy`
  - `Special Gothic`
  - `Special Gothic Condensed One`
  - `Special Gothic Expanded One`
  - `Story Script`
  - `TASA Explorer`
  - `TASA Orbiter`
  - `Tagesschrift`
  - `TikTok Sans`
  - `Tirra`
  - `Triodion`
  - `Tuffy`
  - `UoqMunThenKhung`
  - `Vend Sans`
  - `WDXL Lubrifont JP N`
  - `WDXL Lubrifont SC`
  - `WDXL Lubrifont TC`
  - `Winky Rough`
  - `Winky Sans`
  - `Zalando Sans`
  - `Zalando Sans Expanded`
  - `Zalando Sans SemiExpanded`
- Removed fonts:
  - `Asap Condensed`
  - `Big Shoulders Display`
  - `Big Shoulders Inline Display`
  - `Big Shoulders Inline Text`
  - `Big Shoulders Stencil Display`
  - `Big Shoulders Stencil Text`
  - `Big Shoulders Text`
  - `BioRhyme Expanded`
  - `Cabin Condensed`
  - `Encode Sans Condensed`
  - `Encode Sans Expanded`
  - `Encode Sans Semi Condensed`
  - `Encode Sans Semi Expanded`
  - `IBM Plex Sans Condensed`
  - `Montserrat Subrayada`
  - `Noto Sans Phags Pa`
  - `Open Sans Condensed`
  - `Roboto Condensed`
  - `Saira Condensed`
  - `Saira Extra Condensed`
  - `Saira Semi Condensed`

## 6.3.3

- Replaces use of the deprecated `FontWeight.index`.
- Updates minimum supported SDK version to Flutter 3.35/Dart 3.9.

## 6.3.2

- Makes a map keyed on FontWeight non-const for compatibility with proposed changes to the engine's implementation of FontWeight.

## 6.3.1

- Transfers the package source from
  https://github.com/material-foundation/flutter-packages to
  https://github.com/flutter/packages.
- Updates minimum supported SDK version to Flutter 3.29/Dart 3.7.
- Updates code to meet repository analyzer settings.

## 6.3.0

- Update AssetManifest to use the builtin Flutter API.
- Added fonts:
  - `Anton SC`
  - `Arsenal SC`
  - `Baskervville SC`
  - `Beiruti`
  - `Bodoni Moda SC`
  - `Bona Nova SC`
  - `Cactus Classical Serif`
  - `Chocolate Classical Sans`
  - `Danfo`
  - `Edu AU VIC WA NT Hand`
  - `Freeman`
  - `Fustat`
  - `Ga Maamli`
  - `Jacquard 12`
  - `Jacquard 12 Charted`
  - `Jacquard 24`
  - `Jacquard 24 Charted`
  - `Jacquarda Bastarda 9 Charted`
  - `Jaini`
  - `Jaini Purva`
  - `Jaro`
  - `Jersey 10`
  - `Jersey 10 Charted`
  - `Jersey 15`
  - `Jersey 15 Charted`
  - `Jersey 20`
  - `Jersey 20 Charted`
  - `Jersey 25`
  - `Jersey 25 Charted`
  - `Kalnia Glaze`
  - `LXGW WenKai Mono TC`
  - `LXGW WenKai TC`
  - `Madimi One`
  - `Maname`
  - `Micro 5 Charted`
  - `Noto Serif JP`
  - `Noto Serif KR`
  - `Noto Serif SC`
  - `Noto Serif TC`
  - `Noto Znamenny Musical Notation`
  - `Ojuju`
  - `Platypi`
  - `Playwrite AR`
  - `Playwrite AT`
  - `Playwrite AU NSW`
  - `Playwrite AU QLD`
  - `Playwrite AU SA`
  - `Playwrite AU TAS`
  - `Playwrite AU VIC`
  - `Playwrite BE VLG`
  - `Playwrite BE WAL`
  - `Playwrite BR`
  - `Playwrite CA`
  - `Playwrite CL`
  - `Playwrite CO`
  - `Playwrite CU`
  - `Playwrite CZ`
  - `Playwrite DE Grund`
  - `Playwrite DE LA`
  - `Playwrite DE SAS`
  - `Playwrite DE VA`
  - `Playwrite DK Loopet`
  - `Playwrite DK Uloopet`
  - `Playwrite ES`
  - `Playwrite ES Deco`
  - `Playwrite FR Moderne`
  - `Playwrite FR Trad`
  - `Playwrite GB J`
  - `Playwrite GB S`
  - `Playwrite HR`
  - `Playwrite HR Lijeva`
  - `Playwrite HU`
  - `Playwrite ID`
  - `Playwrite IE`
  - `Playwrite IN`
  - `Playwrite IS`
  - `Playwrite IT Moderna`
  - `Playwrite IT Trad`
  - `Playwrite MX`
  - `Playwrite NG Modern`
  - `Playwrite NL`
  - `Playwrite NO`
  - `Playwrite NZ`
  - `Playwrite PE`
  - `Playwrite PL`
  - `Playwrite PT`
  - `Playwrite RO`
  - `Playwrite SK`
  - `Playwrite TZ`
  - `Playwrite US Modern`
  - `Playwrite US Trad`
  - `Playwrite VN`
  - `Playwrite ZA`
  - `Poetsen One`
  - `Radio Canada Big`
  - `Reddit Mono`
  - `Reddit Sans`
  - `Reddit Sans Condensed`
  - `Sedan`
  - `Sedan SC`
  - `Tac One`
  - `Teachers`
  - `Tiny5`
  - `Ubuntu Sans`
  - `Ubuntu Sans Mono`
  - `Wittgenstein`
  - `Yarndings 12`
  - `Yarndings 12 Charted`
  - `Yarndings 20`
  - `Yarndings 20 Charted`
  - `Zain`

## 6.2.1

- Update lowest supported Flutter version to current stable (`3.19.2`)

## 6.2.0

- Added fonts:
  - `AR One Sans`
  - `Afacad`
  - `Agbalumo`
  - `Annapurna SIL`
  - `Anta`
  - `Gabarito`
  - `Hedvig Letters Sans`
  - `Hedvig Letters Serif`
  - `Honk`
  - `Jacquarda Bastarda 9`
  - `Kalnia`
  - `Kay Pho Du`
  - `Kode Mono`
  - `Linefont`
  - `Micro 5`
  - `Namdhinggo`
  - `Noto Sans Kawi`
  - `Noto Sans NKo Unjoined`
  - `Noto Serif Old Uyghur`
  - `Onest`
  - `Pixelify Sans`
  - `Playpen Sans`
  - `Protest Guerrilla`
  - `Protest Revolution`
  - `Protest Riot`
  - `Protest Strike`
  - `Rethink Sans`
  - `Rubik Broken Fax`
  - `Rubik Doodle Shadow`
  - `Rubik Doodle Triangles`
  - `Rubik Glitch Pop`
  - `Rubik Lines`
  - `Rubik Maps`
  - `Rubik Scribble`
  - `Sixtyfour`
  - `Sometype Mono`
  - `Workbench`
  - `Young Serif`

## 6.1.0

- Add an example where one can select any available font

## 6.0.0

- Added fonts
  - `ADLaM Display`
  - `Agdasima`
  - `Akatab`
  - `Aoboshi One`
  - `Bacasime Antique`
  - `Bagel Fat One`
  - `Belanosima`
  - `Borel`
  - `Bricolage Grotesque`
  - `Caprasimo`
  - `Cherry Bomb One`
  - `Chokokutai`
  - `Dai Banna SIL`
  - `Diphylleia`
  - `Gasoek One`
  - `Geologica`
  - `Grandiflora One`
  - `Handjet`
  - `Inclusive Sans`
  - `Kablammo`
  - `Lisu Bosa`
  - `Lugrasimo`
  - `Lumanosimo`
  - `Lunasima`
  - `Moirai One`
  - `Monomaniac One`
  - `Mooli`
  - `Narnoor`
  - `Noto Sans Chorasmian`
  - `Noto Sans Cypro Minoan`
  - `Noto Sans HK`
  - `Noto Sans JP`
  - `Noto Sans KR`
  - `Noto Sans SC`
  - `Noto Sans Syriac Eastern`
  - `Noto Sans TC`
  - `Noto Sans Vithkuqi`
  - `Noto Serif Khitan Small Script`
  - `Noto Serif Makasar`
  - `Noto Serif Ottoman Siyaq`
  - `Noto Serif Vithkuqi`
  - `Orbit`
  - `Palette Mosaic`
  - `Playfair`
  - `REM`
  - `Rock 3D`
  - `Ruwudu`
  - `Shizuru`
  - `Slackside One`
  - `Tektur`
  - `Tsukimi Rounded`
  - `Victor Mono`
  - `Wavefont`
  - `Ysabeau Infant`
  - `Ysabeau Office`
  - `Ysabeau SC`
  - `Yuji Hentaigana Akari`
  - `Yuji Hentaigana Akebono`
- Removed fonts:
  - `Coda Caption`
  - `Source Sans Pro`
  - `Source Serif Pro`

## 5.1.0

- Add ability to wait for fonts to load with `GoogleFonts.pendingFonts`
- Split `google_fonts.dart` into multiple files

## 5.0.0

- Added fonts:
  - `Alkatra`
  - `Anuphan`
  - `Braah One`
  - `Bruno Ace`
  - `Bruno Ace SC`
  - `Carlito`
  - `Castoro Titling`
  - `Chivo Mono`
  - `Climate Crisis`
  - `Comme`
  - `Darumadrop One`
  - `Delicious Handrawn`
  - `Foldit`
  - `Gajraj One`
  - `Gloock`
  - `Golos Text`
  - `Hanken Grotesk`
  - `Instrument Sans`
  - `Instrument Serif`
  - `Konkhmer Sleokchher`
  - `Labrada`
  - `Martian Mono`
  - `Mynerve`
  - `Noto Sans NKo`
  - `Noto Sans Nag Mundari`
  - `Noto Sans Nandinagari`
  - `Noto Sans SignWriting`
  - `Noto Sans Tangsa`
  - `Noto Serif NP Hmong`
  - `Noto Serif Toto`
  - `Padyakke Expanded One`
  - `Pathway Extreme`
  - `Phudu`
  - `Poltawski Nowy`
  - `Rubik 80s Fade`
  - `Rubik Gemstones`
  - `Rubik Pixels`
  - `Rubik Spray Paint`
  - `Rubik Storm`
  - `Rubik Vinyl`
  - `Schibsted Grotesk`
  - `Shantell Sans`
  - `Sigmar`
  - `Sofia Sans`
  - `Sofia Sans Condensed`
  - `Sofia Sans Extra Condensed`
  - `Sofia Sans Semi Condensed`
  - `Solitreo`
  - `Tilt Neon`
  - `Tilt Prism`
  - `Tilt Warp`
  - `Unbounded`
  - `Vina Sans`
  - `Wix Madefor Display`
  - `Wix Madefor Text`
  - `Ysabeau`
- Removed fonts:
  - `Arima Madurai`
  - `Fredoka One`
  - `Gentium Book Basic`
  - `Kantumruy`
  - `Merienda One`
  - `Noto Sans N Ko`
  - `Noto Serif Nyiakeng Puachue Hmong`

## 4.0.5

- Bumped `http` version to 1.0.0

## 4.0.4

- Bumped minimum SDK version to 2.14

## 4.0.3

- Added screenshots

## 4.0.2

- Update pubspec `repository`

## 4.0.1

- Hide AssetManifest from flutter services imports

## 4.0.0

- Added fonts:
  - `Aboreto`
  - `Abyssinica SIL`
  - `Albert Sans`
  - `Alexandria`
  - `Alkalami`
  - `Alumni Sans Collegiate One`
  - `Alumni Sans Pinstripe`
  - `Amiri Quran`
  - `Aref Ruqaa Ink`
  - `Arima`
  - `Blaka`
  - `Blaka Hollow`
  - `Blaka Ink`
  - `Bungee Spice`
  - `Cairo Play`
  - `Charis SIL`
  - `Crimson Text`
  - `DynaPuff`
  - `Edu NSW ACT Foundation`
  - `Edu QLD Beginner`
  - `Edu SA Beginner`
  - `Edu TAS Beginner`
  - `Edu VIC WA NT Beginner`
  - `Figtree`
  - `Finlandica`
  - `Fragment Mono`
  - `Gantari`
  - `Gentium Book Plus`
  - `Gentium Plus`
  - `Gulzar`
  - `IBM Plex Sans JP`
  - `Inter Tight`
  - `Joan`
  - `Kantumruy Pro`
  - `Kdam Thmor Pro`
  - `Marhey`
  - `Mingzat`
  - `Nabla`
  - `Noto Color Emoji`
  - `Noto Sans Ethiopic`
  - `Noto Sans Lao Looped`
  - `Noto Sans Mende Kikakui`
  - `Noto Serif HK`
  - `Noto Serif Khojki`
  - `Noto Serif Oriya`
  - `Nuosu SIL`
  - `Reem Kufi Fun`
  - `Reem Kufi Ink`
  - `Rubik Burned`
  - `Rubik Dirt`
  - `Rubik Distressed`
  - `Rubik Iso`
  - `Rubik Marker Hatch`
  - `Rubik Maze`
  - `Silkscreen`
  - `Sono`
  - `Splash`
  - `Spline Sans Mono`
  - `Tai Heritage Pro`
  - `Tiro Bangla`
  - `Tiro Devanagari Hindi`
  - `Tiro Devanagari Marathi`
  - `Tiro Devanagari Sanskrit`
  - `Tiro Gurmukhi`
  - `Tiro Kannada`
  - `Tiro Tamil`
  - `Tiro Telugu`
- Removed fonts:
  - `Andika New Basic`
  - `Gentium Basic`
  - `Kdam Thmor`
  - `Otomanopee One`
  - `Palette Mosaic`
  - `Rock 3D`
  - `Shizuru`
  - `Yuji Hentaigana Akari`
  - `Yuji Hentaigana Akebono`

## 3.0.1
### Changed
- Improve asset manifest loading errors
- Improve testing guidance

## 3.0.0

- Complete null safety migration
- Improve documentation
- Improve support around HTTP fetching errors
- Added cache busting for font updates
- Added support for removing fonts
- Added fonts:
  - `Akaya Kanadaka`
  - `Akshar`
  - `Alumni Sans Inline One`
  - `Anek Bangla`
  - `Anek Devanagari`
  - `Anek Gujarati`
  - `Anek Gurmukhi`
  - `Anek Kannada`
  - `Anek Latin`
  - `Anek Malayalam`
  - `Anek Odia`
  - `Anek Tamil`
  - `Anek Telugu`
  - `Angkor`
  - `Antonio`
  - `Anybody`
  - `Asap Condensed`
  - `BIZ UDGothic`
  - `BIZ UDMincho`
  - `BIZ UDPGothic`
  - `BIZ UDPMincho`
  - `Babylonica`
  - `Ballet`
  - `Battambang`
  - `Bayon`
  - `Beau Rivage`
  - `Benne`
  - `BhuTuka Expanded One`
  - `Bodoni Moda`
  - `Bokor`
  - `Chenla`
  - `Content`
  - `Dangrek`
  - `Familjen Grotesk`
  - `Fasthand`
  - `Fredoka`
  - `Freehand`
  - `Grape Nuts`
  - `Hanuman`
  - `Hubballi`
  - `Imbue`
  - `Imperial Script`
  - `Ingrid Darling`
  - `Inspiration`
  - `Island Moments`
  - `Karantina`
  - `Khmer`
  - `Kiwi Maru`
  - `Kolker Brush`
  - `Koulen`
  - `Lavishly Yours`
  - `League Gothic`
  - `League Spartan`
  - `Libre Barcode EAN13 Text`
  - `Libre Bodoni`
  - `Licorice`
  - `Love Light`
  - `Luxurious Roman`
  - `Mea Culpa`
  - `Metal`
  - `Moo Lah Lah`
  - `Moon Dance`
  - `Moul`
  - `Moulpali`
  - `Ms Madi`
  - `My Soul`
  - `Neonderthaw`
  - `Newsreader`
  - `Nokora`
  - `Noto Emoji`
  - `Ole`
  - `Oooh Baby`
  - `Orelega One`
  - `Plus Jakarta Sans`
  - `Preahvihear`
  - `Qwitcher Grypen`
  - `Radio Canada`
  - `Roboto Flex`
  - `Roboto Serif`
  - `Rubik Bubbles`
  - `Rubik Glitch`
  - `Rubik Microbe`
  - `Rubik Moonrocks`
  - `Rubik Puddles`
  - `Rubik Wet Paint`
  - `Send Flowers`
  - `Siemreap`
  - `Smooch Sans`
  - `Source Serif 4`
  - `Spline Sans`
  - `Square Peg`
  - `Suwannaphum`
  - `Tapestry`
  - `Taprom`
  - `Texturina`
  - `The Nautigal`
  - `Truculenta`
  - `Twinkle Star`
  - `Updock`
  - `Vazirmatn`
  - `Vujahday Script`
  - `Water Brush`
  - `Waterfall`
  - `Whisper`
  - `Zen Dots`
- Removed fonts:
  - `Amatica SC`
  - `Andada`
  - `Baloo`
  - `Baloo Bhai`
  - `Baloo Bhaijaan`
  - `Baloo Bhaina`
  - `Baloo Chettan`
  - `Baloo Da`
  - `Baloo Paaji`
  - `Baloo Tamma`
  - `Baloo Tammudu`
  - `Baloo Thambi`
  - `Be Vietnam`
  - `Crimson Text`
  - `Droid Sans`
  - `Droid Sans Mono`
  - `Droid Serif`
  - `Muli`
  - `Noto Color Emoji Compat`
  - `Pushster`
  - `Scheherazade`
  - `Spartan`

## 2.3.3

- Updated the value of the pubspec 'repository' field

## 2.3.2

- Add warning on macOS about entitlements

## 2.3.1

- Introduce Flutter SDK constraint minimum of 2.10

## 2.3.0

- Update 2018 text style names to 2021 text style names (`display`, `headline`, `title`, `body`, `label` X `large`, `medium`, `small`)

## 2.2.0

- Added the latest fonts from fonts.google.com

## 2.1.1

- Migrated from `pedantic` to `flutter_lints`

## 2.1.0

- Added the latest fonts from fonts.google.com

## 2.0.0

- Migrated the main library to null safety
- Require Dart 2.12 or greater

## 1.1.2

- Bump dependency constraints for null safety

## 1.1.1

- Use conditional imports to separate out web from destkop + mobile `file_io` implementations

## 1.1.0

- Increase the flutter SDK dependency to version `1.17` (latest stable). This is needed for updated text theme names and a fix in the engine
- Update text theme names

## 1.0.0

- Removed beta notice from README
- Public API is now defined, as per [semantic versioning guidelines](https://semver.org/spec/v2.0.0-rc.1.html)

## 0.7.0

- Added the following variable fonts: Bellota, Bellota Text, Comic Neue, Fira Code, Gotu, Hepta Slab, Inria Sans, Inter, Literata, Manrope, Markazi Text, Public Sans, Sen, Spartan, Viaoda Libre

## 0.6.2

- Clean up code

## 0.6.1

- Memoize asset manifest

## 0.6.0

- Rename `config.allowHttp` to `config.allowRuntimeFetching`

## 0.5.0

- Use more accurate naming algorithm for `GoogleFonts.foo` and `GoogleFonts.fooTextTheme`

## 0.4.3

- Add `GoogleFonts.getTextTheme(...)` method for dynamically getting a text theme from a font name

## 0.4.2

- Change loadFontIfNecessary to only follow through once per unique family when called in parallel

## 0.4.1

- Update README to include instructions for how to include licenses for fonts

## 0.4.0

- Added ability to load fonts dynamically through `getFont` method
- Added `asMap` method which returns a map with font family names mapped to methods

## 0.3.10

- Update Fonts API url in generator to add in missing fonts

## 0.3.9

- Fix `path_provider` usage for web

## 0.3.8

- Add byte length and checksum verification for font files downloaded

## 0.3.7

- Fix asset font loading bug
- Update asset font README instructions

## 0.3.6

- Add a config to the `GoogleFonts` class with an `allowHttp` option

## 0.3.5

- Add `CONTRIBUTING.md`
- Update generator to get most up-to-date urls from fonts.google.com

## 0.3.4

- Store downloaded font files in device's support directory instead of documents directory

## 0.3.3

- Update font URLs to https to properly support web

## 0.3.2

- README image path fixes

## 0.3.1

- README fixes

## 0.3.0

- Added dartdocs to every public method in the google fonts package
- Added the ability to include font files in pubspec assets (see README)

## 0.2.0

- Updated to include all fonts currently on fonts.google.com

## 0.1.1

- Generated method names changed back to pre 0.1.0 (breaking change). For example, `GoogleFonts.latoTextStyle(...)` is now `GoogleFonts.lato(...)`
- Text theme parameters are now optional positional parameters (breaking change). For example, `GoogleFonts.latoTextTheme(textTheme: TextTheme(...))` is now `GoogleFonts.latoTextTheme(TextTheme(...))`

## 0.1.0

- Generated method names changed (breaking change).
- Text theme support. Every font family now *also* has a `TextTheme` method. For example, the `Lato` font now has `GoogleFonts.latoTextStyle()` and `GoogleFonts.latoTextTheme()`. See README for more examples
- Refactored implementation, updated READMEs, and usage docs

## 0.0.8

- Internal refactor and added tests

## 0.0.7

- BETA support for Flutter web

## 0.0.6

- Minor updates to README

## 0.0.5

- Mark as experimental in more places

## 0.0.4

- Add pubspec instructions to README

## 0.0.3

- Fix homepage and main gif

## 0.0.2

- Update README with import instructions

## 0.0.1

- Initial release: supports all 960 fonts and variants from fonts.google.com
- ttf files are downloaded via http on demand, and saved to local disk so that they can be loaded without making another http request for future font requests
- Fonts are loaded asynchronously through the font loader and Text widgets that use them are refreshed when they are ready







 
