Не може да се запише в контекста на медии-заявката
Примерен код
3
0
MediaQuery.of() се нарича с контекста, който не съдържа MediaQuery.
You need a MaterialApp or a WidgetsApp around your widget. They provide the MediaQuery. When you call .of(context) flutter will always look up the widget tree to find the widget.