Open gogreen42 opened 4 years ago
I have same issue I am not able to close the cupertino date picker.
DateTimeField(
initialValue: initialValue,
format: format,
onShowPicker: (context, currentValue) async {
await showCupertinoModalPopup(
context: context,
useRootNavigator: false,
builder: (context) {
return CupertinoDatePicker(
onDateTimeChanged: (DateTime date) {
initialValue = date;
},
);
});
setState(() {});
return initialValue;
},
);
Hi! It is impossible to close a cupertino date picker on Android by tap on a date.