Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

flutter app not taking full width of ipad screen?

iPad screen hardware

launching the app on android and iPhones works well while launching it on iPad the app unexpectedly is not taking the full width of the screen!

tried editing the Main.storyboard <view> width but nothing occurs

<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
    <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
    <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
    <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
</view>

Screen on ipad

like image 313
Marwan Mostafa Avatar asked Dec 22 '22 21:12

Marwan Mostafa


1 Answers

You need to register your app Universal

Go to Runner > Target > Deployment info

enter image description here

enter image description here

like image 177
CopsOnRoad Avatar answered Jan 08 '23 19:01

CopsOnRoad