Implemented uuid for all dtos

This commit is contained in:
2025-11-18 20:07:53 +01:00
parent fde5344244
commit 282841ecf1
5 changed files with 14 additions and 8 deletions

View File

@@ -19,12 +19,11 @@ class GroupsView extends StatefulWidget {
class _GroupsViewState extends State<GroupsView> {
late Future<List<Group>> _allGroupsFuture;
final player = Player(id: 'p1', name: 'Sample');
final player = Player(name: 'Skeleton Player');
late final List<Group> skeletonData = List.filled(
7,
Group(
id: '0',
name: 'Sample Game',
name: 'Skeleton Game',
members: [player, player, player, player, player, player],
),
);
@@ -34,6 +33,7 @@ class _GroupsViewState extends State<GroupsView> {
super.initState();
final db = Provider.of<AppDatabase>(context, listen: false);
_allGroupsFuture = db.groupDao.getAllGroups();
print('Skeleton Data: $skeletonData');
}
@override