media querys flutter code example
Example: flutter mediaquery
Container(
width: MediaQuery.of(context).size.width,
color: Colors.blue,
child: Text('I cover the whole width of the screen!')
)
Container(
width: MediaQuery.of(context).size.width,
color: Colors.blue,
child: Text('I cover the whole width of the screen!')
)