changeTheme function
Making a function fro change the of the of the application
Implementation
void changeTheme(BuildContext context) {
// here passing the context and calling the method for change the theme
context.read<AppThemeBloc>().add(AppThemeChangeEvent());
}