of<T extends ControlTheme> static method
Implementation
static T of<T extends ControlTheme>(BuildContext context) {
final theme = Control.init<ControlTheme>() as T;
theme.invalidate(context);
return theme;
}