maybeOf static method

StudioThemeData? maybeOf(
  1. BuildContext context
)

The theme above context, or null.

Implementation

static StudioThemeData? maybeOf(BuildContext context) => context
    .dependOnInheritedWidgetOfExactType<_InheritedStudioTheme>()
    ?.theme
    .data;