StacImage.network constructor

const StacImage.network(
  1. String url, {
  2. StacAlignment? alignment,
  3. StacColor? color,
  4. double? width,
  5. double? height,
  6. StacBoxFit? fit,
  7. StacImageRepeat? repeat,
  8. StacFilterQuality? filterQuality,
  9. String? semanticLabel,
  10. 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;