theme_change 2.0.0
theme_change: ^2.0.0 copied to clipboard
theme_change package by Sumit Gohil theme_change: Seamless Theme Management with Persistent Preferences and (GetX OR Provider) Transform your Flutter app's theme management with theme_change—a robust [...]
theme_change package by Sumit Gohil
theme_change: Seamless Theme Management with Persistent Preferences and (GetX Or Provider)- New update:
- Now you can also use Provider package for Theme Management
- Now You can Choose Provider OR GetX Package For Theme Management
- I preferred that using this package with Shared Preference and Get is far better than Shared Preference and Provider because Code's Complexity...
Transform your Flutter app's theme management with theme_change—a robust package designed to effortlessly handle theme changes and persist them across sessions. Leveraging the power of SharedPreferences for permanent storage and (GetX OR Provider) for state management, theme_change provides an elegant solution for dynamic and persistent theming in your applications.
👉 Here theme_change package demo Application link (Using GetX Package and Shared Preference package):-
👉 Here theme_change package demo Application link (Using Provider Package and Shared Preference package):-
Key Features:
Persistent Theme Storage: Automatically saves user theme preferences using SharedPreferences, ensuring a consistent look every time they launch your app. Easy Integration with GetX: Utilizes GetX for state management, offering a reactive and efficient way to manage and switch themes. Simple API: A clean and intuitive API that makes it easy to toggle between light and dark modes or implement custom themes with minimal setup. Seamless UX: Enhance user experience with smooth theme transitions and persistent settings, making your app feel more personalized and user-friendly. How It Works:
Integrate: Add theme_change to your pubspec.yaml file and get started with just a few lines of code. Configure: Set up your themes and preferences with ease, using the provided methods and configuration options. Enjoy: Watch as theme_change handles theme persistence and state management, allowing you to focus on building your app’s features. Whether you're developing a new app or enhancing an existing one, theme_change offers a streamlined approach to managing user themes and preferences. Experience the convenience of persistent theming and reactive state management with theme_change!
Installation:
Using GetX Package :
Add the following to your pubspec.yaml file (Shared Preference and Get are necessary for this package)
theme_change: ^2.0.0
And Add shared_preferences: to your pubspec.yaml file
And Also Add get: to your pubspec.yaml file
Then run Flutter pub get
Import This Library in the dart file -->
import 'package:theme_change/theme_change.dart';
Here is Example of main.dart
Using Provider Package :
Add the following to your pubspec.yaml file (Shared Preference and Provider are necessary for this package)
theme_change: ^2.0.0
And Add shared_preferences: to your pubspec.yaml file
And Also Add provider: to your pubspec.yaml file
Then run Flutter pub get
Import This Library in the dart file -->
import 'package:theme_change/theme_change.dart';
Here is Example of main.dart