Loader class abstract

Implementers
Available extensions

Constructors

Loader()

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

accepts(LoadingContext context) → bool
Whether every filter accepts the asset specified by context.
extensions(List<String> extensions) → void

Available on Loader, provided by the BuiltInFilters extension

Filters assets with the given extensions.
filter(LoadingFilter filter) → void
Appends a new filter to this loader.
load(LoadingContext context) → FutureOr<void>
Loads the asset specified by context.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prefix(String prefix) → void

Available on Loader, provided by the BuiltInFilters extension

Filters assets with the given prefix.
run(LoadingContext context) → FutureOr<void>
Loads the asset specified by context if filtering passes.
toString() → String
A string representation of this object.
inherited

Operators

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