패키지, 저장소 및 앱 카테고리 검색

day_night_themed_switcher 표지
패키지 상세v2.0.2

day_night_themed_switcher

순수한 Dart로 만든 세련된 낮/밤 전환 위젯으로 앱의 매력을 한층 끌어올려보세요. 밝은 모드와 어두운 모드를 전환하는 것은 마법처럼 간단해야 합니다!

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
185
좋아요
9
Pub 점수
160

패키지 설치

flutter pub add day_night_themed_switcher

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

Flutter 앱에서 낮과 밤 테마 간을 쉽게 전환할 수 있는 세련되고 순수한 Dart 위젯입니다. 최소한의 설정으로 부드러운 라이트/다크 모드 전환을 가능하게 하여 사용자 경험을 향상시킵니다. 주요 플랫폼 전체에서 동적 테마를 지원하기 위해 깔끔하고 사용자 정의 가능한 솔루션을 찾는 개발자를 위한 것입니다. 기존 UI에 원활하게 통합되며 직관적인 시각 피드백을 통해 접근성을 촉진합니다.

사용 사례

  • 모바일 앱에서 다크 모드 구현
  • 사용자 선호도에 따른 라이트/다크 테마 활성화
  • 테마 인식 기능을 갖춘 접근성 있는 UI 만들기
  • 웹 및 데스크톱에서 크로스 플랫폼 테마 지원
  • 앱 전체 테마 변경을 위한 토글 추가

주요 기능

  • 순수한 다트 구현
  • 크로스 플랫폼 호환성
  • 최소한의 보일러플레이트 설정
  • 사용자 정의 가능한 외관
  • 스무딩 테마 전환 효과
  • ThemeData와의 간편한 통합

적합한 대상

  • 테마 선호도를 가진 앱을 구축하는 플러터 개발자
  • 웹 및 데스크톱을 포함한 여러 플랫폼을 대상으로 하는 앱
  • 세련된 테마 전환을 원하는 디자이너
  • 사용자 경험과 접근성에 중점을 둔 프로젝트

고려 사항

  • 테마 지속성에 대한 수동 처리가 필요합니다
  • 시스템 테마 감지를 위한 추가 로직이 필요할 수 있습니다
  • 기본적인 낮/밤 테마 전환에 제한됨
  • 장치 시스템 설정과 자동으로 동기화되지 않습니다
  • 사용자 정의 스타일링에는 추가 코드가 필요할 수 있습니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

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;
    }
  }),
);

Contributions

카테고리

의존성

의존성 목록 2 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.