card method

Widget card({
  1. Key? key,
  2. Color? color,
  3. double? elevation,
  4. ShapeBorder? shape,
  5. bool borderOnForeground = true,
  6. EdgeInsetsGeometry? margin,
  7. Clip? clipBehavior,
  8. bool semanticContainer = true,
})

Implementation

Widget card({
  Key? key,
  Color? color,
  double? elevation,
  ShapeBorder? shape,
  bool borderOnForeground = true,
  EdgeInsetsGeometry? margin,
  Clip? clipBehavior,
  bool semanticContainer = true,
}) =>
    Card(
      key: key,
      color: color,
      elevation: elevation,
      shape: shape,
      borderOnForeground: borderOnForeground,
      margin: margin,
      clipBehavior: clipBehavior,
      semanticContainer: semanticContainer,
      child: this,
    );