of static method

ThemeState? of(
  1. BuildContext context
)

Implementation

static ThemeState? of(BuildContext context) {
  return context.findRootAncestorStateOfType();
}