BaseImage constructor

BaseImage(
  1. ImageProvider<Object> image, {
  2. Key? key,
  3. String? semanticLabel,
  4. bool excludeFromSemantics = false,
  5. double? width,
  6. double? height,
  7. Color? color,
  8. Animation<double>? opacity,
  9. BlendMode? colorBlendMode,
  10. BoxFit? fit = BoxFit.cover,
  11. AlignmentGeometry alignment = Alignment.center,
  12. ImageRepeat repeat = ImageRepeat.noRepeat,
  13. Rect? centerSlice,
  14. bool matchTextDirection = false,
  15. bool gaplessPlayback = false,
  16. FilterQuality filterQuality = FilterQuality.low,
  17. LoadStateChanged? loadStateChanged,
  18. BoxBorder? border,
  19. BoxShape? shape = BoxShape.rectangle,
  20. BorderRadius? borderRadius = const BorderRadius.all(Radius.circular(2)),
  21. Clip clipBehavior = Clip.antiAlias,
  22. bool enableLoadState = false,
  23. BeforePaintImage? beforePaintImage,
  24. AfterPaintImage? afterPaintImage,
  25. ExtendedImageMode mode = ExtendedImageMode.none,
  26. bool enableMemoryCache = true,
  27. bool clearMemoryCacheIfFailed = true,
  28. DoubleTap? onDoubleTap,
  29. InitGestureConfigHandler? initGestureConfigHandler,
  30. bool enableSlideOutPage = false,
  31. BoxConstraints? constraints,
  32. Key? extendedImageEditorKey,
  33. InitEditorConfigHandler? initEditorConfigHandler,
  34. HeroBuilderForSlidingPage? heroBuilderForSlidingPage,
  35. bool clearMemoryCacheWhenDispose = false,
  36. Key? extendedImageGestureKey,
  37. bool isAntiAlias = false,
  38. bool handleLoadingProgress = false,
  39. EdgeInsets layoutInsets = EdgeInsets.zero,
})

Implementation

BaseImage(
  ImageProvider image, {
  super.key,
  super.semanticLabel,
  super.excludeFromSemantics = false,
  super.width,
  super.height,
  super.color,
  super.opacity,
  super.colorBlendMode,
  super.fit = BoxFit.cover,
  super.alignment = Alignment.center,
  super.repeat = ImageRepeat.noRepeat,
  super.centerSlice,
  super.matchTextDirection = false,
  super.gaplessPlayback = false,
  super.filterQuality = FilterQuality.low,
  super.loadStateChanged,
  super.border,
  super.shape = BoxShape.rectangle,
  super.borderRadius = const BorderRadius.all(Radius.circular(2)),
  super.clipBehavior = Clip.antiAlias,
  super.enableLoadState = false,
  super.beforePaintImage,
  super.afterPaintImage,
  super.mode = ExtendedImageMode.none,
  super.enableMemoryCache = true,
  super.clearMemoryCacheIfFailed = true,
  super.onDoubleTap,
  super.initGestureConfigHandler,
  super.enableSlideOutPage = false,
  super.constraints,
  super.extendedImageEditorKey,
  super.initEditorConfigHandler,
  super.heroBuilderForSlidingPage,
  super.clearMemoryCacheWhenDispose = false,
  super.extendedImageGestureKey,
  super.isAntiAlias = false,
  super.handleLoadingProgress = false,
  super.layoutInsets = EdgeInsets.zero,
}) : super(image: image);