v2.0.2day_night_themed_switcher
순수한 Dart로 만든 세련된 낮/밤 전환 위젯으로 앱의 매력을 한층 끌어올려보세요. 밝은 모드와 어두운 모드를 전환하는 것은 마법처럼 간단해야 합니다!
🎩✨ 순수한 Dart로 만든 세련된 낮/밤 전환 위젯으로 앱의 매력을 한층 끌어올려보세요 – 밝기 모드와 어두운 모드를 전환하는 것은 마법의 순간처럼 쉬워야 합니다! ✨🌗
{"sdk":"flutter"}^2.1.0^2.0.3{"sdk":"flutter"}>=3.0.2 <7.0.0아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
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! ✨🌞🌙
Resources:
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;
}
}),
);