BaseImage constructor
BaseImage(
- ImageProvider<
Object> image, { - Key? key,
- String? semanticLabel,
- bool excludeFromSemantics = false,
- double? width,
- double? height,
- Color? color,
- Animation<
double> ? opacity, - BlendMode? colorBlendMode,
- BoxFit? fit = BoxFit.cover,
- AlignmentGeometry alignment = Alignment.center,
- ImageRepeat repeat = ImageRepeat.noRepeat,
- Rect? centerSlice,
- bool matchTextDirection = false,
- bool gaplessPlayback = false,
- FilterQuality filterQuality = FilterQuality.low,
- LoadStateChanged? loadStateChanged,
- BoxBorder? border,
- BoxShape? shape = BoxShape.rectangle,
- BorderRadius? borderRadius = const BorderRadius.all(Radius.circular(2)),
- Clip clipBehavior = Clip.antiAlias,
- bool enableLoadState = false,
- BeforePaintImage? beforePaintImage,
- AfterPaintImage? afterPaintImage,
- ExtendedImageMode mode = ExtendedImageMode.none,
- bool enableMemoryCache = true,
- bool clearMemoryCacheIfFailed = true,
- DoubleTap? onDoubleTap,
- InitGestureConfigHandler? initGestureConfigHandler,
- bool enableSlideOutPage = false,
- BoxConstraints? constraints,
- Key? extendedImageEditorKey,
- InitEditorConfigHandler? initEditorConfigHandler,
- HeroBuilderForSlidingPage? heroBuilderForSlidingPage,
- bool clearMemoryCacheWhenDispose = false,
- Key? extendedImageGestureKey,
- bool isAntiAlias = false,
- bool handleLoadingProgress = false,
- 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);