AndroidFontInfo class

Constructors

AndroidFontInfo({bool? isCustom, String? typefaceName})

Properties

hashCode int
The hash code for this object.
no setteroverride
isCustom bool?
Whether to use a custom font. Default is false.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typefaceName String?
The Android system typeface name, such as "DEFAULT", "DEFAULT_BOLD", "SANS_SERIF", "SERIF", "MONOSPACE". Or custom font name, such as: "fonts/kaushanscript_regular.ttf". (You need to set the isCustom=true and put the font file in the "assets" directory: app/src/main/assets/fonts/kaushanscript_regular.ttf)
final

Methods

deepCopy() AndroidFontInfo
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