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

break change 0.1.8 -> 0.1.9 #50

Open
CuongNV12 opened this issue Mar 30, 2023 · 3 comments
Open

break change 0.1.8 -> 0.1.9 #50

CuongNV12 opened this issue Mar 30, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@CuongNV12
Copy link

CuongNV12 commented Mar 30, 2023

Bug description

../../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/math_keyboard-0.1.9/lib/src/widgets/math_field.dart:338:25: Error: Method 'insert' cannot be called on 'OverlayState?' because it is potentially null.
 - 'OverlayState' is from 'package:flutter/src/widgets/overlay.dart' ('../../../../development/flutter/packages/flutter/lib/src/widgets/overlay.dart').
Try calling using ?. instead.
    Overlay.of(context).insert(_overlayEntry!);
                        ^^^^^^

Info

i use flutter 3.0.5
math_keyboard: 0.1.8 -> working
math_keyboard: 0.1.9 -> error

please revoke 0.1.9 version and change the version number to 0.2.x to avoid break change issue

@CuongNV12 CuongNV12 added the bug Something isn't working label Mar 30, 2023
@github-actions
Copy link
Contributor

Hi 👋🏽 Thank you for opening your first issue with simpleclub/math_keyboard ❤

You can expect triage from us soon 🙂
In the meantime, you can try to search for similar issues in our issue database.

@HassanEm
Copy link

same issue. I don't use math_keyboard but its look like one of my dependencies depond on this package and throw this issue while deploying. in the new flutter sdk Overlay.of(context) is non-nullable so gives you warning. I check my depedencies with this commands flutter pub deps and I found out flutter_quiz use it but my flutter_quill version is very old and the math_keyboard version of it is 0.1.8 but in deploying it says math_keyboard 0.1.9 has some issues
any idea?

@canbalkaya
Copy link

Same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

3 participants