13 Commits

Author SHA1 Message Date
e3bc40fdf3 chore: Migration to Dart 3.8 (#6668)
* Migration to Dart 3.8

* New GA

* Fix dartdoc
2025-06-23 18:14:17 +02:00
dda75e283e feat: Flutter 3.32 (#6665)
* Migration to Flutter 3.32

* Temporary ignore dart formatter issues
2025-06-23 09:56:00 +02:00
d2ac037b74 Revert "chore: Revert Flutter bump to 3.22 (#5463)" (#5468)
This reverts commit 1a9091c09d0ad4addf46e85b90bc9075749ce153.
2024-07-04 15:28:58 +02:00
1a9091c09d chore: Revert Flutter bump to 3.22 (#5463)
This reverts commit 9e211ca29c5caf33c5ca7401ab92235ccb81cb27.
2024-07-04 10:33:23 +02:00
9e211ca29c chore: Bump Flutter version to 3.22 (#5458)
* Bump Flutter version to 3.22

* Migrate Material properties
2024-07-04 09:10:34 +02:00
1728eff579 Replace all MediaQuery.of(context).size with MediaQuery.sizeOf(context) (#5328) 2024-06-03 17:09:37 +02:00
9075fdc343 fix: RankingFloatingActionButton partially off-screen for some translations (#5117)
* Bug: wrapping RankingFloatingActionButton inside a Expanded widget and it's childs inside a FittedBox widget

* fix: Adding AutoSizeText to FloatingActionButton and adding it to a FittedBox

* fix: returning RankingFloatingActionButton class comments

* refactor: Replacing FloatingActionButton for ElevatedButton inside RankingFloatingActionButton

* fix: Limiting BackToTopButton height to MINIMUM_TOUCH_SIZE and adjusting alignment logic

* fix: Changed the  property of a widget from conditional to fixed value and removed redundant Padding

* fix: Refactor widget structure from Row to Container

---------

Co-authored-by: Gabriel Moraes <gmmoraes@Gabriels-Mac-mini.local>
2024-05-14 06:44:19 +02:00
85fcde1b5c Force all "Hero" widgets to have a unique tag (#4124) 2023-06-15 12:24:33 +02:00
803a678af4 fix: #2180 - more simple app bar title for search results (#2187)
Impacted files:
* `personalized_ranking_page.dart`: refactored
* `product_query_page.dart`: removed color parameter; simplified app bars
* `product_query_page_helper.dart`: removed color parameter
* `ranking_floating_action_button.dart`: removed color parameter
* `search_page.dart`: refactored
* `smooth_product_card_found.dart`: refactored - removed unused fields, set `elevation` as `const`
* `summary_card.dart`: refactored
2022-06-07 08:14:48 +02:00
c3b44aced2 fix: Flutter 3.0 fixes (#1814)
* fix: Flutter 3.0 fixes

* Workflows

* Update gradle

* Automated fixes

* Manual async gap fixes

* Fix merge conflict reverts

* Format

* qr_code_scanner fixes
2022-05-12 16:07:22 +02:00
44cd470dff feat: #878 - added a multiselect mode to product list page (#1035)
Impacted files:
* `app_en.arb`: added a "compare mode" label
* `app_fr.arb`: added a "compare mode" label
* `personalized_ranking_page.dart`: added a `fromItems` constructor for more flexibility
* `product_list_item_simple.dart`: added optional `onTap` parameter in order to override the default behavior when checking/unchecking, and an optional `onLongPress` parameter in order to trigger selection mode
* `product_list_page.dart`: added a "multiselect" mode and a header with buttons; removed FABs; added longPress-to-selection-mode feature
* `product_query.dart`: unrelated removal of a harmless duplicate
* `product_query_page.dart`: refactored
* `ranking_floating_action_button.dart`: added a comment about getting rid of this class because of possible confusion
* `scan_page_helper.dart`: refactored
* `smooth_it_model.dart`: for flexibility, now using `List<Product>` instead of `ProductList`
* `smooth_product_card_found.dart`: added optional `onTap` parameter in order to override the default behavior when checking/unchecking
2022-01-31 15:07:08 +01:00
e874bbeea0 refactor: Package merge (#981) 2022-01-26 16:50:13 +01:00
f52d58df5d fix: #788 - same ranking FAB for history and search (#793)
New file:
* `ranking_floating_action_button.dart`: Floating Action Button dedicated to Personal Ranking

Impacted files:
* `continuous_scan_page.dart`: minor refactoring
* `product_list_page.dart`: now using new Ranking FAB
* `product_query_page.dart`: now using new Ranking FAB
2021-12-29 14:41:09 +01:00