Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
PoojaB26 committed Oct 4, 2018
1 parent 7b412ac commit 78e670b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Future<List<Post>> getAllPosts() async {

```dart
// As a part of your UI widget, e.g body of Scaffold widget
FutureBuilder<Post>(
FutureBuilder<List<Post>>(
future: getAllPosts(),
builder: (context, snapshot) {
if(snapshot.hasData)
Expand Down

0 comments on commit 78e670b

Please sign in to comment.