Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example app: when creating a recurring event, the date picker to specify an end date does not display. #270

Closed
stephensamonte opened this issue Oct 25, 2020 · 0 comments

Comments

@stephensamonte
Copy link

Example app: when creating a recurring event, the date picker to specify an end date does not display.

When creating a recurring event selecting to end on a specified day, then selecting the date picker:

Screen Shot 2020-10-25 at 5 46 17 PM

the follow error occurs and the date picker is not shown:

E/flutter ( 8444): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: 'package:flutter/src/material/pickers/date_picker_dialog.dart': Failed assertion: line 127 pos 10: 'initialDate != null': is not true.
E/flutter ( 8444): #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
E/flutter ( 8444): #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
E/flutter ( 8444): #2      showDatePicker (package:flutter/src/material/pickers/date_picker_dialog.dart:127:10)
E/flutter ( 8444): #3      DateTimePicker._selectDate (package:device_calendar_example/presentation/date_time_picker.dart:27:26)
E/flutter ( 8444): #4      DateTimePicker.build.<anonymous closure> (package:device_calendar_example/presentation/date_time_picker.dart:56:15)
E/flutter ( 8444): #5      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:993:19)
E/flutter ( 8444): #6      _InkResponseState.build.<anonymous closure> (package:flutter/src/material/ink_well.dart:1111:38)
E/flutter ( 8444): #7      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:183:24)
E/flutter ( 8444): #8      TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:598:11)
E/flutter ( 8444): #9      BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:287:5)
E/flutter ( 8444): #10     BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:259:7)
E/flutter ( 8444): #11     GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:157:27)
E/flutter ( 8444): #12     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:362:20)
E/flutter ( 8444): #13     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:338:22)
E/flutter ( 8444): #14     RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:267:11)
E/flutter ( 8444): #15     GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:295:7)
E/flutter ( 8444): #16     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:240:7)
E/flutter ( 8444): #17     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:213:7)
E/flutter ( 8444): #18     _rootRunUnary (dart:async/zone.dart:1206:13)
E/flutter ( 8444): #19     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
E/flutter ( 8444): #20     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1005:7)
E/flutter ( 8444): #21     _invoke1 (dart:ui/hooks.dart:265:10)
E/flutter ( 8444): #22     _dispatchPointerDataPacket (dart:ui/hooks.dart:174:5)
E/flutter ( 8444): 

nickrandolph pushed a commit that referenced this issue May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants