FontModel class

Constructors

FontModel({String? fontName, double? size, EliudFontWeight? weight, EliudFontStyle? style, EliudFontDecoration? decoration, RgbModel? color})

Properties

color ↔ RgbModel?
getter/setter pair
decoration EliudFontDecoration?
getter/setter pair
fontName String?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size double?
getter/setter pair
style EliudFontStyle?
getter/setter pair
weight EliudFontWeight?
getter/setter pair

Methods

collectReferences({String? appId}) Future<List<ModelReference>>
copyWith({String? fontName, double? size, EliudFontWeight? weight, EliudFontStyle? style, EliudFontDecoration? decoration, RgbModel? color}) FontModel
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toEntity({String? appId}) FontEntity
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromEntity(FontEntity? entity) Future<FontModel?>
fromEntityPlus(FontEntity? entity, {String? appId}) Future<FontModel?>

Constants

id → const String
packageName → const String