{"id":16216748,"url":"https://github.com/skyost/daynightswitcher","last_synced_at":"2025-03-19T10:30:36.374Z","repository":{"id":54174199,"uuid":"245437772","full_name":"Skyost/DayNightSwitcher","owner":"Skyost","description":"A simple day / night switcher widget made in pure Dart.","archived":true,"fork":false,"pushed_at":"2023-03-21T22:45:05.000Z","size":2394,"stargazers_count":39,"open_issues_count":5,"forks_count":16,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-28T17:51:00.359Z","etag":null,"topics":["dart","day-night-mode","day-night-switch","flutter","library"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/day_night_switcher","language":"Dart","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/Skyost.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"Skyost","patreon":null,"open_collective":null,"ko_fi":"Skyost","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["paypal.me/Skyost","www.clipeee.com/creator/skyost","utip.io/skyost"]}},"created_at":"2020-03-06T14:16:58.000Z","updated_at":"2025-02-17T18:10:36.000Z","dependencies_parsed_at":"2024-10-22T17:34:42.372Z","dependency_job_id":null,"html_url":"https://github.com/Skyost/DayNightSwitcher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Skyost%2FDayNightSwitcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Skyost%2FDayNightSwitcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Skyost%2FDayNightSwitcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Skyost%2FDayNightSwitcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Skyost","download_url":"https://codeload.github.com/Skyost/DayNightSwitcher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243982177,"owners_count":20378604,"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":["dart","day-night-mode","day-night-switch","flutter","library"],"created_at":"2024-10-10T11:22:03.687Z","updated_at":"2025-03-19T10:30:35.485Z","avatar_url":"https://github.com/Skyost.png","language":"Dart","funding_links":["https://github.com/sponsors/Skyost","https://ko-fi.com/Skyost","paypal.me/Skyost","www.clipeee.com/creator/skyost","utip.io/skyost","https://paypal.me/Skyost"],"categories":[],"sub_categories":[],"readme":"# DayNightSwitcher\n\nJust a simple simple day / night switcher widget made in pure Dart.\nIt allows you to quickly show a beautiful dark mode switcher widget to your users.\n\n\u003cimg src=\"https://github.com/Skyost/DayNightSwitcher/raw/master/screenshots/preview.gif\" height=\"500\"\u003e\n\n## How to use ?\n\nUsing this plugin is pretty straightforward. You have two widgets : `DayNightSwitcher` and `DayNightSwitcherIcon`.\n\nHere's a sample code for `DayNightSwitcher` :\n\n```dart\nDayNightSwitcher(\n  isDarkModeEnabled: isDarkModeEnabled,\n  onStateChanged: (isDarkModeEnabled) {\n    setState(() {\n      this.isDarkModeEnabled = isDarkModeEnabled;\n    });\n  },\n),\n```\n\nThe other one is very similar :\n\n```dart\nDayNightSwitcherIcon(\n  isDarkModeEnabled: isDarkModeEnabled,\n  onStateChanged: (isDarkModeEnabled) {\n    setState(() {\n      this.isDarkModeEnabled = isDarkModeEnabled;\n    });\n  },\n),\n```\n\n## Contributions\n\nYou have a lot of options to contribute to this project ! You can :\n\n* [Fork it](https://github.com/Skyost/DayNightSwitcher/fork) on Github.\n* [Submit](https://github.com/Skyost/DayNightSwitcher/issues/new/choose) a feature request or a bug report.\n* [Donate](https://paypal.me/Skyost) to the developer.\n* [Watch a little ad](https://www.clipeee.com/creator/skyost) on Clipeee.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyost%2Fdaynightswitcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskyost%2Fdaynightswitcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyost%2Fdaynightswitcher/lists"}