forked from openfoodfacts/smooth-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: openfoodfacts#2785 - async access to dao product list (openfood…
…facts#2788) Impacted files: * `all_user_product_list_page.dart`: split in a not-loaded / loaded version; computes each user list length with a `FutureBuilder * `continuous_scan_model.dart`: minor refactoring * `dao_product_list.dart`: switch from "box" to "lazyBox" in order to cleanly make all methods `async` * `new_product_page.dart`: now loading lists with `FutureBuilder` * `paged_product_query.dart`: replaced deprecated methods * `paged_to_be_completed_product_query.dart`: replaced deprecated methods * `product_list_import_export.dart`: replaced deprecated methods * `product_list_page.dart`: minor refactoring; replaced deprecated methods * `product_list_supplier.dart`: minor refactoring * `product_list_user_dialog_helper.dart`: now explicitly calling `notifyListeners` as `setState` won't be enough because of pre-loaded data * `pubspec.lock`: generated * `pubspec.yaml`: upgrade to `openfoodfacts: ^1.24.0` * `query_product_list_supplier.dart`: minor refactoring
- Loading branch information
1 parent
133071d
commit d922511
Showing
8 changed files
with
143 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.