Skip to content

Commit

Permalink
New with 0.7 (flutter#561)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvinkonda authored and mravn-google committed May 14, 2018
1 parent 5746e29 commit ebb8a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cloud_firestore/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class BookList extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new StreamBuilder<QuerySnapshot>(
stream: Firestore.instance.collection('books').snapshots,
stream: Firestore.instance.collection('books').snapshots(),
builder: (BuildContext context, AsyncSnapshot<QuerySnapshot> snapshot) {
if (!snapshot.hasData) return new Text('Loading...');
return new ListView(
Expand Down

0 comments on commit ebb8a6b

Please sign in to comment.