Flutter ListView not updating

Posted by Jessica Taylor | Updated on | Flutter

Flutter ListView not updating. Turns out the problem was that

was defined on top of widget.build and not on top of the State class. Defining it like this works fine:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers