diff --git a/lib/components/card_list.dart b/lib/components/card_list.dart index 7d3be10..8f13c95 100644 --- a/lib/components/card_list.dart +++ b/lib/components/card_list.dart @@ -86,13 +86,21 @@ class CardList extends StatelessWidget { vertical: 0, ), label: Text( - point ?? '200', + point ?? ' 200', style: TextStyle( color: Colors.white, fontSize: 12, ), ), backgroundColor: Colors.blue, + avatar: const CircleAvatar( + backgroundColor: Colors.transparent, + child: Icon( + Icons.emoji_events, + size: 16, + color: Colors.amber, + ), + ), ), SizedBox(width: 40), Chip( @@ -101,13 +109,21 @@ class CardList extends StatelessWidget { vertical: 0, ), label: Text( - coint ?? "100", + coint ?? " 100", style: TextStyle( color: Colors.white, fontSize: 12, ), ), backgroundColor: Colors.blue, + avatar: const CircleAvatar( + backgroundColor: Colors.transparent, + child: Icon( + Icons.monetization_on, + size: 12, + color: Colors.amber, + ), + ), ), ], ), diff --git a/pubspec.yaml b/pubspec.yaml index baaa806..2fd55a3 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -84,6 +84,7 @@ flutter: # To add assets to your application, add an assets section, like this: assets: + - assets/images/ - assets/images/Artboard 15@4x.png - assets/images/Artboard 16@4x.png - assets/images/background.jpeg