datetime_picker_formfield icon indicating copy to clipboard operation
datetime_picker_formfield copied to clipboard

Cant close a cupertino date time

Open gogreen42 opened this issue 5 years ago • 1 comments

Hi! It is impossible to close a cupertino date picker on Android by tap on a date.

gogreen42 avatar Jan 14 '20 20:01 gogreen42

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

ndrdmarshmallow avatar Apr 05 '20 19:04 ndrdmarshmallow