updateflutter screen height code example Example: get screen height flutter double height = MediaQuery.of(context).size.height;