kepala dan icon

This commit is contained in:
='fauz 2025-05-08 13:32:33 +07:00
parent b771de5e80
commit d41e1f84a0
2 changed files with 19 additions and 2 deletions

View File

@ -86,13 +86,21 @@ class CardList extends StatelessWidget {
vertical: 0, vertical: 0,
), ),
label: Text( label: Text(
point ?? '200', point ?? ' 200',
style: TextStyle( style: TextStyle(
color: Colors.white, color: Colors.white,
fontSize: 12, fontSize: 12,
), ),
), ),
backgroundColor: Colors.blue, backgroundColor: Colors.blue,
avatar: const CircleAvatar(
backgroundColor: Colors.transparent,
child: Icon(
Icons.emoji_events,
size: 16,
color: Colors.amber,
),
),
), ),
SizedBox(width: 40), SizedBox(width: 40),
Chip( Chip(
@ -101,13 +109,21 @@ class CardList extends StatelessWidget {
vertical: 0, vertical: 0,
), ),
label: Text( label: Text(
coint ?? "100", coint ?? " 100",
style: TextStyle( style: TextStyle(
color: Colors.white, color: Colors.white,
fontSize: 12, fontSize: 12,
), ),
), ),
backgroundColor: Colors.blue, backgroundColor: Colors.blue,
avatar: const CircleAvatar(
backgroundColor: Colors.transparent,
child: Icon(
Icons.monetization_on,
size: 12,
color: Colors.amber,
),
),
), ),
], ],
), ),

View File

@ -84,6 +84,7 @@ flutter:
# To add assets to your application, add an assets section, like this: # To add assets to your application, add an assets section, like this:
assets: assets:
- assets/images/
- assets/images/Artboard 15@4x.png - assets/images/Artboard 15@4x.png
- assets/images/Artboard 16@4x.png - assets/images/Artboard 16@4x.png
- assets/images/background.jpeg - assets/images/background.jpeg