-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Closed
Labels
r: solvedIssue is closed as solvedIssue is closed as solved
Description
════════ Exception caught by foundation library ════════════════════════════════
The following assertion was thrown while dispatching notifications for FixedExtentScrollController:
'package:flutter/src/rendering/object.dart': Failed assertion: line 2666 pos 12: '!_debugDisposed': is not true.
2
Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new?template=2_bug.md
When the exception was thrown, this was the stack
#2 RenderObject.markNeedsSemanticsUpdate
package:flutter/…/rendering/object.dart:2666
#3 _RenderCupertinoPickerSemantics._handleScrollUpdate
package:flutter/…/cupertino/picker.dart:473
#4 ChangeNotifier.notifyListeners
package:flutter/…/foundation/change_notifier.dart:308
#5 ChangeNotifier.notifyListeners
package:flutter/…/foundation/change_notifier.dart:308
#6 ScrollPosition.notifyListeners
package:flutter/…/widgets/scroll_position.dart:968
#7 ScrollPosition.setPixels
package:flutter/…/widgets/scroll_position.dart:278
#8 ScrollPositionWithSingleContext.setPixels
package:flutter/…/widgets/scroll_position_with_single_context.dart:82
#9 ScrollPositionWithSingleContext.applyUserOffset
package:flutter/…/widgets/scroll_position_with_single_context.dart:124
#10 ScrollDragController.update
package:flutter/…/widgets/scroll_activity.dart:387
#11 ScrollableState._handleDragUpdate
package:flutter/…/widgets/scrollable.dart:647
#12 DragGestureRecognizer._checkUpdate.<anonymous closure>
package:flutter/…/gestures/monodrag.dart:449
#13 GestureRecognizer.invokeCallback
package:flutter/…/gestures/recognizer.dart:193
#14 DragGestureRecognizer._checkUpdate
package:flutter/…/gestures/monodrag.dart:449
#15 DragGestureRecognizer.handleEvent
package:flutter/…/gestures/monodrag.dart:298
#16 PointerRouter._dispatch
package:flutter/…/gestures/pointer_router.dart:94
#17 PointerRouter._dispatchEventToRoutes.<anonymous closure>
package:flutter/…/gestures/pointer_router.dart:139
#18 _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:400:8)
#19 PointerRouter._dispatchEventToRoutes
package:flutter/…/gestures/pointer_router.dart:137
#20 PointerRouter.route
package:flutter/…/gestures/pointer_router.dart:123
#21 GestureBinding.handleEvent
package:flutter/…/gestures/binding.dart:440
#22 GestureBinding.dispatchEvent
package:flutter/…/gestures/binding.dart:420
#23 RendererBinding.dispatchEvent
package:flutter/…/rendering/binding.dart:278
#24 GestureBinding._handlePointerEventImmediately
package:flutter/…/gestures/binding.dart:374
#25 GestureBinding.handlePointerEvent
package:flutter/…/gestures/binding.dart:338
#26 GestureBinding._flushPointerEventQueue
package:flutter/…/gestures/binding.dart:296
#27 GestureBinding._handlePointerDataPacket
package:flutter/…/gestures/binding.dart:279
#31 _invoke1 (dart:ui/hooks.dart:185:10)
#32 PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:293:7)
#33 _dispatchPointerDataPacket (dart:ui/hooks.dart:98:31)
(elided 5 frames from class _AssertionError and dart:async)
The FixedExtentScrollController sending notification was: FixedExtentScrollController#5d7f6(one client, offset 561.0)
════════════════════════════════════════════════════════════════════════════════
I get this error when I try to use FixedExtentScrollController, I use it to create timers choosing the day with this controller,
When I start the application everything works correctly, I can choose the day well and create my timer, but when I go back to the timer creation page and try to move the controller to choose a new day I get this error. I don't know what it could be, since it used to work fine, and the last thing I did was update to flutter 2.5. Surely I can change the method I use to select the days for another but I liked it that way. If someone could help me, since the problem does not make me very clear what it can be, he tells me that it is my FixedExtentScrollController, but I do not understand why.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
r: solvedIssue is closed as solvedIssue is closed as solved