Skip to content

Seom88/Bloc-theme-system-example

Repository files navigation

Flutter Theme Switcher Example

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.

Features

  • 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

Project Structure

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

Screenshot

image info

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors