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 ↗