-
Notifications
You must be signed in to change notification settings - Fork 717
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
Failed assertion: line 110 pos 12: '_positions.isNotEmpty' #198
Comments
As a test, swiperlayout. DEFAULT appears when layout is selected |
I only can use DEFAULT layout. This bug should be fixed, please do it. |
If don't set index, it's ok! |
|
Working , thanks brother |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have 5 pieces of data in my Swiper, I have an Index record of the current position, and when I delete the last item, I move the Index forward and delete the last item. This is when the error is reported.
flutter: The following assertion was thrown:
flutter: ScrollController not attached to any scroll views.
flutter: 'package:flutter/src/widgets/scroll_controller.dart':
flutter: Failed assertion: line 110 pos 12: '_positions.isNotEmpty'
flutter:
flutter: Either the assertion indicates an error in the framework itself, or we should provide substantially
flutter: more information in this error message to help you determine and fix the underlying cause.
The text was updated successfully, but these errors were encountered: