lunar_datetime_picker 0.0.3 copy "lunar_datetime_picker: ^0.0.3" to clipboard
lunar_datetime_picker: ^0.0.3 copied to clipboard

A new Flutter lunar_datetime_picker.

Flutter 农历日期选择器 #

| 阳历显示 | 阴历显示 | | ------------------------- | ------------------------------- | -------------------------------- | | | | |

引用 #

lunar_datetime_picker: ^0.0.3

使用 #

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()}");
            },
          );

感谢 #

2
likes
140
points
24
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter lunar_datetime_picker.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, lunar, plugin_platform_interface

More

Packages that depend on lunar_datetime_picker