I would like to know how to edit my Elements like Name, adress etc
In there i just have the name of the Restaurant displayed. So by Pressing the Name i would like to change the Elements listed on Side.
final List<String> entries = <String>['A', 'B', 'C'];
final List<int> colorCodes = <int>[600, 500, 100];
```
```
`````Container(
height: MediaQuery.of(context).size.height,
width: MediaQuery.of(context).size.width * 0.5,
child: FirestoreListView<Map<String, dynamic>>(
query: ref.watch(firebaseFirestoreRestaurantsProvider),
itemBuilder: (context, snapshot) {
Map<String, dynamic> restaurants = snapshot.data();
return ListTile(title: Text('${restaurants['name']}'));
},
),
),
```
````