changeTheme method
Function to change the theme of the application.
Parameters:
theme
: The new theme to apply.
Implementation
void changeTheme(ThemeData theme) {
rootController.setTheme(theme);
}
Function to change the theme of the application.
Parameters:
theme
: The new theme to apply.void changeTheme(ThemeData theme) {
rootController.setTheme(theme);
}