large Flutter Favorite logosmall Flutter Favorite logo

google_fonts 0.7.0+1 icon indicating copy to clipboard operation
google_fonts: ^0.7.0+1 copied to clipboard

[pending analysis]

A package to include fonts from fonts.google.com in your Flutter app.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add google_fonts

With Flutter:

 $ flutter pub add google_fonts

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  google_fonts: ^0.7.0+1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:google_fonts/google_fonts.dart';
4336
likes
--
pub points
100%
popularity

Publisher

verified publisher iconmaterial.io

A package to include fonts from fonts.google.com in your Flutter app.

Homepage
Repository (GitHub)
View/report issues

License

Icon for licenses.unknown (LICENSE)

Dependencies

crypto, flutter, http, path_provider, pedantic

More

Packages that depend on google_fonts