AiutaFont class
AiutaFont is a class that represents a font used in the Aiuta app.
- Annotations
-
- @JsonSerializable()
Constructors
- AiutaFont.new({required String filePath, required String family, required AiutaFontWeight weight})
-
Creates an AiutaFont located by
filePath
, specifying the fontfamily
andweight
. -
AiutaFont.fromJson(Map<
String, dynamic> json) -
factory
Properties
- family → String
-
The family of the font.
final
- filePath → String
-
The path to the font file.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- weight → AiutaFontWeight
-
The weight of the font.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited