Created
February 15, 2019 15:18
-
-
Save redbluenat/0b6f8113754768ccbfd10c952c4ede9e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
child: new FutureBuilder( | |
future: | |
DefaultAssetBundle.of(context).loadString('assets/beers.json'), | |
builder: (context, snapshot) { | |
var beers = json.decode(snapshot.data.toString()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment