Posts by Matheus Hardman • 1 point
2 posts
-
0
votes1
answer83
viewsA: Dropdownbutton does not work when searching for the Db async Future using the Widget: Future Builder Flutter
I got it, it was because Future sends a MAP, I converted the getCidades to a City Object Map: getCidadess() async{ DBAvaliacoes db = new DBAvaliacoes(); List cidades = await db.getCitys();…
-
-2
votes1
answer83
viewsQ: Dropdownbutton does not work when searching for the Db async Future using the Widget: Future Builder Flutter
Exception that appears: Exception Caught by widgets library The following was thrown building Futurebuilder(Dirty, state: _Futurebuilderstate#74679): type '(City) => Dropdownmenuitem' is not a…