imageDownloadBlur static method

Widget imageDownloadBlur({
  1. required String imageUrl,
  2. bool? loadingProgress,
  3. BoxFit? fit = BoxFit.cover,
  4. double? height,
  5. double? width,
  6. BlendMode? colorBlendMode,
  7. Color? color,
  8. Alignment alignment = Alignment.center,
  9. Rect? centerSlice,
  10. Animation<double>? opacity,
  11. FilterQuality filterQuality = FilterQuality.low,
  12. ImageRepeat repeat = ImageRepeat.noRepeat,
  13. bool matchTextDirection = false,
  14. bool gapLessPlayback = false,
  15. String? semanticLabel,
  16. ImageFrameBuilder? frameBuilder,
  17. ImageLoadingBuilder? loadingBuilder,
  18. ImageErrorWidgetBuilder? errorBuilder,
  19. bool isAntiAlias = false,
  20. Map<String, String>? headers,
  21. int? cacheWidth,
  22. int? cacheHeight,
  23. TileMode tileMode = TileMode.decal,
  24. Duration fadeInDuration = const Duration(milliseconds: 500),
  25. Color backgroundImage = const Color.fromRGBO(238, 238, 238, 1),
  26. double scale = 1.0,
  27. int? memCacheHeight,
  28. int? memCacheWidth,
  29. 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,
  );
}