ImageSpec constructor

const ImageSpec({
  1. double? width,
  2. double? height,
  3. Color? color,
  4. ImageRepeat? repeat,
  5. BoxFit? fit,
  6. AlignmentGeometry? alignment,
  7. Rect? centerSlice,
  8. FilterQuality? filterQuality,
  9. BlendMode? colorBlendMode,
  10. AnimatedData? animated,
})

Implementation

const ImageSpec({
  this.width,
  this.height,
  this.color,
  this.repeat,
  this.fit,
  this.alignment,
  this.centerSlice,
  this.filterQuality,
  this.colorBlendMode,
  super.animated,
});