{"id":20609504,"url":"https://github.com/fluttercommunity/flutter_wear_plugin","last_synced_at":"2025-04-07T07:15:29.510Z","repository":{"id":40976866,"uuid":"131774057","full_name":"fluttercommunity/flutter_wear_plugin","owner":"fluttercommunity","description":"A plugin that offers widgets for Wear OS by Google","archived":false,"fork":false,"pushed_at":"2024-03-10T12:32:46.000Z","size":143,"stargazers_count":138,"open_issues_count":14,"forks_count":80,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-03-31T06:07:36.775Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/wear","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fluttercommunity.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":"2018-05-01T23:36:08.000Z","updated_at":"2025-03-19T07:02:18.000Z","dependencies_parsed_at":"2024-06-19T01:53:07.073Z","dependency_job_id":null,"html_url":"https://github.com/fluttercommunity/flutter_wear_plugin","commit_stats":{"total_commits":18,"total_committers":3,"mean_commits":6.0,"dds":"0.38888888888888884","last_synced_commit":"2d087627a6f5c32245a7f19eed999dee6b3c5085"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluttercommunity%2Fflutter_wear_plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluttercommunity%2Fflutter_wear_plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluttercommunity%2Fflutter_wear_plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluttercommunity%2Fflutter_wear_plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluttercommunity","download_url":"https://codeload.github.com/fluttercommunity/flutter_wear_plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247608153,"owners_count":20965952,"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":["hacktoberfest"],"created_at":"2024-11-16T10:13:45.019Z","updated_at":"2025-04-07T07:15:29.482Z","avatar_url":"https://github.com/fluttercommunity.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flutter Wear Plugin\n\nA plugin that offers Flutter support for Wear OS by Google (Android Wear).\n\n__To use this plugin you must set your `minSdkVersion` to `23`.__\n\n\n# Tutorial\n\nhttps://medium.com/flutter-community/flutter-building-wearos-app-fedf0f06d1b4\n\n\n# Widgets\n\nThere currently three widgets provided by the plugin:\n\n* WatchShape: determines whether the watch is square or round.\n* AmbientMode: builder that provides what mode the watch is in. The widget will rebuild whenever the watch changes mode.\n\n\n## Example\n\nTypically, all three of these widgets would be used near the root of your app's widget tree:\n\n```dart\nclass WatchScreen extends StatelessWidget {\n  @override\n  Widget build(BuildContext context) {\n    return WatchShape(\n      builder: (BuildContext context, WearShape shape, Widget? child) {\n        return AmbientMode(\n          builder: (context, mode, child) {\n            return mode == Mode.active ? ActiveWatchFace() : AmbientWatchFace();\n          },\n        );\n      },\n    );\n  }\n}\n```\n\n# Old Requirements\n\n**You DO NOT need to modify these files anymore:**\n\nYou can remove all the old wearable references from the previous release. This plugin\nautomatically adds all required references and settings.\n\n1. `build.gradle`: _wearable dependencies_\n\n2. `AndroidManifest.xml`: _`WAKE_LOCK` and `android.hardware.type.watch`\n   and `com.google.android.wearable.standalone`._\n\n3. `MainActivity.kt` or `MainActivity.java`: _all `AmbientMode` references._\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluttercommunity%2Fflutter_wear_plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluttercommunity%2Fflutter_wear_plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluttercommunity%2Fflutter_wear_plugin/lists"}