FLUTTER ECOSYSTEM

yako-dev/flutter-yako-theme-switch

आपके ऐप के थीम के लिए एक शानदार स्विच

flutter-yako-theme-switch प्रोजेक्ट कवर
Stars
1
Forks
0
अंतिम पुश (UTC)
9 अप्रैल 2026
प्रोजेक्ट स्थिति
सक्रिय
Yako GitHub avatar
GITHUB Organization

Yako ↗

Great mobile apps with Flutter

भाषाएँC++CMakeDartHTMLSwiftCKotlinObjective-C

तकनीकी विषय

इस रिपॉज़िटरी के पैकेज

उपयोग की गई निर्भरताएँ

निर्भरता सूची 5 आइटम
  • flutter{"sdk":"flutter"}
  • flutter_svg^2.2.3
  • flutter_testडेवलपमेंट{"sdk":"flutter"}
  • mocktailडेवलपमेंट^1.0.4
  • flutter_lintsडेवलपमेंट^6.0.0

मूल README

यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।

README खोलें / बंद करें

Yako Theme Switch

Just a cool switch for your app's theme

https://github.com/yako-dev/flutter-yako-theme-switch/blob/main/assets/showcase_animation.gif?raw=true

Installing:

In your pubspec.yaml

dependencies:
  yako_theme_switch: ^2.0.0

Basic Usage:

    YakoThemeSwitch(
      enabled: themeMode == ThemeMode.light,
      onChanged: (bool value) {
        setState(() => themeMode = value ? ThemeMode.light : ThemeMode.dark);
      },
    );

Advanced usage

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

Check out other Yako packages:

Badges

Settings UI

Status Alert

Full Screen Menu

Diagonal decoration

and more to come!