of method

CardTheme of (BuildContext context)

The ThemeData.cardTheme property of the ambient Theme.

Implementation

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