updated readme of each example with a screenshot/gif and more details about the example.

added more comments to code
This commit is contained in:
Nishant Srivastava
2017-08-26 18:08:28 -07:00
parent defc273b1e
commit b526955129
28 changed files with 134 additions and 51 deletions

View File

@ -30,9 +30,11 @@ class MyAppState extends State<MyApp> {
.of(context)
.loadString('data_repo/starwars_data.json'),
builder: (context, snapshot) {
// Decode the JSON
var new_data = JSON.decode(snapshot.data.toString());
return new ListView.builder(
// Build the ListView
itemBuilder: (BuildContext context, int index) {
return new Card(
child: new Column(