Fix items bug in add package screen

This commit is contained in:
fhkhd
2024-01-20 21:06:01 +03:30
parent ce045465b9
commit 50a75be4fd
2 changed files with 34 additions and 29 deletions
@@ -16,7 +16,7 @@ class AddItemBox extends StatelessWidget {
required this.text,
// required this.scanUdi,
this.iconColor,
required this.filteredItems,
// required this.filteredItems,
required this.hasRemoveButton,
}) : _deviceBlockSize = deviceBlockSize,
super(key: key);
@@ -31,7 +31,7 @@ class AddItemBox extends StatelessWidget {
final String text;
final Color? iconColor;
final bool hasRemoveButton;
final List<ItemResultObject> filteredItems;
// final List<ItemResultObject> filteredItems;
// final String scanUdi;
@override
@@ -128,7 +128,7 @@ class AddItemBox extends StatelessWidget {
style: TextStyle(
fontWeight: FontWeight.w700,
color: Colors.black,
fontSize: 5 * _deviceBlockSize,
fontSize: 4 * _deviceBlockSize,
),
),
),