{"id":21834566,"url":"https://github.com/odd-io/flutter_occurrence_time_range_selector","last_synced_at":"2026-05-03T07:38:06.152Z","repository":{"id":249818923,"uuid":"830501216","full_name":"odd-io/flutter_occurrence_time_range_selector","owner":"odd-io","description":"Flutter widget that lets the user \"select\" a time range while displaying an events occurrence chart.","archived":false,"fork":false,"pushed_at":"2026-03-24T09:34:56.000Z","size":318,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-25T11:55:48.816Z","etag":null,"topics":["flutter","time-range","time-series"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/flutter_occurrence_time_range_selector","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/odd-io.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":"2024-07-18T11:55:22.000Z","updated_at":"2026-03-24T09:34:59.000Z","dependencies_parsed_at":"2024-07-30T14:31:16.997Z","dependency_job_id":"178d3505-ce67-4e2d-9caa-c67f5bb97a1a","html_url":"https://github.com/odd-io/flutter_occurrence_time_range_selector","commit_stats":null,"previous_names":["odd-io/flutter_occurrence_time_range_selector"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/odd-io/flutter_occurrence_time_range_selector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odd-io%2Fflutter_occurrence_time_range_selector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odd-io%2Fflutter_occurrence_time_range_selector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odd-io%2Fflutter_occurrence_time_range_selector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odd-io%2Fflutter_occurrence_time_range_selector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/odd-io","download_url":"https://codeload.github.com/odd-io/flutter_occurrence_time_range_selector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odd-io%2Fflutter_occurrence_time_range_selector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32562118,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["flutter","time-range","time-series"],"created_at":"2024-11-27T20:12:35.705Z","updated_at":"2026-05-03T07:38:06.124Z","avatar_url":"https://github.com/odd-io.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📊 Occurrence Time Range Selector\n\nA highly interactive and customizable Flutter widget that allows users to select a time range while visualizing event occurrences on a dynamic chart.\n\n![example_screenshot](https://github.com/user-attachments/assets/23c158d2-0a73-46fd-a872-6304ca07bc1b)\n\n## ✨ Features\n\n- 🔍 Zoom and pan functionality for detailed exploration\n- 📅 Dynamic time scale adapting to the selected range\n- 📊 Stacked vertical bars for multiple event classes\n- 🎨 Customizable colors and styles\n- ⏱️ Millisecond precision for high-detail views\n- 🖱️ Optimized for desktop use with mouse and keyboard\n\n## 🚀 Getting Started\n\n### Usage\n\nImport the package in your Dart code:\n\n```dart\nimport 'package:occurrence_time_range_selector/occurrence_time_range_selector.dart';\n```\n\nThen, you can use the `TimeRangeSelector` widget in your Flutter app:\n\n```dart\nfinal now = DateTime.now();\n\nTimeRangeSelector(\n  startDate: now.subtract(Duration(days: 30)),\n  endDate: now.add(Duration(days: 30)),\n  events: [\n    TimeEvent(tag: 'Class A', dateTime: now.subtract(Duration(days: 15))),\n    TimeEvent(tag: 'Class B', dateTime: now.subtract(Duration(days: 7))),\n    TimeEvent(tag: 'Class A', dateTime: now),\n    TimeEvent(tag: 'Class C', dateTime: now.add(Duration(days: 10))),\n    TimeEvent(tag: 'Class B', dateTime: now.add(Duration(days: 20))),\n  ],\n  tagStyles: const {\n    'Class A': TagStyle(color: Colors.blue),\n    'Class B': TagStyle(color: Colors.red),\n    'Class C': TagStyle(color: Colors.green),\n  },\n  onRangeChanged: (DateTime newStart, DateTime newEnd) {\n    print('New range: $newStart to $newEnd');\n  },\n  style: const TimelineStyle(\n    axisColor: Colors.black,\n    axisLabelStyle: TextStyle(fontSize: 18, color: Colors.black),\n    barSpacing: 2,\n    backgroundColor: Colors.white,\n  ),\n)\n```\n\n## 🛠️ Customization\n\nThe `TimeRangeSelector` widget offers various customization options:\n\n- `tagStyles`: Define colors for different event classes\n- `style`: Customize the appearance of the timeline\n- `minZoomFactor` and `maxZoomFactor`: Set limits for zooming capabilities\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](/LICENSE) file for details.\n\n---\n\nMade with ❤️ by [odd.io](https://odd.io/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodd-io%2Fflutter_occurrence_time_range_selector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fodd-io%2Fflutter_occurrence_time_range_selector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodd-io%2Fflutter_occurrence_time_range_selector/lists"}