Flutter Firebase/Firestore Document Reference to Future Builder List View
Just started using Firestore and Flutter and trying to get my document items from Firestore into a ListView and running into errors. Here is my data structure: and here is my code for the page so far. import 'package:flutter/material.dart'; import 'package:async/async.dart'; import 'package:cloud_firestore/cloud_firestore.dart'; import 'package:flutter_firestore_test/ui/restaurantDetail.dart'; class RestaurantList extends StatefulWidget { final String title; final String director; RestaurantList({Key key, this.title, this.director}) : super(key: key); @override _RestaurantListState createState
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.