WippyNetworkImage constructor

const WippyNetworkImage({
  1. required String networkImageUrl,
  2. double? width,
  3. double? height,
  4. ShapeDecoration? shapeDecoration,
  5. BoxFit fit = BoxFit.cover,
  6. Widget? placeHolderWidget,
  7. Widget? errorWidget,
  8. Duration fadeInDuration = const Duration(milliseconds: 200),
  9. Duration placeholderFadeInDuration = const Duration(milliseconds: 200),
  10. Color backgroundColor = wippyGray100,
  11. double blurSigma = 0.0,
  12. Key? key,
})

Implementation

const WippyNetworkImage({
  required this.networkImageUrl,
  this.width,
  this.height,
  this.shapeDecoration,
  this.fit = BoxFit.cover,
  this.placeHolderWidget,
  this.errorWidget,
  this.fadeInDuration = const Duration(milliseconds: 200),
  this.placeholderFadeInDuration = const Duration(milliseconds: 200),
  this.backgroundColor = wippyGray100,
  this.blurSigma = 0.0,
  super.key,
});