clearCurrentTheme static method

void clearCurrentTheme()

Same as Themed.of(context).clearTheme();

Removes the current theme, falling back to the default theme

Implementation

static void clearCurrentTheme() {
  _clearCurrentTheme();
  _themedKey.currentState?.setState(() {}); // ignore: invalid_use_of_protected_member
}