Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter mediaquery

Container(
  width: MediaQuery.of(context).size.width,
  color: Colors.blue,
  child: Text('I cover the whole width of the screen!')
)
 
PREVIOUS NEXT
Tagged: #flutter #mediaquery
ADD COMMENT
Topic
Name
6+5 =