Refactor category handling in inventory and pantry forms
Test Suite / test (24.15.0) (push) Has been cancelled

- Introduced `_categorySearchController` and `_categoryOptions` in both `_InventoryFormDialogState` and `_PantryFormDialogState` to manage category selection more effectively.
- Implemented `_flattenCategoryOptions` method to create a flat list of category options from nested category nodes.
- Updated the initialization and disposal of the new controllers to ensure proper resource management.
- Made minor adjustments to the PopupMenuItem definitions in `AppShell` for consistency.
This commit is contained in:
Nils-Johan Gynther
2026-05-11 17:03:58 +02:00
parent d038d30831
commit 9b4d1f94bf
6 changed files with 84459 additions and 79916 deletions
+1 -1
View File
@@ -37,6 +37,6 @@ _flutter.buildConfig = {"engineRevision":"59aa584fdf100e6c78c785d8a5b565d1de4b48
_flutter.loader.load({
serviceWorkerSettings: {
serviceWorkerVersion: "3795187910" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
serviceWorkerVersion: "2742817442" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
}
});
+84414 -79910
View File
File diff suppressed because one or more lines are too long