of method Null safety
- BuildContext context
The ThemeData.cardTheme property of the ambient Theme.
Implementation
static CardTheme of(BuildContext context) {
return Theme.of(context).cardTheme;
}
The ThemeData.cardTheme property of the ambient Theme.
static CardTheme of(BuildContext context) {
return Theme.of(context).cardTheme;
}