setTheme function

void setTheme(
  1. Theme theme
)

Sets the global theme.

Implementation

void setTheme(Theme theme) {
  _currentTheme = theme;
}