How to make 1/3 of an image take up the full screen

Posted by Andre Scott | Updated on

If you want to make 1/3 of an image take up the full screen This, for example, displays (roughly) the center third of the a landscape image in fullscreen portrait mode:

While alignment: FractionalOffset.centerLeft and alignment: FractionalOffset.centerRight display (roughly) the left and right third, respectively.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers