day_night_switcher

Creator: coderz1093

Last updated:

Add to Cart

Description:

day night switcher

DayNightSwitcher #
Just a simple simple day / night switcher widget made in pure Dart.
It allows you to quickly show a beautiful dark mode switcher widget to your users.

How to use ? #
Using this plugin is pretty straightforward. You have two widgets : DayNightSwitcher and DayNightSwitcherIcon.
Here's a sample code for DayNightSwitcher :
DayNightSwitcher(
isDarkModeEnabled: isDarkModeEnabled,
onStateChanged: (isDarkModeEnabled) {
setState(() {
this.isDarkModeEnabled = isDarkModeEnabled;
});
},
),
copied to clipboard
The other one is very similar :
DayNightSwitcherIcon(
isDarkModeEnabled: isDarkModeEnabled,
onStateChanged: (isDarkModeEnabled) {
setState(() {
this.isDarkModeEnabled = isDarkModeEnabled;
});
},
),
copied to clipboard
Contributions #
You have a lot of options to contribute to this project ! You can :

Fork it on Github.
Submit a feature request or a bug report.
Donate to the developer.
Watch a little ad on Clipeee.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.