Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter get height of screen

MediaQuery.of(context).size.height -    // total height 
  kToolbarHeight -                      // top AppBar height
  MediaQuery.of(context).padding.top -  // top padding
  kBottomNavigationBarHeight            // BottomNavigationBar height
Source by flutterhq.com #
 
PREVIOUS NEXT
Tagged: #flutter #height #screen
ADD COMMENT
Topic
Name
5+6 =