day_night_themed_switcher 1.2.5 copy "day_night_themed_switcher: ^1.2.5" to clipboard
day_night_themed_switcher: ^1.2.5 copied to clipboard

Elevate your app's charm with a sleek day/night switcher widget in pure Dart – because toggling between light and dark modes should be as effortless as a flicker of magic!

Day and Night Themed Switcher #

Demo

🎩✨ Behold, the marvel of simplicity meets elegance: the day_night_themed_switcher crafted purely in Dart! 🌗 With this widget, you can seamlessly toggle between the luminous radiance of daytime and the captivating allure of nighttime, right at your fingertips.

This nifty little creation not only adds functionality but also sprinkles a touch of charm to your app interface. Let your users revel in the joy of effortlessly transitioning between light and dark modes with just a tap.

So, why settle for mundane when you can dazzle your users with the magic of day and night? Add this widget to your arsenal and watch as your app shines bright like a diamond, day or night! ✨🌞🌙

Show some ❤️ and ⭐️ the Repo #

Resources:

How to Use? #

Utilizing this Plugin is as smooth as a gentle breeze. Tailor your experience effortlessly with customizable parameters such as duration, initiallyDark, and size, allowing you to craft the perfect appearance and behavior to suit your needs. 🛠️💫

DayNightSwitch(
  // duration: Duration(milliseconds: 800),
  // initiallyDark: true,
  size: 20,onChange: (dark) => setState(() {
    if (dark) {
      theme = ThemeMode.dark;
    } else {
      theme = ThemeMode.light;
    }
  }),
);
copied to clipboard

Contributions #

5
likes
160
points
134
downloads

Publisher

verified publisheryashashm.dev

Weekly Downloads

2024.09.23 - 2025.04.07

Elevate your app's charm with a sleek day/night switcher widget in pure Dart – because toggling between light and dark modes should be as effortless as a flicker of magic!

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_inset_shadow, flutter_svg

More

Packages that depend on day_night_themed_switcher