ReaderFontFamily class
A family of static font faces supplied as Flutter assets.
- Annotations
Constructors
-
ReaderFontFamily({required String name, required List<
ReaderFontFace> faces, List<String> fallbacks = const []})
Properties
-
faces
→ List<
ReaderFontFace> -
Static faces belonging to this family.
final
-
fallbacks
→ List<
String> -
Optional fallback family names used when a glyph is unavailable.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The family name used by EPUB preferences.
final
- 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
-
toMap(
) → Map< String, Object> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> map) → ReaderFontFamily