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