make method

  1. @override
Widget make({
  1. Key? key,
})

Implementation

@override
Widget make({Key? key}) {
  if (!willRender) return const VxNone();
  return Card(
    key: key,
    margin: velocityPadding,
    color: velocityColor,
    clipBehavior: _clip ?? Clip.antiAlias,
    borderOnForeground: _borderOnForeground ?? true,
    elevation: _elevation,
    shape: (roundedValue != null)
        ? RoundedRectangleBorder(
            borderRadius:
                radiusGeometry ?? BorderRadius.circular(roundedValue!))
        : _shape,
    shadowColor: _shadowColor,
    child: _child,
  );
}