There is my error , I want to solve this problem
enter image description here
The named parameter ‘itemCount’ isn’t defined.
The named parameter ‘itemBuilder’ isn’t defined.
Question posted in Android Studio
The official documentation can be found here.
The official documentation can be found here.
3
Answers
You are using the default constructor that has different named parameters, you need to use
ListView.builder()
to use those named arguments.Hello Syed i might thing that your try to use Listview() on Place of Listview.builder()….
A
ListView()
don’t have thies properties but aListView.builder()
have they.list view have
children
and notitembuilder
.