From a812a70b1df96e3c262fcf38dc33e3145ee074df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20Perret?= Date: Thu, 14 May 2026 16:05:08 +0200 Subject: [PATCH] =?UTF-8?q?fix=20:=20Diff=C3=A9rentes=20erreurs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .dart_tool/extension_discovery/devtools.json | 1 - .dart_tool/package_config_subset | 425 ------------------ lib/app/app.dart | 2 - lib/models/event.dart | 5 - lib/ui/bottom_sheets/notice/notice_sheet.dart | 4 +- lib/ui/common/ReadMoreText.dart | 7 +- lib/ui/common/animator_widget.dart | 4 +- lib/ui/common/post_card_widget copy.dart | 6 +- lib/ui/common/post_card_widget.dart | 6 +- .../dialogs/info_alert/info_alert_dialog.dart | 4 +- .../event_details/event_details_view.dart | 8 +- lib/ui/views/home/home_view.dart | 4 +- lib/ui/views/main/main_view.dart | 8 +- lib/ui/views/startup/startup_view.dart | 2 +- 14 files changed, 26 insertions(+), 460 deletions(-) delete mode 100644 .dart_tool/extension_discovery/devtools.json delete mode 100644 .dart_tool/package_config_subset diff --git a/.dart_tool/extension_discovery/devtools.json b/.dart_tool/extension_discovery/devtools.json deleted file mode 100644 index f7ef94a..0000000 --- a/.dart_tool/extension_discovery/devtools.json +++ /dev/null @@ -1 +0,0 @@ -{"version":2,"entries":[{"package":"provider","rootUri":"file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/provider-6.1.5+1/","packageUri":"lib/","config":{"name":"provider","issueTracker":"https://github.com/rrousselGit/provider/issues","version":"0.0.1","materialIconCodePoint":"0xe0b1"}},{"package":"bahla_front","rootUri":"../","packageUri":"lib/"}]} \ No newline at end of file diff --git a/.dart_tool/package_config_subset b/.dart_tool/package_config_subset deleted file mode 100644 index 91beb2f..0000000 --- a/.dart_tool/package_config_subset +++ /dev/null @@ -1,425 +0,0 @@ -_fe_analyzer_shared -3.3 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/_fe_analyzer_shared-76.0.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/_fe_analyzer_shared-76.0.0/lib/ -analyzer -3.3 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/analyzer-6.11.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/analyzer-6.11.0/lib/ -args -3.3 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/args-2.6.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/args-2.6.0/lib/ -async -3.4 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/async-2.13.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/async-2.13.0/lib/ -boolean_selector -3.1 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/boolean_selector-2.1.2/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/boolean_selector-2.1.2/lib/ -build -2.19 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/build-2.4.1/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/build-2.4.1/lib/ -build_config -2.14 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/build_config-1.1.1/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/build_config-1.1.1/lib/ -build_daemon -3.4 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/build_daemon-4.0.2/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/build_daemon-4.0.2/lib/ -build_resolvers -3.0 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/build_resolvers-2.4.2/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/build_resolvers-2.4.2/lib/ -build_runner -3.5 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/build_runner-2.4.13/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/build_runner-2.4.13/lib/ -build_runner_core -3.5 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/build_runner_core-7.3.2/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/build_runner_core-7.3.2/lib/ -built_collection -2.12 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/built_collection-5.1.1/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/built_collection-5.1.1/lib/ -built_value -3.0 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/built_value-8.9.2/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/built_value-8.9.2/lib/ -characters -3.4 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/characters-1.4.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/characters-1.4.0/lib/ -checked_yaml -2.19 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/checked_yaml-2.0.3/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/checked_yaml-2.0.3/lib/ -clock -3.4 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/clock-1.1.2/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/clock-1.1.2/lib/ -code_builder -3.0 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/code_builder-4.10.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/code_builder-4.10.0/lib/ -collection -3.4 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.19.1/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.19.1/lib/ -convert -3.4 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/convert-3.1.2/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/convert-3.1.2/lib/ -crypto -3.4 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/crypto-3.0.6/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/crypto-3.0.6/lib/ -dart_style -3.0 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/dart_style-2.3.7/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/dart_style-2.3.7/lib/ -fake_async -3.3 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/fake_async-1.3.3/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/fake_async-1.3.3/lib/ -ffi -3.3 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/ffi-2.1.3/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/ffi-2.1.3/lib/ -file -3.0 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/file-7.0.1/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/file-7.0.1/lib/ -fixnum -3.1 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/fixnum-1.1.1/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/fixnum-1.1.1/lib/ -flutter_lints -2.19 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_lints-2.0.3/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_lints-2.0.3/lib/ -flutter_svg -3.4 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_svg-2.0.11/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_svg-2.0.11/lib/ -freezed_annotation -3.0 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/freezed_annotation-2.4.4/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/freezed_annotation-2.4.4/lib/ -frontend_server_client -3.0 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/frontend_server_client-4.0.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/frontend_server_client-4.0.0/lib/ -get -2.15 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/get-4.6.6/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/get-4.6.6/lib/ -get_it -3.0 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/get_it-7.7.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/get_it-7.7.0/lib/ -glob -2.19 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/glob-2.1.2/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/glob-2.1.2/lib/ -google_fonts -2.14 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/google_fonts-6.2.1/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/google_fonts-6.2.1/lib/ -graphs -3.4 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/graphs-2.3.2/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/graphs-2.3.2/lib/ -http -3.3 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/http-1.2.2/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/http-1.2.2/lib/ -http_multi_server -2.12 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/http_multi_server-3.2.1/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/http_multi_server-3.2.1/lib/ -http_parser -2.12 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/http_parser-4.0.2/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/http_parser-4.0.2/lib/ -intl -3.3 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/intl-0.20.2/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/intl-0.20.2/lib/ -io -2.12 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/io-1.0.4/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/io-1.0.4/lib/ -js -3.1 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/js-0.7.1/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/js-0.7.1/lib/ -json_annotation -3.0 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/json_annotation-4.9.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/json_annotation-4.9.0/lib/ -leak_tracker -3.2 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker-10.0.9/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker-10.0.9/lib/ -leak_tracker_flutter_testing -3.2 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.9/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.9/lib/ -leak_tracker_testing -3.2 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker_testing-3.0.1/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker_testing-3.0.1/lib/ -lints -3.0 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/lints-2.1.1/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/lints-2.1.1/lib/ -logger -2.12 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/logger-1.4.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/logger-1.4.0/lib/ -logging -3.4 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/logging-1.3.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/logging-1.3.0/lib/ -macros -3.4 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/macros-0.1.3-main.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/macros-0.1.3-main.0/lib/ -matcher -3.4 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.17/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.17/lib/ -material_color_utilities -2.17 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/material_color_utilities-0.11.1/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/material_color_utilities-0.11.1/lib/ -meta -2.12 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.16.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.16.0/lib/ -mime -3.2 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/mime-2.0.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/mime-2.0.0/lib/ -mockito -3.1 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/mockito-5.4.4/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/mockito-5.4.4/lib/ -nested -2.12 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/nested-1.0.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/nested-1.0.0/lib/ -package_config -2.12 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/package_config-2.1.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/package_config-2.1.0/lib/ -path -3.4 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.9.1/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.9.1/lib/ -path_parsing -3.3 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/path_parsing-1.0.3/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/path_parsing-1.0.3/lib/ -path_provider -3.4 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider-2.1.5/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider-2.1.5/lib/ -path_provider_android -3.5 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_android-2.2.12/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_android-2.2.12/lib/ -path_provider_foundation -3.2 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_foundation-2.4.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_foundation-2.4.0/lib/ -path_provider_linux -2.19 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_linux-2.2.1/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_linux-2.2.1/lib/ -path_provider_platform_interface -3.0 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_platform_interface-2.1.2/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_platform_interface-2.1.2/lib/ -path_provider_windows -3.2 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_windows-2.3.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_windows-2.3.0/lib/ -petitparser -3.2 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/petitparser-6.0.2/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/petitparser-6.0.2/lib/ -platform -3.2 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/platform-3.1.6/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/platform-3.1.6/lib/ -plugin_platform_interface -3.0 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/plugin_platform_interface-2.1.8/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/plugin_platform_interface-2.1.8/lib/ -pool -2.12 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/pool-1.5.1/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/pool-1.5.1/lib/ -provider -2.12 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/provider-6.1.2/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/provider-6.1.2/lib/ -pub_semver -2.17 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/pub_semver-2.1.4/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/pub_semver-2.1.4/lib/ -pubspec_parse -3.0 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/pubspec_parse-1.3.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/pubspec_parse-1.3.0/lib/ -recase -2.12 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/recase-4.1.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/recase-4.1.0/lib/ -shelf -2.17 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/shelf-1.4.1/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/shelf-1.4.1/lib/ -shelf_web_socket -3.0 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/shelf_web_socket-2.0.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/shelf_web_socket-2.0.0/lib/ -source_gen -3.0 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/source_gen-1.5.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/source_gen-1.5.0/lib/ -source_span -3.1 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.10.1/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.10.1/lib/ -stack_trace -3.4 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.12.1/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.12.1/lib/ -stacked -2.17 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/stacked-3.4.3/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/stacked-3.4.3/lib/ -stacked_generator -2.17 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/stacked_generator-1.6.1/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/stacked_generator-1.6.1/lib/ -stacked_services -2.15 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/stacked_services-1.5.1/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/stacked_services-1.5.1/lib/ -stacked_shared -2.16 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/stacked_shared-1.4.1/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/stacked_shared-1.4.1/lib/ -stream_channel -3.3 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.4/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.4/lib/ -stream_transform -2.14 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/stream_transform-2.1.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/stream_transform-2.1.0/lib/ -string_scanner -3.1 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.4.1/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.4.1/lib/ -term_glyph -3.1 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/term_glyph-1.2.2/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/term_glyph-1.2.2/lib/ -test_api -3.5 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.7.4/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.7.4/lib/ -timing -2.14 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/timing-1.0.1/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/timing-1.0.1/lib/ -typed_data -3.5 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/typed_data-1.4.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/typed_data-1.4.0/lib/ -universal_io -2.17 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/universal_io-2.2.2/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/universal_io-2.2.2/lib/ -vector_graphics -3.4 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/vector_graphics-1.1.12/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/vector_graphics-1.1.12/lib/ -vector_graphics_codec -3.4 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/vector_graphics_codec-1.1.12/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/vector_graphics_codec-1.1.12/lib/ -vector_graphics_compiler -3.4 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/vector_graphics_compiler-1.1.12/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/vector_graphics_compiler-1.1.12/lib/ -vector_math -2.14 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/vector_math-2.1.4/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/vector_math-2.1.4/lib/ -vm_service -3.3 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/vm_service-15.0.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/vm_service-15.0.0/lib/ -watcher -3.0 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/watcher-1.1.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/watcher-1.1.0/lib/ -web -3.4 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/web-1.1.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/web-1.1.0/lib/ -web_socket -3.3 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/web_socket-0.1.6/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/web_socket-0.1.6/lib/ -web_socket_channel -3.3 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/web_socket_channel-3.0.1/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/web_socket_channel-3.0.1/lib/ -xdg_directories -3.3 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/xdg_directories-1.1.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/xdg_directories-1.1.0/lib/ -xml -3.2 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/xml-6.5.0/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/xml-6.5.0/lib/ -yaml -2.19 -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/yaml-3.1.2/ -file:///C:/Users/Yael/AppData/Local/Pub/Cache/hosted/pub.dev/yaml-3.1.2/lib/ -_macros -3.5 -file:///D:/SDK/flutter/bin/cache/dart-sdk/pkg/_macros/ -file:///D:/SDK/flutter/bin/cache/dart-sdk/pkg/_macros/lib/ -sky_engine -3.7 -file:///D:/SDK/flutter/bin/cache/pkg/sky_engine/ -file:///D:/SDK/flutter/bin/cache/pkg/sky_engine/lib/ -flutter -3.7 -file:///D:/SDK/flutter/packages/flutter/ -file:///D:/SDK/flutter/packages/flutter/lib/ -flutter_localizations -3.7 -file:///D:/SDK/flutter/packages/flutter_localizations/ -file:///D:/SDK/flutter/packages/flutter_localizations/lib/ -flutter_test -3.7 -file:///D:/SDK/flutter/packages/flutter_test/ -file:///D:/SDK/flutter/packages/flutter_test/lib/ -bahla_front -3.0 -file:///W:/Dev/Client/Bahla%20Team/bahla_front/ -file:///W:/Dev/Client/Bahla%20Team/bahla_front/lib/ -2 diff --git a/lib/app/app.dart b/lib/app/app.dart index a8034ec..2c13e21 100644 --- a/lib/app/app.dart +++ b/lib/app/app.dart @@ -13,8 +13,6 @@ import 'package:bahla_front/ui/views/event_details/event_details_view.dart'; MaterialRoute(page: HomeView), MaterialRoute(page: StartupView), MaterialRoute(page: MainView), - MaterialRoute(page: HomeView), - MaterialRoute(page: EventDetailsView), MaterialRoute(page: EventDetailsView), // @stacked-route ], diff --git a/lib/models/event.dart b/lib/models/event.dart index 7360144..e2b0d9e 100644 --- a/lib/models/event.dart +++ b/lib/models/event.dart @@ -20,11 +20,6 @@ class Event { this.isFavorite = false, }); - @override - String toString() { - return 'Event{name: $name, picture: $picture}'; - } - factory Event.fromJson(Map json) => _$EventFromJson(json); Map toJson() => _$EventToJson(this); } \ No newline at end of file diff --git a/lib/ui/bottom_sheets/notice/notice_sheet.dart b/lib/ui/bottom_sheets/notice/notice_sheet.dart index 55fb4cb..df578bb 100644 --- a/lib/ui/bottom_sheets/notice/notice_sheet.dart +++ b/lib/ui/bottom_sheets/notice/notice_sheet.dart @@ -10,10 +10,10 @@ class NoticeSheet extends StackedView { final Function(SheetResponse)? completer; final SheetRequest request; const NoticeSheet({ - Key? key, + super.key, required this.completer, required this.request, - }) : super(key: key); + }); @override Widget builder( diff --git a/lib/ui/common/ReadMoreText.dart b/lib/ui/common/ReadMoreText.dart index 8cfe19b..06bb0e7 100644 --- a/lib/ui/common/ReadMoreText.dart +++ b/lib/ui/common/ReadMoreText.dart @@ -5,13 +5,12 @@ import 'package:flutter/material.dart'; class ReadMoreText extends StatefulWidget { const ReadMoreText( this.text, { - Key? key, + super.key, this.trimLines = 2, this.collapsedText = '... read more', this.expandedText = ' read less', this.textStyle, - }) : assert(text != null), - super(key: key); + }) : assert(text != null); final String text; final int trimLines; @@ -69,7 +68,7 @@ class ReadMoreTextState extends State { textSize.height, )); endIndex = textPainter.getOffsetBefore(pos.offset); - var textSpan; + TextSpan textSpan; if (textPainter.didExceedMaxLines) { textSpan = TextSpan( text: _readMore diff --git a/lib/ui/common/animator_widget.dart b/lib/ui/common/animator_widget.dart index a574049..e62aaab 100644 --- a/lib/ui/common/animator_widget.dart +++ b/lib/ui/common/animator_widget.dart @@ -14,7 +14,7 @@ class AnimatorWidget extends StatefulWidget { final double? aspectRatio; // Nouveau paramètre pour le ratio (largeur/hauteur) const AnimatorWidget({ - Key? key, + super.key, required this.authorName, required this.authorImageUrl, this.publishDate, @@ -26,7 +26,7 @@ class AnimatorWidget extends StatefulWidget { this.onComment, this.onShare, this.aspectRatio, // null = ratio naturel de l'image, ex: 16/9, 4/3, 1/1 - }) : super(key: key); + }); @override State createState() => _AnimatorWidgetWidgetState(); diff --git a/lib/ui/common/post_card_widget copy.dart b/lib/ui/common/post_card_widget copy.dart index 554104b..2b807a7 100644 --- a/lib/ui/common/post_card_widget copy.dart +++ b/lib/ui/common/post_card_widget copy.dart @@ -15,7 +15,7 @@ class PostCardWidget extends StatelessWidget { final VoidCallback? onShare; const PostCardWidget({ - Key? key, + super.key, required this.title, required this.content, required this.authorName, @@ -28,7 +28,7 @@ class PostCardWidget extends StatelessWidget { this.onLike, this.onComment, this.onShare, - }) : super(key: key); + }); @override Widget build(BuildContext context) { @@ -109,7 +109,7 @@ class PostCardWidget extends StatelessWidget { // Images avec boutons d'action si présentes if (imageUrls != null && imageUrls!.isNotEmpty) - Container( + SizedBox( //margin: const EdgeInsets.symmetric(vertical: 12.0), height: 200, child: Stack( diff --git a/lib/ui/common/post_card_widget.dart b/lib/ui/common/post_card_widget.dart index e363b45..b4c597f 100644 --- a/lib/ui/common/post_card_widget.dart +++ b/lib/ui/common/post_card_widget.dart @@ -18,7 +18,7 @@ class PostCardWidget extends StatefulWidget { final double? aspectRatio; // Nouveau paramètre pour le ratio (largeur/hauteur) const PostCardWidget({ - Key? key, + super.key, required this.title, required this.content, required this.authorName, @@ -32,7 +32,7 @@ class PostCardWidget extends StatefulWidget { this.onComment, this.onShare, this.aspectRatio, // null = ratio naturel de l'image, ex: 16/9, 4/3, 1/1 - }) : super(key: key); + }); @override State createState() => _PostCardWidgetState(); @@ -129,7 +129,7 @@ class _PostCardWidgetState extends State { builder: (context, snapshot) { final imageHeight = snapshot.data ?? 200.0; // Hauteur par défaut si pas encore calculée - return Container( + return SizedBox( height: imageHeight, child: Stack( children: [ diff --git a/lib/ui/dialogs/info_alert/info_alert_dialog.dart b/lib/ui/dialogs/info_alert/info_alert_dialog.dart index a0d10c5..1b809aa 100644 --- a/lib/ui/dialogs/info_alert/info_alert_dialog.dart +++ b/lib/ui/dialogs/info_alert/info_alert_dialog.dart @@ -13,10 +13,10 @@ class InfoAlertDialog extends StackedView { final Function(DialogResponse) completer; const InfoAlertDialog({ - Key? key, + super.key, required this.request, required this.completer, - }) : super(key: key); + }); @override Widget builder( diff --git a/lib/ui/views/event_details/event_details_view.dart b/lib/ui/views/event_details/event_details_view.dart index 14a0f5d..a936264 100644 --- a/lib/ui/views/event_details/event_details_view.dart +++ b/lib/ui/views/event_details/event_details_view.dart @@ -8,7 +8,7 @@ import 'package:bahla_front/ui/common/post_card_widget.dart'; class EventDetailsView extends StackedView { final int eventId; - const EventDetailsView({Key? key, required this.eventId}) : super(key: key); + const EventDetailsView({super.key, required this.eventId}); @override Widget builder( @@ -32,7 +32,7 @@ class EventDetailsView extends StackedView { SliverToBoxAdapter( child: Column( children: [ - Container( + SizedBox( width: double.infinity, height: MediaQuery.of(context).size.width * 9 / 16, child: const Image( @@ -56,7 +56,7 @@ class EventDetailsView extends StackedView { ), const SizedBox(height: 16), Center( - child: Container( + child: SizedBox( width: MediaQuery.of(context).size.width * 0.8, child: Table( columnWidths: const { @@ -153,7 +153,7 @@ class EventDetailsView extends StackedView { padding: const EdgeInsets.symmetric(vertical: 4.0), child: Align( alignment: Alignment.centerLeft, - child: Container( + child: SizedBox( width: 40, height: 40, child: Image.asset( diff --git a/lib/ui/views/home/home_view.dart b/lib/ui/views/home/home_view.dart index 5019631..706616b 100644 --- a/lib/ui/views/home/home_view.dart +++ b/lib/ui/views/home/home_view.dart @@ -5,7 +5,7 @@ import 'package:intl/intl.dart'; import 'home_viewmodel.dart'; class HomeView extends StackedView { - const HomeView({Key? key}) : super(key: key); + const HomeView({super.key}); @override Widget builder( @@ -14,7 +14,7 @@ class HomeView extends StackedView { Widget? child, ) { return Scaffold( - backgroundColor: Theme.of(context).colorScheme.background, + backgroundColor: Theme.of(context).colorScheme.surface, body: ListView.builder( itemCount: viewModel.events.length, itemBuilder: (context, index) { diff --git a/lib/ui/views/main/main_view.dart b/lib/ui/views/main/main_view.dart index cfb99fb..845adad 100644 --- a/lib/ui/views/main/main_view.dart +++ b/lib/ui/views/main/main_view.dart @@ -7,7 +7,7 @@ import 'package:flutter_svg/flutter_svg.dart'; import 'main_viewmodel.dart'; class MainView extends StackedView { - const MainView({Key? key}) : super(key: key); + const MainView({super.key}); @override Widget builder( @@ -30,7 +30,7 @@ class MainView extends StackedView { ], ), centerTitle: false, - backgroundColor: Theme.of(context).colorScheme.background, + backgroundColor: Theme.of(context).colorScheme.surface, shape: Border( bottom: BorderSide( color: Theme.of(context).colorScheme.outline, @@ -38,10 +38,10 @@ class MainView extends StackedView { ), ), ), - backgroundColor: Theme.of(context).colorScheme.background, + backgroundColor: Theme.of(context).colorScheme.surface, bottomNavigationBar: BottomNavigationBar( type: BottomNavigationBarType.fixed, - backgroundColor: Theme.of(context).colorScheme.background, + backgroundColor: Theme.of(context).colorScheme.surface, currentIndex: viewModel.currentIndex, onTap: viewModel.setIndex, showSelectedLabels: false, diff --git a/lib/ui/views/startup/startup_view.dart b/lib/ui/views/startup/startup_view.dart index 448be2c..5a072cc 100644 --- a/lib/ui/views/startup/startup_view.dart +++ b/lib/ui/views/startup/startup_view.dart @@ -6,7 +6,7 @@ import 'package:bahla_front/ui/common/ui_helpers.dart'; import 'startup_viewmodel.dart'; class StartupView extends StackedView { - const StartupView({Key? key}) : super(key: key); + const StartupView({super.key}); @override Widget builder(