PlatformOverlayTheme.of constructor

PlatformOverlayTheme.of(
  1. BuildContext context
)

Implementation

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