Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b8b4195

Browse files
author
Chandrasekar Kuppusamy
authored
Update README.md
1 parent 7831045 commit b8b4195

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

‎README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
- [ListView](#listview)
2828
- [Simple](#simple)
2929
- [Divider](#divider)
30+
- [Card](#card)
3031

3132
- [Text](#text)
3233
- [Icon](#icon)
@@ -499,6 +500,20 @@ ListView.separated(
499500
Divider(),
500501
itemCount: names.length),
501502
```
503+
504+
### Card
505+
506+
<a href="https://imgur.com/PHyWdS8"><img src="https://i.imgur.com/PHyWdS8.jpg" title="source: imgur.com" /></a>
507+
508+
```dart
509+
ListView.builder(
510+
itemCount: names.length,
511+
itemBuilder: (BuildContext context, int position) {
512+
var name = names[position];
513+
return Card(margin: EdgeInsets.fromLTRB(8, 4, 8, 4),child: ListTile(title: Text(name)));
514+
})
515+
```
516+
502517
## Text
503518
<a href="https://imgur.com/yZPgBPy"><img src="https://imgur.com/yZPgBPy.png" title="source: imgur.com"></a>
504519

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /