WippyNetworkImage constructor
const
WippyNetworkImage({
- required String networkImageUrl,
- double? width,
- double? height,
- ShapeDecoration? shapeDecoration,
- BoxFit fit = BoxFit.cover,
- Widget? placeHolderWidget,
- Widget? errorWidget,
- Duration fadeInDuration = const Duration(milliseconds: 200),
- Duration placeholderFadeInDuration = const Duration(milliseconds: 200),
- Color backgroundColor = wippyGray100,
- double blurSigma = 0.0,
- 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,
});