ImageAsset class final
- Inheritance
- Available extensions
Constructors
- ImageAsset.new(String? package, String key, String path)
-
Creates a ImageAsset.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- key → String
-
A key that identifies this asset.
finalinherited
- package → String?
-
The containing package's name.
finalinherited
- path → String
-
A path to this asset, i.e.
assets/icons/application/analysis.svg
.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
{Key? key, ImageFrameBuilder? frameBuilder, ImageErrorWidgetBuilder? errorBuilder, String? semanticLabel, bool excludeFromSemantics = false, double? scale, double? width, double? height, Color? color, Animation< double> ? opacity, BlendMode? colorBlendMode, BoxFit? fit, AlignmentGeometry alignment = Alignment.center, ImageRepeat repeat = ImageRepeat.noRepeat, Rect? centerSlice, bool matchTextDirection = false, bool gaplessPlayback = false, bool isAntiAlias = false, FilterQuality filterQuality = FilterQuality.low, int? cacheWidth, int? cacheHeight}) → Image -
Available on ImageAsset, provided by the ImageAssetExtension extension
Converts an ImageAsset to an Image. -
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 ==(
Object other) → bool -
The equality operator.
override