FontFace class

The interface represents a single usable font face. It allows control of the source of the font face, being a URL to an external resource, or a buffer; it also allows control of when the font face is loaded and its current status.

Available extensions
Annotations
  • @JS.new()
  • @staticInterop

Constructors

FontFace(String family, dynamic source, [FontFaceDescriptors? descriptors])
factory

Properties

ascentOverride ↔ String

Available on FontFace, provided by the PropsFontFace extension

getter/setter pair
descentOverride ↔ String

Available on FontFace, provided by the PropsFontFace extension

getter/setter pair
display ↔ String

Available on FontFace, provided by the PropsFontFace extension

getter/setter pair
family ↔ String

Available on FontFace, provided by the PropsFontFace extension

getter/setter pair
features → FontFaceFeatures

Available on FontFace, provided by the PropsFontFace extension

no setter
featureSettings ↔ String

Available on FontFace, provided by the PropsFontFace extension

getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
lineGapOverride ↔ String

Available on FontFace, provided by the PropsFontFace extension

getter/setter pair
loaded → Future<FontFace>

Available on FontFace, provided by the PropsFontFace extension

no setter
palettes → FontFacePalettes

Available on FontFace, provided by the PropsFontFace extension

no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → FontFaceLoadStatus

Available on FontFace, provided by the PropsFontFace extension

no setter
stretch ↔ String

Available on FontFace, provided by the PropsFontFace extension

getter/setter pair
style ↔ String

Available on FontFace, provided by the PropsFontFace extension

getter/setter pair
unicodeRange ↔ String

Available on FontFace, provided by the PropsFontFace extension

getter/setter pair
variant ↔ String

Available on FontFace, provided by the PropsFontFace extension

getter/setter pair
variations → FontFaceVariations

Available on FontFace, provided by the PropsFontFace extension

no setter
variationSettings ↔ String

Available on FontFace, provided by the PropsFontFace extension

getter/setter pair
weight ↔ String

Available on FontFace, provided by the PropsFontFace extension

getter/setter pair

Methods

load() → Future<FontFace>

Available on FontFace, provided by the PropsFontFace extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited