{"id":32276263,"url":"https://github.com/woo3145/flutter_vertical_heatmap","last_synced_at":"2026-02-21T07:02:44.672Z","repository":{"id":239184822,"uuid":"798799033","full_name":"woo3145/flutter_vertical_heatmap","owner":"woo3145","description":"🐙 A vertical heatmap chart package for Flutter, offering beautifully crafted UI with ultimate flexibility! ","archived":false,"fork":false,"pushed_at":"2024-05-16T14:49:53.000Z","size":305,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-17T12:51:05.413Z","etag":null,"topics":["dart","flutter","flutter-heatmap","flutter-package","flutter-ui-widgets","heatmap"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/flutter_vertical_heatmap","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/woo3145.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-05-10T13:52:05.000Z","updated_at":"2024-05-17T12:40:47.000Z","dependencies_parsed_at":"2024-05-16T12:44:18.701Z","dependency_job_id":null,"html_url":"https://github.com/woo3145/flutter_vertical_heatmap","commit_stats":null,"previous_names":["woo3145/flutter_vertical_heatmap"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/woo3145/flutter_vertical_heatmap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woo3145%2Fflutter_vertical_heatmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woo3145%2Fflutter_vertical_heatmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woo3145%2Fflutter_vertical_heatmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woo3145%2Fflutter_vertical_heatmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/woo3145","download_url":"https://codeload.github.com/woo3145/flutter_vertical_heatmap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woo3145%2Fflutter_vertical_heatmap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29675919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T06:23:40.028Z","status":"ssl_error","status_checked_at":"2026-02-21T06:23:39.222Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["dart","flutter","flutter-heatmap","flutter-package","flutter-ui-widgets","heatmap"],"created_at":"2025-10-22T23:59:42.565Z","updated_at":"2026-02-21T07:02:44.666Z","avatar_url":"https://github.com/woo3145.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flutter Vertical Heatmap\n\n🐙 A vertical heatmap chart package for Flutter, offering beautifully crafted UI with ultimate flexibility!\n\n![heatmap](https://github.com/woo3145/flutter_vertical_heatmap/assets/100907484/c347d1e8-5051-4b7a-8c1b-70843e5a9df7)\n\n## Getting started\n\n### Depend on it.\n\n```\nflutter pub add flutter_vertical_heatmap\n```\n\n**or**\n\nAdd below line to your personal package's `pubspec.yaml`.\n\n```yaml\ndependencies:\n  flutter_vertical_heatmap: ^1.0.3\n```\n\nAnd run `flutter pub get` to install.\n\n### Import it.\n\n```dart\nimport 'package:flutter_vertical_heatmap/flutter_vertical_heatmap.dart';\n```\n\n## Usage\n\n```dart\nclass HomePage extends StatefulWidget {\n  const HomePage({super.key});\n\n  @override\n  State\u003cHomePage\u003e createState() =\u003e _HomePageState();\n}\n\nclass _HomePageState extends State\u003cHomePage\u003e {\n  late Map\u003cDateTime, int\u003e datasets = {};\n\n  @override\n  void initState() {\n    super.initState();\n    var now = DateTime.now();\n    datasets[DateTime(now.year, now.month, now.day)] = 1;\n    datasets[DateTime(now.year, now.month, now.day - 1)] = 2;\n    datasets[DateTime(now.year, now.month, now.day - 2)] = 3;\n    datasets[DateTime(now.year, now.month, now.day - 3)] = 4;\n  }\n\n  @override\n  Widget build(BuildContext context) {\n    return Scaffold(\n      appBar: AppBar(\n        backgroundColor: Theme.of(context).colorScheme.inversePrimary,\n        title: const Text('Flutter Vertical Heatmap'),\n      ),\n      body: SingleChildScrollView(\n        child: Center(\n          child: Column(\n            mainAxisAlignment: MainAxisAlignment.center,\n            children: [\n              const SizedBox(height: 80),\n              HeatMap(\n                startDate: HeatMapUtils.oneYearBefore(DateTime.now()),\n                endDate: DateTime.now(),\n                monthLabel: HeatMapDefault.monthLabel,\n                weekLabel: HeatMapDefault.weekLabel,\n                datasets: datasets,\n                size: 32,\n                // If you do not want to use a color tip, leave colorTipSize blank or pass null.\n                colorTipSize: 20, \n                margin: const EdgeInsets.all(3),\n                colorsets: {\n                  1: Colors.green.shade100,\n                  3: Colors.green.shade300,\n                  5: Colors.green.shade500,\n                  7: Colors.green.shade700,\n                },\n                colorTipLabel: const [\"0~3\", \"3~5\", \"5~7\", \"7+\"],\n                onClick: (value) {\n                  setState(() {\n                    datasets[value] =\n                        datasets[value] != null ? datasets[value]! + 1 : 1;\n                  });\n                  ScaffoldMessenger.of(context).clearSnackBars();\n                  ScaffoldMessenger.of(context)\n                      .showSnackBar(SnackBar(content: Text(value.toString())));\n                },\n              ),\n              const SizedBox(height: 80),\n            ],\n          ),\n        ),\n      ),\n    );\n  }\n}\n```\n\n## License\n\n```text\nMIT License\n\nCopyright (c) 2024 Lee Chang Woo\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoo3145%2Fflutter_vertical_heatmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwoo3145%2Fflutter_vertical_heatmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoo3145%2Fflutter_vertical_heatmap/lists"}