buildContainer method
Implementation
@protected
Widget buildContainer(BuildParameters params) {
final child = builder.tryBuildWidget(params.context,
params.widgets["child"], params.state, params.parentContext);
final decoration = params.buildProp("decoration");
return Container(
key: properties.getKey(params.id),
width: tryParseDouble(params.props["width"]),
height: tryParseDouble(params.props["height"]),
padding: params.buildProp("padding"),
alignment: params.buildProp("alignment"),
constraints: params.buildProp("constraints"),
decoration: decoration,
clipBehavior: decoration != null ? Clip.antiAlias : Clip.none,
child: child,
);
}