AssetFlare class

Fetches a Flare from an AssetBundle.

Inheritance
Annotations

Constructors

AssetFlare({required AssetBundle bundle, required String name})
const

Properties

bundle AssetBundle
The bundle from which the Flare will be obtained.
final
hashCode int
The hash code for this object.
no setteroverride
name String
The key to use to obtain the resource from the bundle. This is the argument passed to AssetBundle.load.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

load() Future<ByteData>
Loads the asset.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(dynamic other) bool
The equality operator.
override