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

No named parameter with the name 'nullOk' #9

Open
samiaChayeb opened this issue Jan 17, 2022 · 1 comment
Open

No named parameter with the name 'nullOk' #9

samiaChayeb opened this issue Jan 17, 2022 · 1 comment

Comments

@samiaChayeb
Copy link

Bonjour,

j'avais l'erreur "No named parameter with the name 'nullOk'" et pour le corriger j'ai juste remplacé dans le fichier fancy_dialog.dart la ligne 139 par:
assert(MediaQuery.of(context) != null,'\n*context does not contain media query object\n');

@EdduSoft
Copy link

i have the same problem :/

: Error: No named parameter with the name 'nullOk'. ../…/lib/fancy_dialog.dart:139 assert(MediaQuery.of(context,nullOk: true) != null,'\n****context does not contain media query object***\n'); ^^^^^^ : Context: Found this candidate, but the arguments don't match. ../…/widgets/media_query.dart:835 static MediaQueryData of(BuildContext context) { ^^

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

2 participants