Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter get width of screen

double height = MediaQuery.of(context).size.height;
double width = MediaQuery.of(context).size.width;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #flutter #width #screen
ADD COMMENT
Topic
Name
8+4 =