{"id":19682686,"url":"https://github.com/yako-dev/flutter-yako-theme-switch","last_synced_at":"2026-04-13T00:12:14.201Z","repository":{"id":179960294,"uuid":"664372645","full_name":"yako-dev/flutter-yako-theme-switch","owner":"yako-dev","description":"Just a cool switch for your app's theme","archived":false,"fork":false,"pushed_at":"2023-10-19T10:44:43.000Z","size":953,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-10T06:11:17.323Z","etag":null,"topics":["android","dart","flutter","flutter-package","flutter-ui","ios","mobile","package","ui","ui-components","widget"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/yako_theme_switch","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yako-dev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-09T19:21:55.000Z","updated_at":"2024-10-23T04:45:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"78d17759-0755-4046-b65d-f07a834cd1c2","html_url":"https://github.com/yako-dev/flutter-yako-theme-switch","commit_stats":null,"previous_names":["yako-dev/flutter-yako-theme-switch"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yako-dev%2Fflutter-yako-theme-switch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yako-dev%2Fflutter-yako-theme-switch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yako-dev%2Fflutter-yako-theme-switch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yako-dev%2Fflutter-yako-theme-switch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yako-dev","download_url":"https://codeload.github.com/yako-dev/flutter-yako-theme-switch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240991072,"owners_count":19890008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","dart","flutter","flutter-package","flutter-ui","ios","mobile","package","ui","ui-components","widget"],"created_at":"2024-11-11T18:11:41.728Z","updated_at":"2026-04-13T00:12:14.178Z","avatar_url":"https://github.com/yako-dev.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yako Theme Switch\n\nJust a cool switch for your app's theme\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/yako-dev/flutter-yako-theme-switch/blob/main/assets/showcase_animation.gif?raw=true\"\u003e\n\u003c/p\u003e\n\n\n## Installing:\nIn your pubspec.yaml\n```yaml\ndependencies:\n  yako_theme_switch: ^2.0.0\n```\n\u003cbr\u003e\n\n## Basic Usage:\n```dart\n    YakoThemeSwitch(\n      enabled: themeMode == ThemeMode.light,\n      onChanged: (bool value) {\n        setState(() =\u003e themeMode = value ? ThemeMode.light : ThemeMode.dark);\n      },\n    );\n```\n## Advanced usage\n```dart\n    YakoThemeSwitch(\n      enabled: themeMode == ThemeMode.light,\n      onChanged: (bool value) {\n        setState(() =\u003e themeMode = value ? ThemeMode.light : ThemeMode.dark);\n      },\n      width: 50,\n      enabledBackgroundColor: Colors.blue,\n      disabledBackgroundColor: Colors.red,\n      enabledToggleColor: Colors.white,\n      disabledToggleColor: Colors.white,\n      animationDuration: const Duration(milliseconds: 300),\n      enabledToggleBorderRadius: 8,\n    ),\n```\n\n\u003cbr\u003e\n\n\n## Check out other Yako packages:\n\n[Badges](https://pub.dev/packages/badges)\n\n[Settings UI](https://pub.dev/packages/settings_ui)\n\n[Status Alert](https://pub.dev/packages/status_alert)\n\n[Full Screen Menu](https://pub.dev/packages/full_screen_menu)\n\n[Diagonal decoration](https://pub.dev/packages/diagonal_decoration) \n\nand more to come!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyako-dev%2Fflutter-yako-theme-switch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyako-dev%2Fflutter-yako-theme-switch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyako-dev%2Fflutter-yako-theme-switch/lists"}