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