Skip to content

πŸš€ FLUTTER: Dynamic Theming with Hydrated Bloc & Cubit 🌈 (Persist User Preference!) | Flutter BLOC πŸ“±

License

Notifications You must be signed in to change notification settings

AmirBayat0/FLUTTER-Dynamic-Theming-with-HydratedBloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

FLUTTER: Dynamic Theming with Hydrated Bloc & Cubit (Persist User Preference!) | Flutter BLOC

Main

Overview

Welcome to the Dynamic Theming with Hydrated Bloc & Cubit repository! This project demonstrates how to implement dynamic theming in Flutter using Hydrated Bloc and Cubit to persist user preferences seamlessly. If you're looking to enhance your Flutter applications with state management and persistent theming, you're in the right place.

Features

  • Dynamic Theming: Easily switch between light and dark modes or custom themes.
  • Hydrated Bloc & Cubit: Leverage the power of Hydrated Bloc to automatically persist and restore theme preferences.
  • State Management: Efficient state management using the Bloc and Cubit architecture.
  • User Preferences: Persist user preferences locally to maintain the theme across app restarts.
  • Flutter BLOC Pattern: Follow best practices with the Flutter BLOC pattern for cleaner and scalable code.

Installation

To get started with this repository, follow these steps:

  1. Clone this repository to your local machine.
  2. Open the project in your preferred Flutter IDE.
  3. Run flutter pub get to install dependencies.
  4. Start exploring the provided code examples

License:

  • This project is licensed under the MIT License. Feel free to use, modify, and distribute the code for your projects.

Acknowledgements:

  • Special thanks to the Flutter community for their valuable contributions and insights into Flutter app development.

This link allows you to support me, and I appreciate your help:

My Socials: