PlatformCardTheme.of constructor

PlatformCardTheme.of(
  1. BuildContext context
)

Implementation

factory PlatformCardTheme.of(BuildContext context) {
  try {
    return Provider.of(context);
  } catch (e) {
    return const PlatformCardTheme();
  }
}