FontFunction class Null safety

Manages your network font with FontFunction

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

initFont(NetworkFont fontData) Future<void>
Init fontData from network to your application.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
setExpiredDuration(Duration duration) → void
Set expired duration of cached font.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

expiredDuration Duration
read-only
instance FontFunction
final