card method
Card
card({
- Key? key,
- bool borderOnForeground = true,
- bool semanticContainer = true,
- Color? surfaceTintColor,
- EdgeInsetsGeometry? margin,
- Color? color,
- Color? shadowColor,
- double? elevation,
- ShapeBorder? shape,
- Clip? clipBehavior,
Returns a new Card widget with the given child.
Implementation
Card card({
Key? key,
bool borderOnForeground = true,
bool semanticContainer = true,
Color? surfaceTintColor,
EdgeInsetsGeometry? margin,
Color? color,
Color? shadowColor,
double? elevation,
ShapeBorder? shape,
Clip? clipBehavior,
}) {
return Card(
key: key,
borderOnForeground: borderOnForeground,
semanticContainer: semanticContainer,
surfaceTintColor: surfaceTintColor,
clipBehavior: clipBehavior,
color: color,
elevation: elevation,
margin: margin,
shadowColor: shadowColor,
shape: shape,
child: this,
);
}