Last updated:
0 purchases
lunar datetime picker
Flutter 农历日期选择器 #
| 阳历显示 | 阴历显示 |
| ------------------------- | ------------------------------- | -------------------------------- |
| | | |
引用 #
lunar_datetime_picker: ^0.0.3
copied to clipboard
使用 #
DatePicker.showDatePicker(
context,
lunarPicker: false,
theme: const LunarDatePickerTheme(
doneStyle: TextStyle(color: Colors.green)),
dateInitTime: DateInitTime(
currentTime: DateTime.now(),
maxTime: DateTime(2026, 12, 12),
minTime: DateTime(2018, 3, 4)),
onConfirm: (time) {
debugPrint(time.toString());
},
onChanged: (time) {
debugPrint("change:${time.toString()}");
},
);
copied to clipboard
感谢 #
flutter_datetime_picker 提供 PickerView 方案
lunar_flutter 提供农历日期算法
flutter_lunar_datetime_picker 提供农历日期
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.