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
42da7d7058 chore: 3 Providers lazy loaded (#6100)
* ColorProvider/TextConstrastProvider/AppNewsProvider lazy loaded

* Lazy permissionListener

* Fix warnings

* Fix tests not passing
2025-01-04 09:08:56 +01:00
bccdf1c5ce chore: Migration to Flutter 3.16 (#4917)
* Migration to Flutter 3.16

* Dart format

---------

Co-authored-by: monsieurtanuki <fabrice_fontaine@hotmail.com>
2024-01-09 12:02:00 +01:00
0ddd5c6538 chore: upgraded flutter_map to 6.0.1 (#4757)
* chore: upgraded flutter_map to 6.0.1

Impacted files:
* `add_new_product_page.dart`: matomo upgrade
* `analytics_helper.dart`: matomo upgrade
* `camera_scan_page.dart`: matomo upgrade
* `forgot_password_page.dart`: matomo upgrade
* `knowledge_panel_page.dart`: matomo upgrade
* `knowledge_panel_world_map_card.dart`: flutter_map upgrade
* `login_page.dart`: matomo upgrade
* `main.dart`: matomo upgrade
* `new_product_page.dart`: matomo upgrade
* `personalized_ranking_page.dart`: matomo upgrade
* `product_list_page.dart`: matomo upgrade
* `product_query_page.dart`: matomo upgrade
* `pubspec.lock`: wtf
* `pubspec.yaml`: upgraded flutter_map to 6.0.1 (+ domino effect)
* `question_page.dart`: matomo upgrade
* `sign_up_page.dart`: matomo upgrade
* `user_preferences_page.dart`: matomo upgrade

* chore: upgrade flutter_map to 6.0.1

Impacted file:
* `mocks.dart`: matomo upgrade

* chore: unit test fix

* pubspec upgrade
2023-11-17 12:50:35 +01:00
78884a6ad2 feat: App review in the "scan card" (#4450)
* App review in the "scan card"

* Add a keep alive to prevent many requests

* Add a missing call to super (for the KeepAlive mixin)

* Don't really understand what happened with this file 🤨
2023-08-05 17:27:59 +02:00
7487b72af0 chore: Upgrade Matomo to 3.1 (#4000) 2023-07-16 18:49:07 +02:00
0363affc81 feat: AMOLED Dark Mode (#3703)
* ignored some generated files

* init amoled mode

* color scheme

* test updated for amoled

* added accent color picker

* localized accent color picker

* added color provider

* Dark Mode changed to Theme mode

* Map key iteration only

* Update packages/smooth_app/lib/l10n/app_en.arb

Co-authored-by: Aman Raj <57723319+AshAman999@users.noreply.github.com>

* removed external dep

* updated golden test

* added comments

* using shade fun

* color scheme localization

* color scheme localization

* added textContrast

* color contrast app settings

* merged upstream

* typo fix

* added color to DropDownMenuItems

* SnackBar text, contrast level

* text contrast change to pass WCAG2.1

* snackBar Color Change

---------

Co-authored-by: Aman Raj <57723319+AshAman999@users.noreply.github.com>
2023-03-09 18:19:39 +01:00
61d9f39ae0 feat: web account deletion (#3416)
* feat: add webview for account deletion

* feat: add webview for account deletion

* clean(preferences): remove useless reasonController

* clean: fix variable naming

* refactor: add deletionwebview state private and remove l10n from path segments
2022-12-09 16:49:10 +01:00
1d5abac606 fix: Goldens update darkmode status (#3016)
* fix: Goldens update darkmode status

* Update user_preferences_page_test.dart

* fix

* Update user_preferences_page_test.dart
2022-09-15 17:45:31 +02:00
4554a7aa65 Revert "refactor: Avoid unused parameters (#2407)" (#2418)
This reverts commit 3067a7f743f7be6d019d096126e1ee27c43975b6.
2022-06-29 10:01:27 +02:00
3067a7f743 refactor: Avoid unused parameters (#2407) 2022-06-28 16:50:19 +02:00
8b658338df feat: Nutritional values: ensure only one decimal separator is displayed (#2143)
* Nutritional values: ensure only one decimal separator is displayed

* Add an assert

* Some tests for StringExtensions

* More tests

* Better support multiple separators
2022-06-06 12:31:15 +02:00