Commit 1fa2bf71 authored by Dasun Madushanka's avatar Dasun Madushanka

Update body.dart

parent 67049310
...@@ -36,8 +36,9 @@ class Body extends StatelessWidget { ...@@ -36,8 +36,9 @@ class Body extends StatelessWidget {
), ),
), ),
ListView.builder( ListView.builder(
// here we use our demo procuts list // here we use our test list
itemCount: products.length + 1, //dmt,ciat,at and nct
itemCount: products.length + 1,//can add more card by changig the + <value>
itemBuilder: (context, index) { itemBuilder: (context, index) {
if (index == products.length) { if (index == products.length) {
return Card( return Card(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment