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

fix flutter3.0 PageStorageBucket #428

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ismanong
Copy link

fix

Target dart2js failed: ProcessException: Process exited abnormally:
/C:/Users/52644/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/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' ('/D:/_sdk/flutter/packages/flutter/lib/src/widgets/page_storage.dart').
                    PageStorage.of(storageContext)?.readState(storageContext)

fix
```dart
Target dart2js failed: ProcessException: Process exited abnormally:
/C:/Users/52644/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/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' ('/D:/_sdk/flutter/packages/flutter/lib/src/widgets/page_storage.dart').
                    PageStorage.of(storageContext)?.readState(storageContext)
```
@talisonfc
Copy link

I've received the same error. Nobody to analyze and accept this PR?

@electriko3
Copy link

Need this fix for web build Pipeline

@alaincruz06
Copy link

Please review/accept this PR, I'm facing this bug on Firebase Hosting build with Flutter web (Flutter 3.19.5).

@SeakyLuo
Copy link

I possibly need this to be PageStorage.maybeOf

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

Successfully merging this pull request may close these issues.

None yet

6 participants