FontFunction class
Manages your network font with FontFunction
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
initFont(
NetworkFont fontData) → Future< void> -
Init
fontData
from network to your application. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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
-
no setter
- instance → FontFunction
-
final