switchTheme method
void
This function switches the app theme.
params:
isOn
:bool
type, the state to switch the theme to (true for Dark, false for Light).
returns: None
Implementation
void
- talawa
- theme_view_model
- AppTheme
- switchTheme method
void
This function switches the app theme.
params:
isOn
: bool
type, the state to switch the theme to (true for
Dark, false for Light).returns: None
void