FontFace constructor

FontFace({
  1. required String fontFamily,
  2. required String fontStyle,
  3. required String fontVariant,
  4. required String fontWeight,
  5. required String fontStretch,
  6. required String fontDisplay,
  7. required String unicodeRange,
  8. required String src,
  9. required String platformFontFamily,
  10. List<FontVariationAxis>? fontVariationAxes,
})

Implementation

FontFace(
    {required this.fontFamily,
    required this.fontStyle,
    required this.fontVariant,
    required this.fontWeight,
    required this.fontStretch,
    required this.fontDisplay,
    required this.unicodeRange,
    required this.src,
    required this.platformFontFamily,
    this.fontVariationAxes});