-
Notifications
You must be signed in to change notification settings - Fork 58
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 on double tap in TextFormField #46
Comments
Same occurs for me!
|
How to reproduce? |
here you have a case: https://github.com/MoacirSchmidt/mq_not_found just double tap (on device) or double click (on emulator) to see the message (no problem on flutter web)! Thank you very much for your excellent package! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I/flutter (10337): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ I/flutter (10337): The following assertion was thrown building I/flutter (10337): _OverlayEntryWidget-[LabeledGlobalKey<_OverlayEntryWidgetState>#35d2a](dirty, state: I/flutter (10337): _OverlayEntryWidgetState#42386): I/flutter (10337): No MediaQuery widget found. I/flutter (10337): _OverlayEntryWidget widgets require a MediaQuery widget ancestor. I/flutter (10337): The specific widget that could not find a MediaQuery ancestor was: I/flutter (10337): _OverlayEntryWidget-[LabeledGlobalKey<_OverlayEntryWidgetState>#35d2a] I/flutter (10337): The ownership chain for the affected widget is: I/flutter (10337): "_OverlayEntryWidget-[LabeledGlobalKey<_OverlayEntryWidgetState>#35d2a] ← _Theatre ← Overlay ← I/flutter (10337): Directionality ← _ToastTheme ← OKToast ← DynamicTheme ← MyApp ← [root]" I/flutter (10337): Typically, the MediaQuery widget is introduced by the MaterialApp or WidgetsApp widget at the top of I/flutter (10337): your application widget tree. I/flutter (10337): I/flutter (10337): The relevant error-causing widget was: I/flutter (10337): Overlay I/flutter (10337): ../…/widget/oktoast.dart:86 I/flutter (10337):
@override Widget build(BuildContext context) { var overlay = Overlay( initialEntries: [ OverlayEntry( builder: (ctx) { _contextMap[this] = ctx; return widget.child; }, ), ], );
The text was updated successfully, but these errors were encountered: