AssetGenImage class

Constructors

AssetGenImage(String _assetName, {Size? size, Set<String> flavors = const {}})
const

Properties

flavors Set<String>
final
hashCode int
The hash code for this object.
no setterinherited
keyName String
no setter
path String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size?
final

Methods

image({Key? key, AssetBundle? bundle, 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 = true, bool isAntiAlias = false, String? package = package, FilterQuality filterQuality = FilterQuality.low, int? cacheWidth, int? cacheHeight}) Image
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
provider({AssetBundle? bundle, String? package = package}) ImageProvider<Object>
toString() String
A string representation of this object.
inherited

Operators

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

Constants

package → const String