buildCard method
Implementation
@protected
Widget buildCard(BuildParameters params) {
var color = tryParseColor(params.props["color"]);
return Card(
key: properties.getKey(params.id),
color: color,
surfaceTintColor:
tryParseColor(params.props["surfaceTintColor"]) ?? color,
shadowColor: tryParseColor(params.props["shadowColor"]),
elevation: tryParseDouble(params.props["elevation"]),
shape: params.buildProp("shape"),
clipBehavior: Clip.antiAlias,
child: builder.tryBuildWidget(params.context, params.widgets["child"],
params.state, params.parentContext),
);
}