We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8ce788e + 453b095 commit c8190fbCopy full SHA for c8190fb
lib/src/widgets/adaptive_date_picker.dart
@@ -150,7 +150,7 @@ class _CupertinoDatePickerContentState
150
),
151
CupertinoButton(
152
padding: EdgeInsets.zero,
153
- onPressed: () => Navigator.of(context).pop(true),
+ onPressed: () => Navigator.of(context).pop(selectedDate),
154
child: Text(
155
MaterialLocalizations.of(context).okButtonLabel,
156
style: const TextStyle(fontWeight: FontWeight.w600),
0 commit comments