fix: description field in items saving+displaying

This commit is contained in:
2026-04-12 14:00:04 +03:00
parent 7c572a6e64
commit 4d99694109
5 changed files with 60 additions and 13 deletions

View File

@@ -153,6 +153,7 @@ ListItem makeListItem({
int id = 1,
int listId = 1,
String name = 'Milk',
String? description,
int? categoryId,
String? quantity,
bool done = false,
@@ -170,6 +171,7 @@ ListItem makeListItem({
id: id,
listId: listId,
name: name,
description: description,
categoryId: categoryId,
quantity: quantity,
done: done,