Skip to content

LoquatZ/flutter_lunar_datetime_picker

Repository files navigation

Flutter 农历日期选择器

阳历显示 阴历显示

引用

flutter_lunar_datetime_picker: ^last_version

使用

DatePicker.showDatePicker(
            context,
            lunarPicker: false,
            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()}");
            },
          );

感谢

About

📅 Flutter 阳历+农历 日期选择器

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages