card static method
Generates a large card skeleton block.
Implementation
static Widget card({
double? width,
double? height,
double borderRadius = 16.0,
EdgeInsetsGeometry? margin,
Color? staticColor,
bool animated = true,
Color? baseColor,
Color? highlightColor,
}) {
final shape = _buildShape(
width: width,
height: height,
borderRadius: borderRadius,
margin: margin,
color: staticColor,
);
if (!animated) return shape;
return RistoShimmer(
baseColor: baseColor,
highlightColor: highlightColor,
child: shape,
);
}