toWidget method
Implementation
@override
Widget toWidget({
required final BuildContext context,
required final WidgetState state,
}) =>
OpenWContainer(
context: context,
state: state,
child: state.node.child,
width: state.node.getAttributes[DBKeys.width] as FSize,
height: state.node.getAttributes[DBKeys.height] as FSize,
paddings: state.node.getAttributes[DBKeys.padding] as FMargins,
borderRadius:
state.node.getAttributes[DBKeys.borderRadius] as FBorderRadius,
shadows: state.node.getAttributes[DBKeys.shadows] as FShadow,
fill: state.node.getAttributes[DBKeys.fill] as FFill,
borders: state.node.getAttributes[DBKeys.borders] as FBorder,
);