Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lohanidamodar/clean_nepali_calendar
Highly customizable Nepali Calendar package.
https://github.com/lohanidamodar/clean_nepali_calendar
flutter flutter-nepal flutter-nepali-calendar flutter-package flutterdev nepali-calendar
Last synced: 12 days ago
JSON representation
Highly customizable Nepali Calendar package.
- Host: GitHub
- URL: https://github.com/lohanidamodar/clean_nepali_calendar
- Owner: lohanidamodar
- License: bsd-3-clause
- Created: 2020-03-21T08:15:59.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-29T09:43:39.000Z (5 months ago)
- Last Synced: 2024-12-10T08:42:29.539Z (22 days ago)
- Topics: flutter, flutter-nepal, flutter-nepali-calendar, flutter-package, flutterdev, nepali-calendar
- Language: Dart
- Homepage: https://pub.dev/packages/clean_nepali_calendar
- Size: 1.96 MB
- Stars: 17
- Watchers: 2
- Forks: 25
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Clean Nepali Calendar
Flutter package to display Nepali Calendar. Inspired greatly from [nepali_date_picker](https://pub.dev/packages/nepali_date_picker) and [table_calendar](https://pub.dev/packages/table_calendar).
[![Pub Package](https://img.shields.io/pub/v/clean_nepali_calendar.svg?style=flat-square)](https://pub.dev/packages/clean_nepali_calendar) ![Publish](https://github.com/lohanidamodar/clean_nepali_calendar/workflows/Publish/badge.svg)
Highly customizable, feature-packed Flutter Nepali Calendar package.
| ![Image](https://raw.githubusercontent.com/lohanidamodar/clean_nepali_calendar/master/demo/demo1.gif) | ![Image](https://raw.githubusercontent.com/lohanidamodar/clean_nepali_calendar/master/demo/demo2.png) | ![Image](https://raw.githubusercontent.com/lohanidamodar/clean_nepali_calendar/master/demo/demo3.png) |
| ------------- |:-------------:| -----:|## Features
* Extensive, yet easy to use API
* View in Unicode Nepali or Roman literals
* Gesture handling
* Specifying available date range
* Highly customizable## Usage
Make sure to check out [example project](https://github.com/lohanidamodar/clean_nepali_calendar/tree/master/example).
For additional info please refer to [API docs](https://pub.dartlang.org/documentation/clean_nepali_calendar/latest/clean_nepali_calendar/clean_nepali_calendar-library.html).### Installation
Add to pubspec.yaml:
```yaml
dependencies:
clean_nepali_calendar: latest
```Then import it to your project:
```dart
import 'package:clean_nepali_calendar/clean_nepali_calendar.dart';
```Then create and use the `NepaliCalendarController` and instantiate the `CleanNepaliCalendar` widget. works out of box;
```dart
@override
void initState() {
super.initState();
_calendarController = NepaliCalendarController();
}@override
Widget build(BuildContext context) {
return CleanNepaliCalendar(
controller: _calendarController,
onDaySelected: (day){
print(day.toString());
},
);
}
```Check out [example project](https://github.com/lohanidamodar/clean_nepali_calendar/tree/master/example) more detailed information.