fix: formatting

This commit is contained in:
2026-07-29 01:42:34 +02:00
parent 521c8f8c4e
commit 50e6fca9d1
32 changed files with 501 additions and 575 deletions
+3 -9
View File
@@ -18,17 +18,11 @@ class BarTab {
});
int get totalInCents {
return items.fold<int>(
0,
(total, item) => total + item.lineTotalInCents,
);
return items.fold<int>(0, (total, item) => total + item.lineTotalInCents);
}
int get itemCount {
return items.fold<int>(
0,
(total, item) => total + item.quantity,
);
return items.fold<int>(0, (total, item) => total + item.quantity);
}
String get formattedTotal {
@@ -36,4 +30,4 @@ class BarTab {
}
bool get isOpen => status == 'open';
}
}