Search code snippets, questions, articles...

Add background image to container in Flutter

The code can be used to add an image in the background of the Container widget in Flutter.
    decoration: BoxDecoration(
        image: DecorationImage(
            image: NetworkImage(''),
            fit: BoxFit.cover,
Best JSON Validator, JSON Tree Viewer, JSON Beautifier at same place. Check how cool is the tool
Was this helpful?