mirror of
https://github.com/gskinnerTeam/flutter-wonderous-app.git
synced 2025-06-19 18:17:57 +08:00
improve collection tile icons
This commit is contained in:
@ -28,9 +28,14 @@ class _CollectionTile extends StatelessWidget {
|
||||
color: $styles.colors.black,
|
||||
child: Center(
|
||||
child: FractionallySizedBox(
|
||||
widthFactor: 0.6,
|
||||
heightFactor: 0.6,
|
||||
child: Image(image: collectible.icon, color: $styles.colors.greyStrong),
|
||||
widthFactor: 0.66,
|
||||
heightFactor: 0.66,
|
||||
child: Image(
|
||||
image: collectible.icon,
|
||||
color: $styles.colors.black,
|
||||
colorBlendMode: BlendMode.color,
|
||||
opacity: AlwaysStoppedAnimation(0.2),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
Reference in New Issue
Block a user