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

error when build in ios #25

Closed
eggysudianto opened this issue May 18, 2022 · 4 comments
Closed

error when build in ios #25

eggysudianto opened this issue May 18, 2022 · 4 comments

Comments

@eggysudianto
Copy link

Showing All Messages
../../../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_styled_toast-2.1.3/lib/src/styled_toast.dart:497:63: Error: Property 'window' cannot be accessed on 'WidgetsBinding?' because it is potentially null

flutter 2.10.5
dart 2.16.2

@JackJonson
Copy link
Owner

Upgrading to flutter 3.0.0.

@Urvish24
Copy link

is there any alternative solution?

@JackJonson
Copy link
Owner

@Urvish24 flutter_styled_toast: ^2.0.0

@moradiyajay
Copy link

@Urvish24 flutter_styled_toast: ^2.0.0

flutter_styled_toast: 2.0.0
Works for me

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

4 participants