fullScreenHeight function

double fullScreenHeight(
  1. BuildContext context
)

Implementation

double fullScreenHeight(BuildContext context) {
  // TODO: Need to find out if the AppBar and BottomNavigationBar are visible on the current screen
  return MediaQuery.of(context).size.height -
      kToolbarHeight // AppBar
      -
      kBottomNavigationBarHeight; // BottomNavigationBar
}