skip to Main Content

Why i cant display the image in flutter dart?

I cannot display the image, but all of the data is display for example name return FutureBuilder<DocumentSnapshot>( future: result.doc(foodId).get(), builder: ((context, snapshot) { if (snapshot.connectionState == ConnectionState.done) { Map<String, dynamic> data = snapshot.data!.data() as Map<String, dynamic>; return Text('Name:' + '${data['name']}'…

VIEW QUESTION

How to sort a list twice in Flutter?

I want to sort the list twice. Example list (here is an example list with models): [Model("A", 5), Model("C", 3), Model("B", 7) Model("F", 5), Model("D", 5)] What I want is to sort alphabetically and then numerically. If I do this,…

VIEW QUESTION
Back To Top
Search