-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
card_swiper EXCEPTION: _CastError was thrown while dispatching notifications for SwiperController #35
Comments
same issue /D:/flutterSDK/.pub-cache/hosted/pub.flutter-io.cn/card_swiper-2.0.3/lib/src/custom_layout.dart:36:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
Another exception was thrown: Null check operator used on a null value ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY The relevant error-causing widget was:
The following RenderObject was being processed when the exception was fired: RenderViewport#8f706 Another exception was thrown: RenderBox was not laid out: RenderViewport#8f706 NEEDS-LAYOUT Another exception was thrown: RenderBox was not laid out: RenderViewport#8f706 NEEDS-PAINT Another exception was thrown: RenderBox was not laid out: RenderIgnorePointer#067ab Another exception was thrown: RenderBox was not laid out: RenderSemanticsAnnotations#64ea0 Another exception was thrown: RenderBox was not laid out: RenderPointerListener#3eae5 Another exception was thrown: RenderBox was not laid out: RenderSemanticsGestureHandler#527cd Another exception was thrown: RenderBox was not laid out: RenderPointerListener#7e523 Another exception was thrown: RenderBox was not laid out: _RenderScrollSemantics#12fe2 Another exception was thrown: RenderBox was not laid out: RenderRepaintBoundary#bc4da Another exception was thrown: RenderBox was not laid out: RenderCustomPaint#e116e Another exception was thrown: RenderBox was not laid out: RenderRepaintBoundary#2b8ef Another exception was thrown: RenderBox was not laid out: RenderStack#d83e3 relayoutBoundary=up5 Another exception was thrown: RenderBox was not laid out: RenderRepaintBoundary#f036e Another exception was thrown: 'package:flutter/src/rendering/sliver_multi_box_adaptor.dart': Another exception was thrown: Null check operator used on a null value Another exception was thrown: Null check operator used on a null value Another exception was thrown: Null check operator used on a null value |
Same issue! |
thanks |
Case:
I am getting this error when my swiper scaffold is in app background.
[*] I am using smooth_page_indicator for showing custom dots pagination
Initially i load the main page (which has the swiper) based on conditions i move to some other page, in the background i am getting these errors/exceptions. Only when swiper is in background of flutter app i get this kind of exception.
Any idea to solve !!!
The text was updated successfully, but these errors were encountered: