FontRegistrationCache class

Deduplicates engine registrations by family and actual file bytes, including concurrent loads and overlapping style sets. Failed loads remain retryable.

Constructors

FontRegistrationCache({required Future<void> register(String family, List<Uint8List> files)})

Properties

hashCode → int
The hash code for this object.
no setterinherited
register → Future<void> Function(String family, List<Uint8List> files)
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

load(String family, List<Uint8List> files) → Future<void>
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.
inherited