I'm trying to get the height of the system navigation bar so that I can calculate the height of other widgets accordingly.
I was able to get the height of the screen. Is there a way to get the usable height?
usable_height = total_height-(status_bar_height + navigation_bat_height)
I'm using this method to get the total screen size:
double getScreenHeight(BuildContext context) {
return MediaQuery.of(context).size.height;
}