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) {deb...
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()); }, onCha...
version: 1.0.5 homepage: https://github.com/LoquatZ/flutter_lunar_datetime_picker environment: sdk: '>=2.12.0 <4.0.0' flutter: ">=1.17.0" dependencies: flutter: sdk: flutter lunar: ^1.2.21 dev_dependencies: flutter_test: sdk: flutter flutter_lints: ^2.0.0 # For information on the ...
📅 Flutter 阳历+农历 日期选择器. Contribute to LoquatZ/flutter_lunar_datetime_picker development by creating an account on GitHub.
lunar:^1.7.1 lunar_date_picker.dart import'package:flutter/cupertino.dart';import'package:flutter/material.dart';import'package:lunar/lunar.dart';classLunarDatePickerextendsStatefulWidget{finalFunction(Lunar date)?onDateSelected;constLunarDatePicker({super.key,this.onDateSelected,});@overrideState<LunarDa...
description: A Flutter Lunar Datetime Picker. version: 0.0.1 version: 1.0.2 homepage: https://github.com/LoquatZ/flutter_lunar_datetime_picker environment: @@ -10,13 +10,13 @@ environment: dependencies: flutter: sdk: flutter lunar: ^1.2.21 dev_dependencies: flutter_test: sdk: flutt...
flutter_lunar_datetime_picker.dart pubspec.yaml test flutter_lunar_datetime_picker_test.dart 30 changes: 30 additions & 0 deletions 30 .gitignore Original file line numberDiff line numberDiff line change @@ -0,0 +1,30 @@ # Miscellaneous *.class *.log *.pyc *.swp .DS_Store ...
firstDate: DateTime(1900), lastDate: DateTime(2100), ); if (date == null) return; setState(() { selectedDate = date; }); } Future<void> _selectTime() async { final TimeOfDay time = await showTimePicker( context: context, initialTime: selectedTime, ...
(context:context,initialDate:selectedDate,firstDate:DateTime(1900),lastDate:DateTime(2100),);if(date==null)return;setState((){selectedDate=date;});}Future<void>_selectTime()async{final TimeOfDay time=awaitshowTimePicker(context:context,initialTime:selectedTime,);if(time==null)return;setState(()...
firstDate: DateTime(1900), lastDate: DateTime(2100), ); if (date == null) return; setState(() { selectedDate = date; }); } Future<void> _selectTime() async { final TimeOfDay time = await showTimePicker( context: context, initialTime: selectedTime, ...