getWidget method

  1. @override
Widget getWidget(
  1. BuildContext context
)
override

Assemble and return the widget.

Implementation

@override
Widget getWidget(BuildContext context) {
  return Card(
    key: elParams.p.key,
    color: elParams.p.color,
    shadowColor: elParams.p.shadowColor,
    surfaceTintColor: elParams.p.surfaceTintColor,
    elevation: elParams.p.elevation,
    shape: elParams.p.shape,
    borderOnForeground: elParams.p.borderOnForeground,
    margin: elParams.p.margin,
    clipBehavior: elParams.p.clipBehavior ?? Clip.antiAliasWithSaveLayer,
    semanticContainer: elParams.p.semanticContainer,
    child: elParams.p.child ?? child.getChild(),
  );
}