setMode method

void setMode(
  1. ThemeMode mode
)

Sets the theme mode to the provided mode.

Implementation

void setMode(ThemeMode mode) => _onSetMode(mode);