dropdownbutton still not working fully

...but it works a bit more than before!
This commit is contained in:
Felix 2019-07-19 15:15:04 +01:00
parent 2e0802ac73
commit 525a092f40
No known key found for this signature in database
GPG key ID: 130EF6DC43E4DD07
3 changed files with 122 additions and 77 deletions

View file

@ -70,7 +70,9 @@ Future<List<Category>> getCategories() async { // confusing name
// });
// print(categories[10].name.toString()); // prints "Banana"
return categories;
return categories; // categories is List<Category>
// Category is defined at the top^^
} else {
// not successful
return null;