toWidget method
Implementation
@override
Widget toWidget({
required final BuildContext context,
required final WidgetState state,
}) =>
OpenWImage(
nodeState: state,
image: state.node.getAttributes[DBKeys.image] as FTextTypeInput,
width: state.node.getAttributes[DBKeys.width] as FSize,
height: state.node.getAttributes[DBKeys.height] as FSize,
boxFit: state.node.getAttributes[DBKeys.boxFit] as FBoxFit,
borderRadius:
state.node.getAttributes[DBKeys.borderRadius] as FBorderRadius,
shadows: state.node.getAttributes[DBKeys.shadows] as FShadow,
);