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: Method not found: 'MediaQuery.maybeOf #2

Closed
gabdsg opened this issue Dec 5, 2020 · 6 comments
Closed

Error: Method not found: 'MediaQuery.maybeOf #2

gabdsg opened this issue Dec 5, 2020 · 6 comments

Comments

@gabdsg
Copy link

gabdsg commented Dec 5, 2020

I'm getting this error at src/animated_tap_builder.dart:187:29
Error: Method not found: 'MediaQuery.maybeOf final mode = MediaQuery.maybeOf(context)?.navigationMode ??

@aloisdeniel
Copy link
Owner

Oh yes, I'm on the beta channel... This breaking change makes me mad !

I will publish a new version for stable and another dedicated to beta.

@gabdsg
Copy link
Author

gabdsg commented Dec 5, 2020

That's awesome!

@aloisdeniel
Copy link
Owner

That's published as 0.1.2. It should work now. :)

@ZahidTekbas
Copy link

ZahidTekbas commented Dec 7, 2020

Hi Aloïs.

I have used tap_builder: ^0.1.2 and I'm getting this error.

../../../flutter/.pub-cache/hosted/pub.dartlang.org/tap_builder-0.1.2/lib/src/animated_tap_builder.dart:187:29: Error: Method not found: 'MediaQuery.maybeOf'. final mode = MediaQuery.maybeOf(context)?.navigationMode ??

edit:

this is my Flutter version:

[✓] Flutter (Channel stable, 1.22.4, on Mac OS X 10.14.6 18G87 darwin-x64, locale en-TR) • Flutter version 1.22.4 at /Users/zahidtekbas/flutter • Framework revision 1aafb3a8b9 (3 weeks ago), 2020-11-13 09:59:28 -0800 • Engine revision 2c956a31c0 • Dart version 2.10.4

@gabdsg
Copy link
Author

gabdsg commented Dec 7, 2020

Yes, version 0.1.2 still have a problem

@aloisdeniel
Copy link
Owner

Sorry, fixed with 0.1.3!

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

3 participants