of static method
Returns reference of the CupertinoAdaptiveThemeManager which allows access of the state object of CupertinoAdaptiveTheme in a restrictive way.
Implementation
static AdaptiveThemeManager<CupertinoThemeData> of(BuildContext context) {
context.dependOnInheritedWidgetOfExactType<
InheritedAdaptiveTheme<CupertinoThemeData>>()!;
return context.findAncestorStateOfType<State<CupertinoAdaptiveTheme>>()!
as AdaptiveThemeManager<CupertinoThemeData>;
}