card method

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

Implementation

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