This project was born as a personal Project. While researching, I couldn't find practical examples of how to implement theme switching using the flutter_bloc, particularly for handling the three basic options: light, dark, and system default themes. As a result, this project might be slightly more complex than necessary as an example, but I hope this help you to implement this basic feature to your app.
- Supports light, dark, and system default themes.
- Implements theme switching using the flutter_bloc.
- Serves as a learning resource for Flutter developers exploring how to change a theme (Material 3) using flutter_bloc
This is what you need to know about project structure to implement in your project:
lib/
├── config/theme # Contains BLoC implementations
├── settings/widgets/theme # Contains BLoC widget implementation to change theme
└── main.dart # Application entry point
This project is licensed under the MIT License. See the LICENSE file for more details.
