flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
162.19k stars 26.64k forks source link

Not's Returning Anything the loop #145591

Closed unaisshemim closed 1 month ago

unaisshemim commented 1 month ago

Steps to reproduce

Listimages=["img1","img2"] Container( width: 60, height: 60, decoration: BoxDecoration( shape: BoxShape.rectangle, borderRadius: BorderRadius.circular(6), color: Colors.grey[200], image: images.isNotEmpty ? DecorationImage( image: NetworkImage(images.first), fit: BoxFit.cover, ) : null, )),

Expected results

it should return all the images with container

Actual results

it should return all images with container

Code sample

Code sample ```dart [Paste your code here] ```

Screenshots or Video

Screenshots / Video demonstration [Upload media here]

Logs

Logs ```console [Paste your logs here] ```

Flutter Doctor output

Listimages=["img1","img2"] Container( width: 60, height: 60, decoration: BoxDecoration( shape: BoxShape.rectangle, borderRadius: BorderRadius.circular(6), color: Colors.grey[200], image: images.isNotEmpty ? DecorationImage( image: NetworkImage(images.first), fit: BoxFit.cover, ) : null, )),

huycozy commented 1 month ago

Hi @unaisshemim When opening an issue, please try to fill in the appropriate information in the fields indicated in the template so we can verify it correctly.

More specifically, please provide the following information:

github-actions[bot] commented 1 month ago

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. If you find this problem please file a new issue with the same description, what happens, logs and the output of 'flutter doctor -v'. All system setups can be slightly different so it's always better to open new issues and reference the related ones. Thanks for your contribution.

github-actions[bot] commented 2 weeks ago

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.