Skip to content

Commit

Permalink
Merge pull request #1 from ValentinTT/patch-1
Browse files Browse the repository at this point in the history
missing return keyword in 'FutureBuilder' section
  • Loading branch information
antz22 committed May 12, 2022
2 parents 937402a + 3be6b77 commit 0711ec7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ Widgets are also used for things more complicated than just displaying text or p

```dart
Container(
child: Text('hello!' )
child: Text('hello!')
),
```

Expand Down Expand Up @@ -908,7 +908,7 @@ Future<int> retrieveMacbookPrice() async {
// keys (type String) to values (type dynamic)
Map<String, dynamic> macbookData = document.data();
int macbookPrice = macbookData['price'];
return int macbookPrice = macbookData['price'];
}
FutureBuilder(
Expand Down

0 comments on commit 0711ec7

Please sign in to comment.