如何添加天数或无限小时数CupertinoTimerPicker
?或者这是不使用添加小时和分钟的任何方式CupertinoTimerPicker
Widget time() {
return CupertinoTimerPicker(
mode: CupertinoTimerPickerMode.hm,
minuteInterval: 1,
secondInterval: 1,
initialTimerDuration: initialtimer,
onTimerDurationChanged: (Duration changedtimer) {
setState(() {
initialtimer = changedtimer;
});
},
);
}