of<TTheme extends ExtendedTheme> static method
Link to theme controller object, use this for managing themes
Implementation
static ThemeHolder<TTheme> of<TTheme extends ExtendedTheme>(
BuildContext context) {
return context
.dependOnInheritedWidgetOfExactType<_InheritedTheme<TTheme>>()!
.stateTheme!
.themeFacade;
}