feat: add equality operators, make history screen paginated, random performance updates

This commit is contained in:
2026-07-29 18:10:46 +02:00
parent da5588cd1c
commit 031a618220
22 changed files with 702 additions and 79 deletions
+14
View File
@@ -107,6 +107,12 @@ class _DevMenuViewState extends State<DevMenuView> {
subtitle: 'Show FPS, memory, widget count',
onTap: () => _showDebugOverlayInfo(),
),
_Tile(
icon: Icons.error_outline_rounded,
title: 'Error screen',
subtitle: 'View the error screen UI',
onTap: () => context.push('/error'),
),
],
),
_Section(
@@ -141,6 +147,14 @@ class _DevMenuViewState extends State<DevMenuView> {
subtitle: 'Set all products below threshold',
onTap: vm.isLoading ? null : () => vm.simulateLowStock(),
),
_Tile(
icon: Icons.history_rounded,
title: 'Generate 100 mock orders',
subtitle: 'Random customers, items, and amounts',
onTap: vm.isLoading
? null
: () => vm.generateMockOrders(count: 100),
),
],
),
_Section(