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],)
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],)