FontConfig class

Class representing the configuration of fonts used in design token.

Constructors

FontConfig({required String family, required String flutterName})
Constructs a FontConfig.
FontConfig.fromYaml(YamlMap map)
Constructs a FontConfig from a yaml.

Properties

family String
The family name as seen in Figma.
final
flutterName String
The name of the family according to the definition in your pubspec.yaml.
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
A string representation of this object.
inherited

Operators

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