Skip to content

Commit cba6a42

Browse files
committed
Add Fruit Product Page Example
1 parent 11b7c3f commit cba6a42

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

example/lib/main.dart

+15
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,21 @@ class _MyAppState extends State<MyApp> {
8484
);
8585
},
8686
),
87+
Story(
88+
name: 'Fruit Product Card',
89+
builder: (context) {
90+
return CodelesslyWidget(
91+
layoutID: '0R5hf4ABTQmzDb6e8XyR',
92+
data: const {
93+
'name': 'Mango',
94+
'price': 5.99,
95+
'count': 1,
96+
'description':
97+
'Mangos are versatile fruits that can be enjoyed in many ways. You can eat them fresh as a snack or dessert, or add them to salads, smoothies, salsas, curries, cakes, pies, and more. You can also make mango juice, jam, chutney, or pickle.\n\nMangos are a great way to add some tropical flavor and nutrition to your diet.'
98+
},
99+
);
100+
},
101+
),
87102
],
88103
);
89104
}

0 commit comments

Comments
 (0)