ImageSpec class
Constructors
-
ImageSpec({double? width, double? height, Color? color, ImageRepeat? repeat, BoxFit? fit, AlignmentGeometry? alignment, Rect? centerSlice, FilterQuality? filterQuality, BlendMode? colorBlendMode, AnimatedData? animated})
-
const
-
ImageSpec.exhaustive({required double? width, required double? height, required Color? color, required ImageRepeat? repeat, required BoxFit? fit, required AlignmentGeometry? alignment, required Rect? centerSlice, required FilterQuality? filterQuality, required BlendMode? colorBlendMode, required AnimatedData? animated})
-
const
Methods
-
copyWith({ImageProvider<Object>? image, double? width, double? height, Color? color, ImageRepeat? repeat, BoxFit? fit, AlignmentGeometry? alignment, Rect? centerSlice, FilterQuality? filterQuality, BlendMode? colorBlendMode, AnimatedData? animated})
→ ImageSpec
-
Creates a copy of this spec with the given fields
replaced by the non-null parameter values.
override
-
getDiff(EqualityMixin other)
→ Map<String, String>
-
inherited
-
lerp(covariant ImageSpec? other, double t)
→ ImageSpec
-
Linearly interpolate with another Spec object.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited