add error message for game deletion and implement search functionality
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 39s
Pull Request Pipeline / lint (pull_request) Successful in 45s

This commit is contained in:
2026-03-08 17:01:41 +01:00
parent 69f9900f74
commit 487a921def
9 changed files with 225 additions and 56 deletions

View File

@@ -19,7 +19,7 @@ import 'package:tallee/presentation/widgets/tiles/match_tile.dart';
import 'package:tallee/presentation/widgets/top_centered_message.dart';
class MatchView extends StatefulWidget {
/// A view that displays a list of matches
/// A view that displays a list of matches.
const MatchView({super.key});
@override
@@ -27,11 +27,14 @@ class MatchView extends StatefulWidget {
}
class _MatchViewState extends State<MatchView> {
/// Database instance used to access match data.
late final AppDatabase db;
/// Indicates whether matches are currently being loaded.
bool isLoading = true;
/// Loaded matches from the database,
/// initially filled with skeleton matches
/// initially filled with skeleton matches.
List<Match> matches = List.filled(
4,
Match(