mirror of
https://github.com/chenasraf/pantry-flutter.git
synced 2026-05-17 17:28:03 +00:00
fix: description field in items saving+displaying
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user