{"id":29138117,"url":"https://github.com/workwithafridi/compass_view-package","last_synced_at":"2025-07-30T03:03:46.354Z","repository":{"id":291263671,"uuid":"977095741","full_name":"WorkWithAfridi/compass_view-Package","owner":"WorkWithAfridi","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-03T14:12:55.000Z","size":15222,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-30T13:05:24.545Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/WorkWithAfridi.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,"zenodo":null}},"created_at":"2025-05-03T12:15:54.000Z","updated_at":"2025-05-03T14:12:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"7d8a2e7e-b80d-4765-b656-57224c63538e","html_url":"https://github.com/WorkWithAfridi/compass_view-Package","commit_stats":null,"previous_names":["workwithafridi/compass_view-package"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WorkWithAfridi/compass_view-Package","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WorkWithAfridi%2Fcompass_view-Package","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WorkWithAfridi%2Fcompass_view-Package/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WorkWithAfridi%2Fcompass_view-Package/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WorkWithAfridi%2Fcompass_view-Package/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WorkWithAfridi","download_url":"https://codeload.github.com/WorkWithAfridi/compass_view-Package/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WorkWithAfridi%2Fcompass_view-Package/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267802321,"owners_count":24146489,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-06-30T13:05:23.535Z","updated_at":"2025-07-30T03:03:46.311Z","avatar_url":"https://github.com/WorkWithAfridi.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📍 compass_view\n\nA customizable and lightweight Flutter package built on top of flutter_compass, providing beautiful compass UI components and direction/heading utilities out of the box. Designed for easy integration and scalability, this package makes it simple to build compass-based applications with minimal effort.\n\n## ✨ Features\n\n- 🔄 Real-time compass rotation with smooth animations.\n- 🧭 Beautiful customizable compass painter widget.\n- 📐 Heading/degree calculation with cardinal directions (N, NE, SW, etc).\n- ⚠️ Built-in error handling with customizable `errorBuilder`.\n- 🧱 Modular components for easy integration and reuse.\n\n## Images/ Screenshots\n\n\u003cdiv align=\"left\" style=\"display: flex; gap: 10px;\"\u003e\n  \u003cimg src=\"https://github.com/WorkWithAfridi/compass_view-Package/blob/master/assets/IMG_0351.PNG?raw=true\" width=\"20%\" /\u003e\n  \u003cimg src=\"https://github.com/WorkWithAfridi/compass_view-Package/blob/master/assets/ezgif-6ff64b43964004.gif?raw=true\" width=\"20%\" /\u003e\n\u003c/div\u003e\n\u003cbr /\u003e\n\n## 📦 Installation\n\nAdd the following line to your `pubspec.yaml`:\n\n```yaml\ndependencies:\n  compass_view: ^0.0.1 # replace with latest version\n```\n\n```bash\nflutter pub get\n```\n\n## 🧑‍💻 Usage\n\n🔁 Compass with Live Heading\n\n```dart\nimport 'package:compass_view/compass_view.dart';\n\nCompassHeading(\n    textStyle: TextStyle(\n        fontSize: 32, \n        fontWeight: FontWeight.bold, \n        color: Colors.black\n    ),\n),\n\n```\n\n🎨 Display the Compass Only (No Heading)\n\n```dart\nimport 'package:compass_view/compass_view.dart';\n\nCompassWidget(\n  size: 100,\n  backgroundColor: Colors.black,\n  markerColor: Colors.black,\n  textStyle: TextStyle(fontSize: 22, fontWeight: FontWeight.bold, color: Colors.black),\n)\n\n```\n\n## ⚙️ Permissions\nEnsure your app requests sensor permissions on Android and iOS.\n\nAndroid\nAdd the following to AndroidManifest.xml:\n```xml\n\u003cuses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/\u003e\n\u003cuses-feature android:name=\"android.hardware.sensor.compass\" android:required=\"false\" /\u003e\n```\n\niOS\n```xml\n\u003ckey\u003eNSLocationWhenInUseUsageDescription\u003c/key\u003e\n\u003cstring\u003eThis app uses your location to show compass heading.\u003c/string\u003e\n```\n\n## 🙌 Contributing\nPull requests and suggestions are welcome! Please open issues to report bugs or feature requests.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkwithafridi%2Fcompass_view-package","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworkwithafridi%2Fcompass_view-package","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkwithafridi%2Fcompass_view-package/lists"}