SmoothCard constructor
SmoothCard({
- Key? key,
- double smoothness = 1,
- BorderRadiusGeometry borderRadius = BorderRadius.zero,
- BorderSide side = BorderSide.none,
- Widget? child,
- Color? color,
- Color? shadowColor,
- double? elevation,
- bool borderOnForeground = true,
- EdgeInsetsGeometry? margin,
- bool semanticContainer = true,
Implementation
SmoothCard({
Key? key,
this.smoothness = 1,
this.borderRadius = BorderRadius.zero,
this.side = BorderSide.none,
Widget? child,
Color? color,
Color? shadowColor,
double? elevation,
bool borderOnForeground = true,
EdgeInsetsGeometry? margin,
bool semanticContainer = true,
}) : super(
key: key,
color: color,
shadowColor: shadowColor,
elevation: elevation,
borderOnForeground: borderOnForeground,
margin: margin,
semanticContainer: semanticContainer,
clipBehavior: Clip.antiAlias,
shape: SmoothRectangleBorder(
side: side,
borderRadius: borderRadius,
smoothness: smoothness,
),
child: child,
);