We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#28
I have a CalendarControllerProvider with an EventController. When i try to do : _eventController.remove(event);
_eventController.remove(event);
I've got this error :
[ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: Concurrent modification during iteration: Instance(length:1224) of '_GrowableList'. E/flutter (19491): #0 ListIterator.moveNext (dart:_internal/iterable.dart:336:7) E/flutter (19491): #1 _MonthEvent.removeEvent (package:calendar_view/src/event_controller.dart:204:21) E/flutter (19491): #2 _YearEvent.removeEvent (package:calendar_view/src/event_controller.dart:174:11) E/flutter (19491): #3 EventController.remove (package:calendar_view/src/event_controller.dart:58:11) E/flutter (19491): #4 _CalendarPageState.showCreateEditEventDialog (package:myapp/page/calendar_page/calendar_page.dart:468:26)
I think it's because in MonthEvent, in removeEvent (line 203). We try to remove an event when we read the list.
MonthEvent
The text was updated successfully, but these errors were encountered:
ParthBaraiya
Successfully merging a pull request may close this issue.
#28
I have a CalendarControllerProvider with an EventController. When i try to do :
_eventController.remove(event);
I've got this error :
I think it's because in
MonthEvent
, in removeEvent (line 203). We try to remove an event when we read the list.The text was updated successfully, but these errors were encountered: