FontLoader constructor

FontLoader(String family)

Creates a new FontLoader that will load font assets for the specified family.

The font family will not be available for use until load has been called.

Implementation

FontLoader(this.family)
  : _loaded = false,
    _fontFutures = <Future<Uint8List>>[];