feat: update home ui
Build & Deploy iOS to TestFlight / build-and-deploy (push) Waiting to run

This commit is contained in:
Efril
2026-06-23 23:33:10 +07:00
parent 8d801e52d9
commit b07af60778
4 changed files with 33 additions and 5 deletions
@@ -44,7 +44,7 @@ class HomeStats extends StatelessWidget {
icon: Icons.hexagon_outlined,
iconColor: const Color(0xFF4CAF50),
blobColor: const Color(0xFF4CAF50),
value: '0', // TODO: connect items sold data
value: overview.totalItemSold.toString(),
label: context.lang.items_sold,
),
),
@@ -58,7 +58,7 @@ class HomeStats extends StatelessWidget {
icon: Icons.warning_amber_rounded,
iconColor: const Color(0xFFFF9800),
blobColor: const Color(0xFFFF9800),
value: '0', // TODO: connect low stock data
value: overview.totalLowStock.toString(),
label: context.lang.low_stock_warning,
),
),
@@ -68,7 +68,7 @@ class HomeStats extends StatelessWidget {
icon: Icons.hexagon_outlined,
iconColor: const Color(0xFFE53935),
blobColor: const Color(0xFFE53935),
value: '0', // TODO: connect active products data
value: overview.totalProductActive.toString(),
label: context.lang.active_products,
),
),