WebFontsVariant class

Represents a Google Fonts API variant in Flutter-specific types.

Constructors

WebFontsVariant({required FontWeight fontWeight, required FontStyle fontStyle})
const

Properties

fontStyle FontStyle
final
fontWeight FontWeight
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Converts this WebFontsVariant to a Google Fonts API specific variant name string.
override

Operators

operator ==(dynamic other) bool
The equality operator.
override