v2.0.1clean_nepali_calendar
高度可自訂的尼泊爾日曆套件,可在您的Flutter應用中顯示尼泊爾比克拉姆薩巴特日曆。
31喜歡 57近 30 天下載70Pub 分數
平台暫無資料
高度可自訂的尼泊爾日曆套件。
{"sdk":"flutter"}^3.0.8{"sdk":"flutter"}^6.0.0以下為英文專案原文快照,最新內容請造訪 GitHub。
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 |
|---|
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());
},
onMonthChanged: (month) {
print(month.toString());
},
);
}
Check out example project more detailed information.