TestFontLoader class
Loads application fonts used by widget tests and provides the same asset lookup rules for tests that inspect the bootstrap behavior.
Font registration is process-wide in Flutter. Keeping the loaded flag here makes that lifecycle explicit and prevents each harness instance from re-reading the manifest and registering the same families.
Constructors
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
-
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
Static Methods
-
assetCandidates(
String asset) → List< String> -
ensureLoaded(
) → Future< void> -
familyAliases(
String family) → List< String>