Getx display wrong

28 Views Asked by At

I use Getx in flutter and request the back-end carousel image data in the onInit method of the Controller file. Then the image is not displayed when the simulator starts, but it can be displayed by switching the page, or it can be displayed by re-saving it in vscode

enter image description here

enter image description here

It doesn't work for me outside the container widget or the swiper widget plus Obx.

0

There are 0 best solutions below