card method
Material Card around it. child.card(elevation: 2)
Implementation
Widget card({Color? backgroundColor, double? elevation, EdgeInsetsGeometry? margin}) =>
Card(clipBehavior: Clip.hardEdge, margin: margin, elevation: elevation, color: backgroundColor, surfaceTintColor: backgroundColor, child: this);