{"id":32293777,"url":"https://github.com/jeebb/nhabe","last_synced_at":"2026-02-22T03:41:32.689Z","repository":{"id":56835394,"uuid":"280446836","full_name":"jeebb/nhabe","owner":"jeebb","description":"An elegant calendar widget for your Flutter app","archived":false,"fork":false,"pushed_at":"2021-08-04T14:31:10.000Z","size":217,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-08-20T22:39:40.300Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/jeebb.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}},"created_at":"2020-07-17T14:33:45.000Z","updated_at":"2021-08-04T14:27:43.000Z","dependencies_parsed_at":"2022-09-02T03:50:39.851Z","dependency_job_id":null,"html_url":"https://github.com/jeebb/nhabe","commit_stats":null,"previous_names":[],"tags_count":2,"template":null,"template_full_name":null,"purl":"pkg:github/jeebb/nhabe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeebb%2Fnhabe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeebb%2Fnhabe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeebb%2Fnhabe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeebb%2Fnhabe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeebb","download_url":"https://codeload.github.com/jeebb/nhabe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeebb%2Fnhabe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29704418,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T03:17:42.375Z","status":"ssl_error","status_checked_at":"2026-02-22T03:17:31.622Z","response_time":110,"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":[],"created_at":"2025-10-23T03:36:18.689Z","updated_at":"2026-02-22T03:41:32.684Z","avatar_url":"https://github.com/jeebb.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Introduction\n\nAn elegant calendar widget for your Flutter app named after a river in Vietnam (_**Nha Be river**_).\n\n## Features\n- Navigation between the months (buttons \u0026 gesture)\n- Event indicator for specific days of a month\n- Specific UI customizations (weekday labels, first day of week, month picker, 3rd-party header ...)\n- Wanna have a feature? Just open a ticket [here](https://github.com/jeebb/nhabe/issues)\n\n## Getting Started\n1\\. Declare the dependency in **pubspec.yaml**:\n\n```dart\ndependencies: \n    nhabe: \u003cversion\u003e\n```\n\n2\\. Import the package:\n```dart\nimport 'package:nhabe/nhabe.dart';\n```\n\n3\\. Add the component to your screen by creating a new **NBCalendar** widget:\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:nhabe/nhabe.dart';\n\nclass SimpleCalendar extends StatefulWidget {\n  @override\n  State\u003cStatefulWidget\u003e createState() =\u003e _SimpleCalendarState();\n}\n\nclass _SimpleCalendarState extends State\u003cSimpleCalendar\u003e {\n  @override\n  Widget build(_) =\u003e Scaffold(\n        appBar: AppBar(\n          title: Text('Simple Calendar Demo'),\n        ),\n        body: SafeArea(\n          child: Container(\n            child: NBCalendar(),\n          ),\n        ),\n      );\n}\n\n```\nExample screenshots:\n\n![Example Image](https://github.com/jeebb/nhabe/raw/master/example/screenshots/simple_use_case.png)\n\n4\\. More examples could be found at: [https://github.com/jeebb/nhabe/tree/master/example](https://github.com/jeebb/nhabe/tree/master/example)\n\n![Example App](https://github.com/jeebb/nhabe/raw/master/example/screenshots/example_app.png)\n\n## Widget Properties\n| Property | Type | Description | Default Value |\n| --- | --- | --- | ---|\n| titleBuilder | CalendarTitleBuilder | custom builder for the header title. e.g. changing the date format | https://github.com/jeebb/nhabe/blob/c465645cb2c8070c0402bb77b5ccf67ebe985a84/lib/src/nb_calendar.dart#L231 |\n| showHeader | bool | whether to show the calendar header | true |\n| weekDayLabels | Map\u003cint, String\u003e | label for the weekdays | M, T, W, T, F, S, S|\n| firstDayOfWeek | int | specify the first day of week: DateTime.monday / DateTime.tuesday / ... / DateTime.sunday | DateTime.sunday |\n| monthPickerMode | MonthPickerMode | switch between two different UIs for month picker (simple view \u0026 grid view) | grid view |\n| selectedMonthAndYear | MonthAndYear | selected month \u0026 year | current month |\n| selectedDate | DateTime | selected date | today |\n| circleSelectedDay | bool | draw a circle around the selected day | true |\n| showInActiveMonthDays | bool | show the days from previous / next month | true |\n| dayEventIndicator | Map\u003cDate, int\u003e | indicate which day contains the event | https://github.com/jeebb/nhabe/blob/c465645cb2c8070c0402bb77b5ccf67ebe985a84/lib/src/nb_calendar.dart#L67 |\n| eventIndicatorColor | Color | color of the event indicator | primary theme color |\n| onMonthChanged | MonthChangedCallBack | callback for month-changed event | |\n| onDateSelected | OnDateSelected | callback for date-selected event | |\n| swipeToNavigate | bool | wipe left / right to change the month | true |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeebb%2Fnhabe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeebb%2Fnhabe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeebb%2Fnhabe/lists"}