ExtendedAssetBundleImageKey class
- Inheritance
-
- Object
- AssetBundleImageKey
- ExtendedAssetBundleImageKey
Constructors
- ExtendedAssetBundleImageKey({required AssetBundle bundle, required String name, required double scale, required bool cacheRawData, required String? imageCacheName})
-
const
Properties
- bundle → AssetBundle
-
The bundle from which the image will be obtained.
finalinherited
- cacheRawData → bool
-
Whether cache raw data if you need to get raw data directly.
For example, we need raw image data to edit,
but ui.Image.toByteData() is very slow. So we cache the image
data here.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- imageCacheName → String?
-
The name of ImageCache, you can define custom ImageCache to store this provider.
final
- name → String
-
The key to use to obtain the resource from the bundle. This is the
argument passed to AssetBundle.load.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale → double
-
The scale to place in the ImageInfo object of the image.
finalinherited
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 ==(
dynamic other) → bool -
The equality operator.
override