buildCustom method
Widget
buildCustom({
- ChildWidgetBuilder? childBuilder,
- required BuildContext context,
- required JsonWidgetData data,
- Key? key,
override
Custom builder that subclasses must override and implement to return the actual Widget to be placed on the tree.
Implementation
@override
Widget buildCustom({
ChildWidgetBuilder? childBuilder,
required BuildContext context,
required JsonWidgetData data,
Key? key,
}) {
return Image.memory(
image,
alignment: alignment,
cacheHeight: cacheHeight,
cacheWidth: cacheWidth,
centerSlice: centerSlice,
color: color,
colorBlendMode: colorBlendMode,
errorBuilder: errorBuilder,
excludeFromSemantics: excludeFromSemantics,
filterQuality: filterQuality,
fit: fit,
frameBuilder: frameBuilder,
gaplessPlayback: gaplessPlayback,
height: height,
isAntiAlias: isAntiAlias,
key: key,
matchTextDirection: matchTextDirection,
opacity: opacity == null ? null : AlwaysStoppedAnimation(opacity!),
repeat: repeat,
scale: scale,
semanticLabel: semanticLabel,
width: width,
);
}