imageDownloadBlur static method
Widget
imageDownloadBlur({
- required String imageUrl,
- bool? loadingProgress,
- BoxFit? fit = BoxFit.cover,
- double? height,
- double? width,
- BlendMode? colorBlendMode,
- Color? color,
- Alignment alignment = Alignment.center,
- Rect? centerSlice,
- Animation<
double> ? opacity, - FilterQuality filterQuality = FilterQuality.low,
- ImageRepeat repeat = ImageRepeat.noRepeat,
- bool matchTextDirection = false,
- bool gapLessPlayback = false,
- String? semanticLabel,
- ImageFrameBuilder? frameBuilder,
- ImageLoadingBuilder? loadingBuilder,
- ImageErrorWidgetBuilder? errorBuilder,
- bool isAntiAlias = false,
- Map<
String, String> ? headers, - int? cacheWidth,
- int? cacheHeight,
- TileMode tileMode = TileMode.decal,
- Duration fadeInDuration = const Duration(milliseconds: 500),
- Color backgroundImage = const Color.fromRGBO(238, 238, 238, 1),
- double scale = 1.0,
- int? memCacheHeight,
- int? memCacheWidth,
- Duration cacheManagerTime = const Duration(minutes: 35),
Implementation
static Widget imageDownloadBlur({
required final String imageUrl,
final bool? loadingProgress,
final BoxFit? fit = BoxFit.cover,
final double? height,
final double? width,
final BlendMode? colorBlendMode,
final Color? color,
final Alignment alignment = Alignment.center,
final Rect? centerSlice,
final Animation<double>? opacity,
final FilterQuality filterQuality = FilterQuality.low,
final ImageRepeat repeat = ImageRepeat.noRepeat,
final bool matchTextDirection = false,
final bool gapLessPlayback = false,
final String? semanticLabel,
final ImageFrameBuilder? frameBuilder,
final ImageLoadingBuilder? loadingBuilder,
final ImageErrorWidgetBuilder? errorBuilder,
final bool isAntiAlias = false,
final Map<String, String>? headers,
final int? cacheWidth,
final int? cacheHeight,
final TileMode tileMode = TileMode.decal,
final Duration fadeInDuration = const Duration(milliseconds: 500),
final Color backgroundImage = const Color.fromRGBO(238, 238, 238, 1),
final double scale = 1.0,
final int? memCacheHeight,
final int? memCacheWidth,
final Duration cacheManagerTime = const Duration(minutes: 35),
}) {
return ImageDownloadBlur(
imageUrl: imageUrl,
height: height,
width: width,
fit: fit,
color: color,
headers: headers,
alignment: alignment,
errorBuilder: errorBuilder,
cacheHeight: cacheHeight,
cacheWidth: cacheWidth,
centerSlice: centerSlice,
colorBlendMode: colorBlendMode,
filterQuality: filterQuality,
frameBuilder: frameBuilder,
gapLessPlayback: gapLessPlayback,
isAntiAlias: isAntiAlias,
loadingBuilder: loadingBuilder,
matchTextDirection: matchTextDirection,
opacity: opacity,
repeat: repeat,
semanticLabel: semanticLabel,
tileMode: tileMode,
fadeInDuration: fadeInDuration,
backgroundImage: backgroundImage,
memCacheHeight: memCacheHeight,
memCacheWidth: memCacheWidth,
cacheManagerTime: cacheManagerTime,
);
}