FontFamilies class Null safety

Generic font families collection.

Constructors

FontFamilies({String? standard, String? fixed, String? serif, String? sansSerif, String? cursive, String? fantasy, String? pictograph})
FontFamilies.fromJson(Map<String, dynamic> json)
factory

Properties

cursive String?
The cursive font-family.
final
fantasy String?
The fantasy font-family.
final
fixed String?
The fixed font-family.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
pictograph String?
The pictograph font-family.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sansSerif String?
The sansSerif font-family.
final
serif String?
The serif font-family.
final
standard String?
The standard font-family.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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