app_fonts_provider 0.9.0
app_fonts_provider: ^0.9.0 copied to clipboard
Loads a custom font before the app starts so it shows up everywhere from the very first frame. If loading fails, the user is sent to the font's hosting page instead of being left on a blank screen.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add app_fonts_providerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
app_fonts_provider: ^0.9.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:app_fonts_provider/app_fonts_provider.dart';