Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
198 views
in Technique[技术] by (71.8m points)

android - error in showing image through api in carousel in flutter

I am getting the image list from API and want to show it in the carousel but due to some error, it is not happening. I have tried forEach in this and also the error handling part but nothing is working. I am facing problems same as below link... can anyone give me any advice or solution for the below problem...

unable to show images through api in carousel pro

please help me with this...


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

The problem is here => package:etroc/Screens/dashboard.dart:147:48; Not on the HomeScreen (Unless you don't list naming your classed the same as your files).

Issue is with this method => _HomeScreenState.getalladminbanner look at the error closer.

If you can post this code I might be able to help you further.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...