yako_theme_switch

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

yako theme switch

Yako Theme Switch #
Just a cool switch for your app's theme



Installing: #
In your pubspec.yaml
dependencies:
yako_theme_switch: ^1.0.0
copied to clipboard

Basic Usage: #
YakoThemeSwitch(
enabled: themeMode == ThemeMode.light,
onChanged: ({bool? changed}) {},
);
copied to clipboard
Advanced usage #
YakoThemeSwitch(
enabled: themeMode == ThemeMode.light,
onChanged: ({bool? changed}) {},
width: 50,
enabledBackgroundColor: Colors.blue,
disabledBackgroundColor: Colors.red,
enabledToggleColor: Colors.white,
disabledToggleColor: Colors.white,
animationDuration: const Duration(milliseconds: 300),
enabledToggleBorderRadius: 8,
),
copied to clipboard

Check out other Yako packages: #
Badges
Settings UI
Status Alert
Full Screen Menu
Diagonal decoration
and more to come!

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.