Non è possibile scrivere un contesto in media query
Esempi di codice
3
0
MediaQuery.di() chiamato con un contesto che non contengono un 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.