Add avatars to material chips

Fixes #464
This commit is contained in:
Adam Barth
2015-11-23 11:28:44 -08:00
parent 0e290946b5
commit b823e47f0e
2 changed files with 31 additions and 15 deletions

View File

@@ -23,7 +23,11 @@ class _ChipDemoState extends State<ChipDemo> {
List<Widget> chips = <Widget>[
new Chip(
label: new Text('Apple')
)
),
new Chip(
avatar: new CircleAvatar(label: 'B'),
label: new Text('Blueberry')
),
];
if (_showBananas) {