Clean Nepali Calendar
Flutter package to display Nepali Calendar. Inspired greatly from nepali_date_picker and table_calendar.
Highly customizable, feature-packed Flutter Nepali Calendar package.
Features
- Extensive, yet easy to use API
- View in Unicode Nepali or Roman literals
- Gesture handling
- Specifying available date range
- Highly customizable
Usage
Installation
Add to pubspec.yaml:
dependencies:
nepali_calendar_flutter: latest
Then import it to your project:
import 'package:nepali_calendar_flutter/nepali_calendar_flutter.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 NepaliCalendar(
controller: _calendarController,
onDaySelected: (day){
print(day.toString());
},
);
}