sanjeevbishnoi / clean_nepali_calendar

Highly customizable Nepali Calendar package.

Home Page:https://pub.dev/packages/clean_nepali_calendar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clean Nepali Calendar

Flutter package to display Nepali Calendar. Inspired greatly from nepali_date_picker and table_calendar.

Pub Package Publish

Highly customizable, feature-packed Flutter Nepali Calendar package.

Image Image Image

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. For additional info please refer to API docs.

Installation

Add to pubspec.yaml:

dependencies:
  clean_nepali_calendar: latest

Then import it to your project:

import 'package:clean_nepali_calendar/clean_nepali_calendar.dart';

Then create and use the NepaliCalendarController and instantiate the CleanNepaliCalendar widget. works out of box;

@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 more detailed information.

About

Highly customizable Nepali Calendar package.

https://pub.dev/packages/clean_nepali_calendar

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Dart 95.3%Language:CMake 1.7%Language:Kotlin 1.0%Language:Swift 0.9%Language:C 0.7%Language:C++ 0.4%Language:Objective-C 0.1%