StacImage constructor

const StacImage({
  1. required String src,
  2. StacAlignment? alignment,
  3. StacImageType? imageType,
  4. StacColor? color,
  5. double? width,
  6. double? height,
  7. StacBoxFit? fit,
  8. StacImageRepeat? repeat,
  9. StacFilterQuality? filterQuality,
  10. String? semanticLabel,
  11. bool? excludeFromSemantics,
})

Creates an image widget with the specified source and options.

Implementation

const StacImage({
  required this.src,
  this.alignment,
  this.imageType,
  this.color,
  this.width,
  this.height,
  this.fit,
  this.repeat,
  this.filterQuality,
  this.semanticLabel,
  this.excludeFromSemantics,
});