Fix the god damn grid

This commit is contained in:
2025-02-22 17:00:16 +01:00
parent e5fc67ef43
commit 4f1a947d2b
2 changed files with 73 additions and 52 deletions

View File

@@ -181,7 +181,10 @@ class _GameCardState extends State<GameCard>
Positioned.fill(
child: ClipRRect(
borderRadius: BorderRadius.circular(12),
child: Image.memory(widget.game.imageData!, fit: BoxFit.cover),
child: Opacity(
opacity: 0.4,
child: Image.memory(widget.game.imageData!, fit: BoxFit.cover),
),
),
),
if (hasImage)
@@ -193,16 +196,16 @@ class _GameCardState extends State<GameCard>
begin: Alignment.topCenter,
end: Alignment.bottomCenter,
colors: [
Colors.transparent,
Colors.black.withOpacity(0.7),
Colors.black.withOpacity(0.9),
Colors.black.withAlpha(110),
Colors.black.withAlpha(90),
Colors.black.withAlpha(70),
],
),
),
),
),
Padding(
padding: const EdgeInsets.all(16.0),
padding: const EdgeInsets.symmetric(horizontal: 16.0, vertical: 24.0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
@@ -260,7 +263,7 @@ class _GameCardState extends State<GameCard>
],
),
),
const SizedBox(height: 8),
const SizedBox(height: 16),
Row(
children: [
SizedBox(
@@ -283,6 +286,7 @@ class _GameCardState extends State<GameCard>
),
],
),
const SizedBox(height: 12),
Row(
children: [
SizedBox(
@@ -304,6 +308,7 @@ class _GameCardState extends State<GameCard>
),
],
),
const SizedBox(height: 12),
Row(
children: [
SizedBox(
@@ -324,7 +329,9 @@ class _GameCardState extends State<GameCard>
),
],
),
const SizedBox(height: 16),
const Divider(),
const SizedBox(height: 16),
TextField(
controller: _versionRegexController,
focusNode: _versionRegexFocus,