of static method

CardTheme of(
  1. BuildContext context
)

The ThemeData.cardTheme property of the ambient Theme.

Implementation

static CardTheme of(BuildContext context) {
  return Theme.of(context).cardTheme;
}