FontName class abstract interface

A font by the family and style names inside its file, such as Inter and Black; an app can list its fonts as an enum implementing this.

Constructors

FontName(String family, String style)
Creates the name of style in family.
const
factory

Properties

family → String
The family, as Inter.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
style → String
The style within family, as Regular, Heavy or Black Italic.
no setter

Methods

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