forked from openfoodfacts/smooth-app
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature/#147 - local look-up - first step towards autocomplete text f…
…ield Implemented a look-up on the local database, and linked it to the text field. For the moment, the matching products are only printed in the console. The next step would be to display the results with an autocomplete text field. Impacted files: * `dao_product.dart`: new method `List<Product> getSuggestions(String)` * `home_page.dart`: added an `onUpdate` method on the text field to print the products that match locally
- Loading branch information
1 parent
1112a17
commit f546254
Showing
2 changed files
with
42 additions
and
0 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