setTheme method

void setTheme(
  1. AppTheme theme
)

Implementation

void setTheme(AppTheme theme) {
  _theme = theme;
  _colorConfiguration = theme == AppTheme.dark ? dark : light;
}