Skip to content
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

flutter 3.10 not building with carousel_slider #415

Closed
c-seeger opened this issue Aug 15, 2023 · 1 comment
Closed

flutter 3.10 not building with carousel_slider #415

c-seeger opened this issue Aug 15, 2023 · 1 comment

Comments

@c-seeger
Copy link

Previously using 3.7.12 building worked fine. After upgrading to flutter 3.10 carousel_slider breaks with the following error:

Target dart2js failed: Exception: ../../../../../.pub-cache/hosted/pub.dev/carousel_slider-4.2.1/lib/carousel_slider.dart:358:33:
Warning: Operand of null-aware operation '?.' has type 'PageStorageBucket' which excludes null.
 - 'PageStorageBucket' is from 'package:flutter/src/widgets/page_storage.dart' ('/opt/flutter/packages/flutter/lib/src/widgets/page_storage.dart').
                    PageStorage.of(storageContext)?.readState(storageContext)
@alaincruz06
Copy link

Hello, @c-seeger I'm facing this issue building with Firebase Hosting and Flutter web (Flutter 3.19.5), can you please share what's the solution you had for this issue to mark it as closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants