local_google_fonts 1.0.8
local_google_fonts: ^1.0.8 copied to clipboard
Define google fonts in your pubspec.yml and automagically add them to your assets and pubspec.yml
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add local_google_fontsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
local_google_fonts: ^1.0.8Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:local_google_fonts/files.dart';
import 'package:local_google_fonts/fonts.dart';
import 'package:local_google_fonts/pubspec.dart';
import 'package:local_google_fonts/status.dart';