Quantcast
Channel: Unable to load asset: Image - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Answer by WSBT for Unable to load asset: Image

$
0
0

The list you declared is a List<Image> type, but you are using it as if it's a List<String>.

Try this instead:

final List<String> imagePaths = [ 'your/path/pic1.jpg', 'your/path/pic2.jpg',];

Image.asset(    toolImage[1],)

Viewing all articles
Browse latest Browse all 2

Trending Articles





<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>