StacImage.network constructor
const
StacImage.network(
- String url, {
- StacAlignment? alignment,
- StacColor? color,
- double? width,
- double? height,
- StacBoxFit? fit,
- StacImageRepeat? repeat,
- StacFilterQuality? filterQuality,
- String? semanticLabel,
- bool? excludeFromSemantics,
Creates an image widget that loads from a network URL.
Implementation
const StacImage.network(
String url, {
this.alignment,
this.color,
this.width,
this.height,
this.fit,
this.repeat,
this.filterQuality,
this.semanticLabel,
this.excludeFromSemantics,
}) : src = url,
imageType = StacImageType.network;