v3.0.1
yako_theme_switch
앱의 테마를 변경하는 데 사용할 수 있는 멋진 외관의 커스텀 스위치
31좋아요 2430일 다운로드160Pub 점수
AndroidiOSWebmacOSWindowsLinux
앱 테마용 멋진 스위치
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
Just a cool switch for your app's theme

In your pubspec.yaml
dependencies:
yako_theme_switch: ^2.0.0
YakoThemeSwitch(
enabled: themeMode == ThemeMode.light,
onChanged: (bool value) {
setState(() => themeMode = value ? ThemeMode.light : ThemeMode.dark);
},
);
YakoThemeSwitch(
enabled: themeMode == ThemeMode.light,
onChanged: (bool value) {
setState(() => themeMode = value ? ThemeMode.light : ThemeMode.dark);
},
width: 50,
enabledBackgroundColor: Colors.blue,
disabledBackgroundColor: Colors.red,
enabledToggleColor: Colors.white,
disabledToggleColor: Colors.white,
animationDuration: const Duration(milliseconds: 300),
enabledToggleBorderRadius: 8,
),
and more to come!
의존성 목록 5 개
{"sdk":"flutter"}^2.2.3{"sdk":"flutter"}^1.0.4^6.0.0사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗