invertedThemeOf static method

ThemeData invertedThemeOf(
  1. BuildContext context
)

Implementation

static ThemeData invertedThemeOf(BuildContext context) {
  final _InheritedTheme inheritedTheme =
      context.dependOnInheritedWidgetOfExactType<_InheritedTheme>()!;

  return inheritedTheme.theme.data.invertedTheme;
}