feat: showing game color in choose tile

This commit is contained in:
2026-05-03 10:59:46 +02:00
parent 5d832c98a7
commit 6272794cc5
4 changed files with 38 additions and 23 deletions

View File

@@ -14,15 +14,13 @@ class Game {
Game({
required this.name,
required this.ruleset,
required this.color,
this.color = GameColor.orange,
this.description = '',
this.icon = '',
String? id,
DateTime? createdAt,
String? description,
String? icon,
}) : id = id ?? const Uuid().v4(),
createdAt = createdAt ?? clock.now(),
description = description ?? '',
icon = icon ?? '';
createdAt = createdAt ?? clock.now();
@override
String toString() {