StacImage constructor
const
StacImage({
- required String src,
- StacAlignment? alignment,
- StacImageType? imageType,
- StacColor? color,
- double? width,
- double? height,
- StacBoxFit? fit,
- StacImageRepeat? repeat,
- StacFilterQuality? filterQuality,
- String? semanticLabel,
- 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,
});