media query.of(context).size.width flutter code example Example: mediaquery.of(context).size.height flutter height: MediaQuery.of(context).size.height