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
[VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: 'package:flutter/src/widgets/scroll_controller.dart': Failed assertion: line 170 pos 12: '_positions.isNotEmpty': ScrollController not attached to any scroll views. #0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:47:61) #1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5) #2 ScrollController.jumpTo package:flutter/…/widgets/scroll_controller.dart:170 #3 _MarqueeState.initState. package:marquee/marquee.dart:548 #4 _MarqueeState.initState. package:marquee/marquee.dart:545 #5 SchedulerBinding._invokeFrameCallback package:flutter/…/scheduler/binding.dart:1145
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
Fixed by rewrtining initState method
WidgetsBinding.instance?.addPostFrameCallback((_) async { if (!_running) { _running = true; if (_controller.hasClients) { _controller.jumpTo(_startPosition); await Future<void>.delayed(widget.startAfter); Future.doWhile(_scroll); } } });
@SergeyShustikov @MarcelGarus Can we merge this fix to the package?
I merged this; it's published in version 2.2.1.
No branches or pull requests
The text was updated successfully, but these errors were encountered: