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.