From 575343ff82a3fa0fac7c9ecaeed7f0e5fe9adb5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elias=20M=C3=BCller?= <elias@elias-mueller.com> Date: Mon, 10 Jul 2023 14:07:25 +0200 Subject: [PATCH] Added reaction overview with list of names who reacted --- .idea/libraries/Dart_Packages.xml | 220 +++++++++--------- .idea/libraries/Flutter_Plugins.xml | 34 +-- .../talk/getReactions/getReactions.dart | 27 +++ .../getReactions/getReactionsResponse.dart | 31 +++ .../getReactions/getReactionsResponse.g.dart | 52 +++++ .../talk/room/getRoomResponse.g.dart | 3 +- lib/view/pages/talk/chatBubble.dart | 15 ++ lib/view/pages/talk/messageReactions.dart | 73 ++++++ 8 files changed, 323 insertions(+), 132 deletions(-) create mode 100644 lib/api/marianumcloud/talk/getReactions/getReactions.dart create mode 100644 lib/api/marianumcloud/talk/getReactions/getReactionsResponse.dart create mode 100644 lib/api/marianumcloud/talk/getReactions/getReactionsResponse.g.dart create mode 100644 lib/view/pages/talk/messageReactions.dart diff --git a/.idea/libraries/Dart_Packages.xml b/.idea/libraries/Dart_Packages.xml index 6ad2e2b..6a4da8f 100644 --- a/.idea/libraries/Dart_Packages.xml +++ b/.idea/libraries/Dart_Packages.xml @@ -5,14 +5,14 @@ <entry key="_fe_analyzer_shared"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/_fe_analyzer_shared-62.0.0/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/_fe_analyzer_shared-61.0.0/lib" /> </list> </value> </entry> <entry key="analyzer"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/analyzer-6.0.0/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/analyzer-5.13.0/lib" /> </list> </value> </entry> @@ -47,14 +47,14 @@ <entry key="args"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/args-2.4.2/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/args-2.4.1/lib" /> </list> </value> </entry> <entry key="asn1lib"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/asn1lib-1.4.1/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/asn1lib-1.4.0/lib" /> </list> </value> </entry> @@ -103,7 +103,7 @@ <entry key="build"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/build-2.4.1/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/build-2.4.0/lib" /> </list> </value> </entry> @@ -124,21 +124,21 @@ <entry key="build_resolvers"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/build_resolvers-2.2.1/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/build_resolvers-2.2.0/lib" /> </list> </value> </entry> <entry key="build_runner"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/build_runner-2.4.6/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/build_runner-2.4.4/lib" /> </list> </value> </entry> <entry key="build_runner_core"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/build_runner_core-7.2.10/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/build_runner_core-7.2.8/lib" /> </list> </value> </entry> @@ -152,7 +152,7 @@ <entry key="built_value"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/built_value-8.6.1/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/built_value-8.5.0/lib" /> </list> </value> </entry> @@ -208,7 +208,7 @@ <entry key="code_builder"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/code_builder-4.5.0/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/code_builder-4.4.0/lib" /> </list> </value> </entry> @@ -229,7 +229,7 @@ <entry key="cookie_jar"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/cookie_jar-4.0.5/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/cookie_jar-4.0.2/lib" /> </list> </value> </entry> @@ -257,7 +257,7 @@ <entry key="csslib"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/csslib-1.0.0/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/csslib-0.17.2/lib" /> </list> </value> </entry> @@ -268,17 +268,10 @@ </list> </value> </entry> - <entry key="dart_internal"> - <value> - <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/dart_internal-0.2.8/lib" /> - </list> - </value> - </entry> <entry key="dart_style"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/dart_style-2.3.2/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/dart_style-2.3.1/lib" /> </list> </value> </entry> @@ -306,7 +299,7 @@ <entry key="dynamite_runtime"> <value> <list> - <option value="$USER_HOME$/.pub-cache/git/nextcloud-neon-753c41c5a26a9cd70c07c05c06980d524b414734/packages/dynamite/dynamite_runtime/lib" /> + <option value="$USER_HOME$/.pub-cache/git/nextcloud-neon-35eb2d65799f3e6a5f53b62da8cac868d3e52f86/packages/dynamite/dynamite_runtime/lib" /> </list> </value> </entry> @@ -334,7 +327,7 @@ <entry key="file_picker"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/file_picker-5.3.1/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/file_picker-5.3.0/lib" /> </list> </value> </entry> @@ -425,7 +418,7 @@ <entry key="flutter_lints"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/flutter_lints-2.0.2/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/flutter_lints-2.0.1/lib" /> </list> </value> </entry> @@ -446,7 +439,7 @@ <entry key="flutter_native_splash"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/flutter_native_splash-2.3.1/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/flutter_native_splash-2.3.0/lib" /> </list> </value> </entry> @@ -474,7 +467,7 @@ <entry key="font_awesome_flutter"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/font_awesome_flutter-10.5.0/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/font_awesome_flutter-10.4.0/lib" /> </list> </value> </entry> @@ -495,14 +488,14 @@ <entry key="graphs"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/graphs-2.3.1/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/graphs-2.3.0/lib" /> </list> </value> </entry> <entry key="html"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/html-0.15.4/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/html-0.15.3/lib" /> </list> </value> </entry> @@ -544,21 +537,21 @@ <entry key="image_picker_android"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker_android-0.8.7+3/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker_android-0.8.6+16/lib" /> </list> </value> </entry> <entry key="image_picker_for_web"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker_for_web-2.2.0/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker_for_web-2.1.12/lib" /> </list> </value> </entry> <entry key="image_picker_ios"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker_ios-0.8.8/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker_ios-0.8.7+4/lib" /> </list> </value> </entry> @@ -628,7 +621,7 @@ <entry key="json_serializable"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/json_serializable-6.7.1/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/json_serializable-6.7.0/lib" /> </list> </value> </entry> @@ -642,7 +635,7 @@ <entry key="lints"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/lints-2.1.1/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/lints-2.1.0/lib" /> </list> </value> </entry> @@ -663,7 +656,7 @@ <entry key="logging"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/logging-1.2.0/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/logging-1.1.1/lib" /> </list> </value> </entry> @@ -705,7 +698,7 @@ <entry key="nextcloud"> <value> <list> - <option value="$USER_HOME$/.pub-cache/git/nextcloud-neon-753c41c5a26a9cd70c07c05c06980d524b414734/packages/nextcloud/lib" /> + <option value="$USER_HOME$/.pub-cache/git/nextcloud-neon-35eb2d65799f3e6a5f53b62da8cac868d3e52f86/packages/nextcloud/lib" /> </list> </value> </entry> @@ -761,7 +754,7 @@ <entry key="path_provider_linux"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/path_provider_linux-2.1.11/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/path_provider_linux-2.1.10/lib" /> </list> </value> </entry> @@ -775,7 +768,7 @@ <entry key="path_provider_windows"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/path_provider_windows-2.1.7/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/path_provider_windows-2.1.6/lib" /> </list> </value> </entry> @@ -887,49 +880,49 @@ <entry key="shared_preferences"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences-2.2.0/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences-2.1.1/lib" /> </list> </value> </entry> <entry key="shared_preferences_android"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_android-2.2.0/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_android-2.1.4/lib" /> </list> </value> </entry> <entry key="shared_preferences_foundation"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.3.0/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.2.2/lib" /> </list> </value> </entry> <entry key="shared_preferences_linux"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.3.0/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.2.0/lib" /> </list> </value> </entry> <entry key="shared_preferences_platform_interface"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_platform_interface-2.3.0/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_platform_interface-2.2.0/lib" /> </list> </value> </entry> <entry key="shared_preferences_web"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_web-2.2.0/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_web-2.1.0/lib" /> </list> </value> </entry> <entry key="shared_preferences_windows"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.3.0/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.2.0/lib" /> </list> </value> </entry> @@ -964,14 +957,14 @@ <entry key="source_gen"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/source_gen-1.4.0/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/source_gen-1.3.2/lib" /> </list> </value> </entry> <entry key="source_helper"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/source_helper-1.3.4/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/source_helper-1.3.3/lib" /> </list> </value> </entry> @@ -992,7 +985,7 @@ <entry key="sqflite_common"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/sqflite_common-2.4.5+1/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/sqflite_common-2.4.5/lib" /> </list> </value> </entry> @@ -1027,63 +1020,63 @@ <entry key="syncfusion_flutter_calendar"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_flutter_calendar-21.2.10/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_flutter_calendar-21.2.5/lib" /> </list> </value> </entry> <entry key="syncfusion_flutter_core"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_flutter_core-21.2.10/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_flutter_core-21.2.8/lib" /> </list> </value> </entry> <entry key="syncfusion_flutter_datepicker"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_flutter_datepicker-21.2.10/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_flutter_datepicker-21.2.5/lib" /> </list> </value> </entry> <entry key="syncfusion_flutter_pdf"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_flutter_pdf-21.2.10/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_flutter_pdf-21.2.8/lib" /> </list> </value> </entry> <entry key="syncfusion_flutter_pdfviewer"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_flutter_pdfviewer-21.2.10/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_flutter_pdfviewer-21.2.8/lib" /> </list> </value> </entry> <entry key="syncfusion_pdfviewer_macos"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_macos-21.2.10/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_macos-21.2.8/lib" /> </list> </value> </entry> <entry key="syncfusion_pdfviewer_platform_interface"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_platform_interface-21.2.10/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_platform_interface-21.2.8/lib" /> </list> </value> </entry> <entry key="syncfusion_pdfviewer_web"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_web-21.2.10/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_web-21.2.8/lib" /> </list> </value> </entry> <entry key="syncfusion_pdfviewer_windows"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_windows-21.2.10/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_windows-21.2.8/lib" /> </list> </value> </entry> @@ -1111,7 +1104,7 @@ <entry key="timezone"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/timezone-0.9.2/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/timezone-0.9.1/lib" /> </list> </value> </entry> @@ -1132,7 +1125,7 @@ <entry key="universal_io"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/universal_io-2.2.2/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/universal_io-2.2.0/lib" /> </list> </value> </entry> @@ -1146,7 +1139,7 @@ <entry key="url_launcher_android"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/url_launcher_android-6.0.36/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/url_launcher_android-6.0.34/lib" /> </list> </value> </entry> @@ -1174,14 +1167,14 @@ <entry key="url_launcher_platform_interface"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/url_launcher_platform_interface-2.1.3/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/url_launcher_platform_interface-2.1.2/lib" /> </list> </value> </entry> <entry key="url_launcher_web"> <value> <list> - <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/url_launcher_web-2.0.17/lib" /> + <option value="$USER_HOME$/.pub-cache/hosted/pub.dev/url_launcher_web-2.0.16/lib" /> </list> </value> </entry> @@ -1266,30 +1259,30 @@ </properties> <CLASSES> <root url="file://$USER_HOME$/.pub-cache/git/flowder-1ddd171a763c4f1ba09b95e34e35e2e5cf0d1bba//lib" /> - <root url="file://$USER_HOME$/.pub-cache/git/nextcloud-neon-753c41c5a26a9cd70c07c05c06980d524b414734/packages/dynamite/dynamite_runtime/lib" /> - <root url="file://$USER_HOME$/.pub-cache/git/nextcloud-neon-753c41c5a26a9cd70c07c05c06980d524b414734/packages/nextcloud/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/_fe_analyzer_shared-62.0.0/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/analyzer-6.0.0/lib" /> + <root url="file://$USER_HOME$/.pub-cache/git/nextcloud-neon-35eb2d65799f3e6a5f53b62da8cac868d3e52f86/packages/dynamite/dynamite_runtime/lib" /> + <root url="file://$USER_HOME$/.pub-cache/git/nextcloud-neon-35eb2d65799f3e6a5f53b62da8cac868d3e52f86/packages/nextcloud/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/_fe_analyzer_shared-61.0.0/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/analyzer-5.13.0/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/animated_digit-3.2.1/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/another_flushbar-1.12.30/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/another_transformer_page_view-2.0.1/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/archive-3.3.7/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/args-2.4.2/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/asn1lib-1.4.1/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/args-2.4.1/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/asn1lib-1.4.0/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/async-2.11.0/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/back_button_interceptor-6.0.2/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/badges-3.1.1/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/better_open_file-3.6.4/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/bubble-1.2.1/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/build-2.4.1/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/build-2.4.0/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/build_config-1.1.1/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/build_daemon-4.0.0/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/build_resolvers-2.2.1/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/build_runner-2.4.6/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/build_runner_core-7.2.10/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/build_resolvers-2.2.0/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/build_runner-2.4.4/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/build_runner_core-7.2.8/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/built_collection-5.1.1/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/built_value-8.6.1/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/built_value-8.5.0/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/cached_network_image-3.2.3/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/cached_network_image_platform_interface-2.0.0/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/cached_network_image_web-1.0.2/lib" /> @@ -1297,24 +1290,23 @@ <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/checked_yaml-2.0.3/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/cli_util-0.4.0/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/clock-1.1.1/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/code_builder-4.5.0/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/code_builder-4.4.0/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/collection-1.17.1/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/convert-3.1.1/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/cookie_jar-4.0.5/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/cookie_jar-4.0.2/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/cross_file-0.3.3+4/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/crypto-3.0.3/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/crypton-2.1.0/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/csslib-1.0.0/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/csslib-0.17.2/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/cupertino_icons-1.0.5/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/dart_internal-0.2.8/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/dart_style-2.3.2/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/dart_style-2.3.1/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/device_info_plus-8.2.2/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/device_info_plus_platform_interface-7.0.0/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/dio-4.0.6/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/fake_async-1.3.1/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/ffi-2.0.2/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/file-6.1.4/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/file_picker-5.3.1/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/file_picker-5.3.0/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/file_selector_linux-0.9.2/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/file_selector_macos-0.9.3/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/file_selector_platform_interface-2.6.0/lib" /> @@ -1325,23 +1317,23 @@ <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/flutter_cache_manager-3.3.0/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/flutter_launcher_icons-0.13.1/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/flutter_linkify-6.0.0/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/flutter_lints-2.0.2/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/flutter_lints-2.0.1/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/flutter_login-4.1.1/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/flutter_native_splash-2.3.1/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/flutter_native_splash-2.3.0/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.15/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/font_awesome_flutter-10.5.0/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/font_awesome_flutter-10.4.0/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/frontend_server_client-3.2.0/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/glob-2.1.2/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/graphs-2.3.1/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/html-0.15.4/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/graphs-2.3.0/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/html-0.15.3/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/http-0.13.6/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/http_multi_server-3.2.1/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/http_parser-4.0.2/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/image-4.0.17/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker-1.0.0/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker_android-0.8.7+3/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker_for_web-2.2.0/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker_ios-0.8.8/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker_android-0.8.6+16/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker_for_web-2.1.12/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker_ios-0.8.7+4/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker_linux-0.2.1/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker_macos-0.2.1/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker_platform_interface-2.8.0/lib" /> @@ -1351,12 +1343,12 @@ <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/jiffy-6.2.1/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/js-0.6.7/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/json_annotation-4.8.1/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/json_serializable-6.7.1/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/json_serializable-6.7.0/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/linkify-5.0.0/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/lints-2.1.1/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/lints-2.1.0/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/loader_overlay-2.2.0/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/localstore-1.3.5/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/logging-1.2.0/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/logging-1.1.1/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/matcher-0.12.15/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/material_color_utilities-0.2.0/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/meta-1.9.1/lib" /> @@ -1369,9 +1361,9 @@ <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/path_provider-2.0.15/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/path_provider_android-2.0.27/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/path_provider_foundation-2.2.3/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/path_provider_linux-2.1.11/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/path_provider_linux-2.1.10/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/path_provider_platform_interface-2.0.6/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/path_provider_windows-2.1.7/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/path_provider_windows-2.1.6/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/pedantic-1.11.1/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/persistent_bottom_nav_bar-5.0.2/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/petitparser-5.4.0/lib" /> @@ -1387,48 +1379,48 @@ <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/pubspec_parse-1.2.3/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/quiver-3.2.1/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/rxdart-0.27.7/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences-2.2.0/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_android-2.2.0/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.3.0/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.3.0/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_platform_interface-2.3.0/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_web-2.2.0/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.3.0/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences-2.1.1/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_android-2.1.4/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.2.2/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.2.0/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_platform_interface-2.2.0/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_web-2.1.0/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.2.0/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shelf-1.4.1/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shelf_web_socket-1.0.4/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/sign_in_button-3.2.0/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/source_gen-1.4.0/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/source_helper-1.3.4/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/source_gen-1.3.2/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/source_helper-1.3.3/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/source_span-1.9.1/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/sqflite-2.2.8+4/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/sqflite_common-2.4.5+1/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/sqflite_common-2.4.5/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/stack_trace-1.11.0/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/stream_channel-2.1.1/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/stream_transform-2.1.0/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/string_scanner-1.2.0/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_flutter_calendar-21.2.10/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_flutter_core-21.2.10/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_flutter_datepicker-21.2.10/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_flutter_pdf-21.2.10/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_flutter_pdfviewer-21.2.10/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_macos-21.2.10/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_platform_interface-21.2.10/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_web-21.2.10/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_windows-21.2.10/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_flutter_calendar-21.2.5/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_flutter_core-21.2.8/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_flutter_datepicker-21.2.5/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_flutter_pdf-21.2.8/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_flutter_pdfviewer-21.2.8/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_macos-21.2.8/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_platform_interface-21.2.8/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_web-21.2.8/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_windows-21.2.8/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/synchronized-3.1.0/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/term_glyph-1.2.1/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/test_api-0.5.1/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/timezone-0.9.2/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/timezone-0.9.1/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/timing-1.0.1/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/typed_data-1.3.2/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/universal_io-2.2.2/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/universal_io-2.2.0/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/url_launcher-6.1.11/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/url_launcher_android-6.0.36/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/url_launcher_android-6.0.34/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/url_launcher_ios-6.1.4/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/url_launcher_linux-3.0.5/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/url_launcher_macos-3.0.5/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/url_launcher_platform_interface-2.1.3/lib" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/url_launcher_web-2.0.17/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/url_launcher_platform_interface-2.1.2/lib" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/url_launcher_web-2.0.16/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/url_launcher_windows-3.0.6/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/uuid-3.0.7/lib" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/vector_math-2.1.4/lib" /> diff --git a/.idea/libraries/Flutter_Plugins.xml b/.idea/libraries/Flutter_Plugins.xml index 960b61a..a5c2842 100644 --- a/.idea/libraries/Flutter_Plugins.xml +++ b/.idea/libraries/Flutter_Plugins.xml @@ -13,29 +13,29 @@ <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/path_provider_android-2.0.27" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/url_launcher_ios-6.1.4" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/sqflite-2.2.8+4" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/url_launcher_web-2.0.17" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/flutter_native_splash-2.3.1" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/path_provider_windows-2.1.7" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/path_provider_linux-2.1.11" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/file_picker-5.3.1" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/url_launcher_web-2.0.16" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker_for_web-2.1.12" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/url_launcher_android-6.0.34" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.2.2" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.2.0" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_android-2.1.4" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker_android-0.8.6+16" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_web-2.1.0" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.2.0" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/flutter_native_splash-2.3.0" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_web-21.2.8" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/path_provider_linux-2.1.10" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_flutter_pdfviewer-21.2.8" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences-2.1.1" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker_ios-0.8.7+4" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/file_picker-5.3.0" /> + <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/path_provider_windows-2.1.6" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/file_selector_macos-0.9.3" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_web-21.2.10" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/url_launcher_android-6.0.36" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker_windows-0.2.1" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker_ios-0.8.8" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.3.0" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/file_selector_windows-0.9.3" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker-1.0.0" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.3.0" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/syncfusion_flutter_pdfviewer-21.2.10" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_web-2.2.0" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker_for_web-2.2.0" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker_macos-0.2.1" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_android-2.2.0" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/file_selector_linux-0.9.2" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker_android-0.8.7+3" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.3.0" /> - <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/shared_preferences-2.2.0" /> <root url="file://$USER_HOME$/.pub-cache/hosted/pub.dev/image_picker_linux-0.2.1" /> </CLASSES> <JAVADOC /> diff --git a/lib/api/marianumcloud/talk/getReactions/getReactions.dart b/lib/api/marianumcloud/talk/getReactions/getReactions.dart new file mode 100644 index 0000000..815f910 --- /dev/null +++ b/lib/api/marianumcloud/talk/getReactions/getReactions.dart @@ -0,0 +1,27 @@ +import 'dart:convert'; +import 'dart:developer'; + +import 'package:http/http.dart' as http; +import 'package:http/http.dart'; + +import '../../../apiParams.dart'; +import '../talkApi.dart'; +import 'getReactionsResponse.dart'; + +class GetReactions extends TalkApi<GetReactionsResponse> { + String chatToken; + int messageId; + GetReactions({required this.chatToken, required this.messageId}) : super("v1/reaction/$chatToken/$messageId", null); + + @override + assemble(String raw) { + log(raw); + return GetReactionsResponse.fromJson(jsonDecode(raw)['ocs']); + } + + @override + Future<Response>? request(Uri uri, ApiParams? body, Map<String, String>? headers) { + return http.get(uri, headers: headers); + } + +} \ No newline at end of file diff --git a/lib/api/marianumcloud/talk/getReactions/getReactionsResponse.dart b/lib/api/marianumcloud/talk/getReactions/getReactionsResponse.dart new file mode 100644 index 0000000..f316a13 --- /dev/null +++ b/lib/api/marianumcloud/talk/getReactions/getReactionsResponse.dart @@ -0,0 +1,31 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'getReactionsResponse.g.dart'; + +@JsonSerializable(explicitToJson: true) +class GetReactionsResponse { + Map<String, List<GetReactionsResponseObject>> data; + + GetReactionsResponse(this.data); + + factory GetReactionsResponse.fromJson(Map<String, dynamic> json) => _$GetReactionsResponseFromJson(json); + Map<String, dynamic> toJson() => _$GetReactionsResponseToJson(this); +} + +@JsonSerializable() +class GetReactionsResponseObject { + GetReactionsResponseObjectActorType actorType; + String actorId; + String actorDisplayName; + int timestamp; + + GetReactionsResponseObject(this.actorType, this.actorId, this.actorDisplayName, this.timestamp); + + factory GetReactionsResponseObject.fromJson(Map<String, dynamic> json) => _$GetReactionsResponseObjectFromJson(json); + Map<String, dynamic> toJson() => _$GetReactionsResponseObjectToJson(this); +} + +enum GetReactionsResponseObjectActorType { + @JsonValue("guests") guests, + @JsonValue("users") users, +} \ No newline at end of file diff --git a/lib/api/marianumcloud/talk/getReactions/getReactionsResponse.g.dart b/lib/api/marianumcloud/talk/getReactions/getReactionsResponse.g.dart new file mode 100644 index 0000000..0a122e2 --- /dev/null +++ b/lib/api/marianumcloud/talk/getReactions/getReactionsResponse.g.dart @@ -0,0 +1,52 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'getReactionsResponse.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +GetReactionsResponse _$GetReactionsResponseFromJson( + Map<String, dynamic> json) => + GetReactionsResponse( + (json['data'] as Map<String, dynamic>).map( + (k, e) => MapEntry( + k, + (e as List<dynamic>) + .map((e) => GetReactionsResponseObject.fromJson( + e as Map<String, dynamic>)) + .toList()), + ), + ); + +Map<String, dynamic> _$GetReactionsResponseToJson( + GetReactionsResponse instance) => + <String, dynamic>{ + 'data': instance.data + .map((k, e) => MapEntry(k, e.map((e) => e.toJson()).toList())), + }; + +GetReactionsResponseObject _$GetReactionsResponseObjectFromJson( + Map<String, dynamic> json) => + GetReactionsResponseObject( + $enumDecode( + _$GetReactionsResponseObjectActorTypeEnumMap, json['actorType']), + json['actorId'] as String, + json['actorDisplayName'] as String, + json['timestamp'] as int, + ); + +Map<String, dynamic> _$GetReactionsResponseObjectToJson( + GetReactionsResponseObject instance) => + <String, dynamic>{ + 'actorType': + _$GetReactionsResponseObjectActorTypeEnumMap[instance.actorType]!, + 'actorId': instance.actorId, + 'actorDisplayName': instance.actorDisplayName, + 'timestamp': instance.timestamp, + }; + +const _$GetReactionsResponseObjectActorTypeEnumMap = { + GetReactionsResponseObjectActorType.guests: 'guests', + GetReactionsResponseObjectActorType.users: 'users', +}; diff --git a/lib/api/marianumcloud/talk/room/getRoomResponse.g.dart b/lib/api/marianumcloud/talk/room/getRoomResponse.g.dart index cc44798..7e2243b 100644 --- a/lib/api/marianumcloud/talk/room/getRoomResponse.g.dart +++ b/lib/api/marianumcloud/talk/room/getRoomResponse.g.dart @@ -53,7 +53,7 @@ GetRoomResponseObject _$GetRoomResponseObjectFromJson( json['status'] as String?, json['statusIcon'] as String?, json['statusMessage'] as String?, - ); + )..sort = json['sort'] as String?; Map<String, dynamic> _$GetRoomResponseObjectToJson( GetRoomResponseObject instance) => @@ -90,6 +90,7 @@ Map<String, dynamic> _$GetRoomResponseObjectToJson( 'status': instance.status, 'statusIcon': instance.statusIcon, 'statusMessage': instance.statusMessage, + 'sort': instance.sort, }; const _$GetRoomResponseObjectConversationTypeEnumMap = { diff --git a/lib/view/pages/talk/chatBubble.dart b/lib/view/pages/talk/chatBubble.dart index 9d4ef04..ba7a61e 100644 --- a/lib/view/pages/talk/chatBubble.dart +++ b/lib/view/pages/talk/chatBubble.dart @@ -18,6 +18,7 @@ import '../../../theming/appTheme.dart'; import '../../../widget/debug/debugTile.dart'; import '../files/fileElement.dart'; import 'chatMessage.dart'; +import 'messageReactions.dart'; class ChatBubble extends StatefulWidget { final BuildContext context; @@ -199,6 +200,20 @@ class _ChatBubbleState extends State<ChatBubble> { ), ], ), + const Divider(), + Visibility( + visible: true, + child: ListTile( + leading: const Icon(Icons.add_reaction_outlined), + title: const Text("Reaktionen"), + onTap: () { + Navigator.of(context).push(MaterialPageRoute(builder: (context) => MessageReactions( + token: widget.chatData.token, + messageId: widget.bubbleData.id, + ))); + }, + ), + ), Visibility( visible: !message.containsFile && widget.bubbleData.messageType == GetRoomResponseObjectMessageType.comment, child: ListTile( diff --git a/lib/view/pages/talk/messageReactions.dart b/lib/view/pages/talk/messageReactions.dart new file mode 100644 index 0000000..c1bbd7b --- /dev/null +++ b/lib/view/pages/talk/messageReactions.dart @@ -0,0 +1,73 @@ +import 'dart:developer'; + +import 'package:flutter/material.dart'; + +import '../../../api/marianumcloud/talk/getReactions/getReactions.dart'; +import '../../../api/marianumcloud/talk/getReactions/getReactionsResponse.dart'; +import '../../../model/accountData.dart'; +import '../../../widget/centeredLeading.dart'; +import '../../../widget/loadingSpinner.dart'; +import '../../../widget/unimplementedDialog.dart'; + +class MessageReactions extends StatefulWidget { + final String token; + final int messageId; + const MessageReactions({super.key, required this.token, required this.messageId}); + + @override + State<MessageReactions> createState() => _MessageReactionsState(); +} + +class _MessageReactionsState extends State<MessageReactions> { + late Future<GetReactionsResponse> data; + + @override + void initState() { + super.initState(); + data = GetReactions(chatToken: widget.token, messageId: widget.messageId).run(); + } + + @override + Widget build(BuildContext context) { + return Scaffold( + appBar: AppBar( + title: const Text("Reaktionen"), + ), + body: FutureBuilder( + future: data, + builder: (context, snapshot) { + if(snapshot.data == null) return const LoadingSpinner(); + log(snapshot.data!.toJson().toString()); + return ListView( + children: [ + ...snapshot.data!.data.entries.map<Widget>((entry) { + return ExpansionTile( + textColor: Theme.of(context).colorScheme.onSurface, + collapsedTextColor: Theme.of(context).colorScheme.onSurface, + iconColor: Theme.of(context).colorScheme.onSurface, + collapsedIconColor: Theme.of(context).colorScheme.onSurface, + + subtitle: const Text("Tippe für mehr"), + leading: Text(entry.key), + title: Text("${entry.value.length} mal reagiert"), + children: entry.value.map((e) { + bool isSelf = AccountData().getUsername() == e.actorId; + return ListTile( + leading: const CenteredLeading(Icon(Icons.person)), + title: Text(e.actorDisplayName), + subtitle: isSelf ? const Text("Du") : e.actorType == GetReactionsResponseObjectActorType.guests ? const Text("Gast") : null, + trailing: isSelf ? null : IconButton( + onPressed: () => UnimplementedDialog.show(context), + icon: const Icon(Icons.textsms_outlined), + ), + ); + }).toList(), + ); + }).toList() + ], + ); + }, + ), + ); + } +}