I want to show an image of the network in BoxDecoration. But its showing error
\"The argument type \'image\' can\'t be assigned to the parameter type \'i
I've resolved the issue, it can be achieved using this code.
decoration: BoxDecoration( image: DecorationImage(image: NetworkImage("urlImage"), fit: BoxFit.cover) ),