You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_CastError: Null check operator used on a null value
File "carousel_controller.dart", line 106, in CarouselControllerImpl.animateToPage
File "smooth_product_carousel.dart", line 40, in _SmoothProductCarouselState.didChangeDependencies
...
(158 additional frame(s) were not displayed)
Part of
Photo carousel
The text was updated successfully, but these errors were encountered:
For what it's worth, there's a potential fix for the crash in SmoothProductCarousel:
@overridevoiddidChangeDependencies() {
super.didChangeDependencies();
finalContinuousScanModel model = context.watch<ContinuousScanModel>();
setState(() {
barcodes = model.getBarcodes();
});
if (_controller.ready) { // that's the fix
_controller.animateToPage(barcodes.length -1+ _searchCardAdjustment);
}
}
With that, no crash.
Will the animation take place eventually: I don't know.
Unfortunately I cannot really test that because 1. my smartphone is too old to use https queries (at least with smoothie) and 2. with the emulators I haven't tested how to scan (and anyway my computer is already slow enough).
Sentry Issue: SMOOTHIE-ANDROID-JQ
What
Part of
The text was updated successfully, but these errors were encountered: