of<T extends ControlTheme> static method

T of<T extends ControlTheme>(
  1. BuildContext context
)

Implementation

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

  return theme;
}