python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
The argument type 'Future<List<User>>' can't be assigned to the parameter type 'Future<void> Function()' in onRefresh when using RefreshIndicator
I am having a Future that is fetching and populating users below
Future<List<User>> _fetchUsersListUsingLoop() async {
try {
var response = await http.get(
Uri.p...
Emmanuel Njorodongo
Votes: 0
Answers: 2