How do you use background on Flutter?

Add assets under the flutter section and specify your image path. Now you can use that image inside your flutter app. To add the image as a background you can set the decoration for body container . When setting decoration you need to set fit type as a BoxFit.

Leave a Reply

Your email address will not be published. Required fields are marked *