Skip to content

Commit 5745d75

Browse files
authored
Update listview.dart
1 parent f5e536c commit 5745d75

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

listview.dart

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1 @@
1-
// To create a list of items using listview ---
2-
3-
4-
ListView.builder(
5-
itemCount: 20,
6-
itemBuilder: (context, position) {
7-
return Card(
8-
child: Padding(
9-
padding: const EdgeInsets.all(20.0),
10-
child: Text(
11-
'Your data',
12-
style: TextStyle(fontSize: 22.0),
13-
),
14-
),
15-
);
16-
},
17-
),
181

0 commit comments

Comments
 (0)