Flutter package to display Nepali Calendar. Inspired greatly from nepali_date_picker and table_calendar.
Highly customizable, feature-packed Flutter Nepali Calendar package.
- Extensive, yet easy to use API
- View in Unicode Nepali or Roman literals
- Gesture handling
- Specifying available date range
- Highly customizable
Make sure to check out example project. For additional info please refer to API docs.
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.