Flutter SDK Set Background image

Posted by Pinki | Updated on

Flutter SDK Set Background image. I’m not sure I understand your question, but if you want the image to fill the entire screen you can use a DecorationImage with a fit of BoxFit.cover.

For your second question, here is a link to the documentation on how to embed resolution-dependent asset images into your app.

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