From 0ad8c235473b2fae3eb6548f1f122cf7d992f645 Mon Sep 17 00:00:00 2001 From: OkaykOrhmn Date: Sun, 5 Jan 2025 17:04:47 +0330 Subject: [PATCH] update flutter version for big bug. --- lib/config/design_config.dart | 2 +- lib/main.dart | 16 +++- lib/views/ai/ai_chat_page.dart | 4 +- lib/views/ai/widgets/audio_wave.dart | 2 +- lib/views/comments/widgets/comment.dart | 4 +- lib/views/direct/widgets/message.dart | 7 +- .../home/infography/infography_screen.dart | 5 +- lib/views/home/main/widgets/general_item.dart | 2 +- .../home/main/widgets/videocast_item.dart | 2 +- .../home/new_statistic/stock/exchange.dart | 2 +- lib/views/home/new_statistic/stock/metal.dart | 2 +- .../home/new_statistic/stock/total_type3.dart | 10 ++- .../home/new_statistic/stock/total_type4.dart | 2 +- .../home/new_statistic/stock/total_type6.dart | 2 +- lib/views/home/new_statistic/stock/trade.dart | 2 +- lib/views/podcasts/widgets/slider.dart | 4 +- lib/views/widgets/categories_list.dart | 2 +- lib/views/widgets/didvan/bnb.dart | 2 +- lib/views/widgets/didvan/switch.dart | 2 +- lib/views/widgets/hoshan_app_bar.dart | 2 +- lib/views/widgets/logo_app_bar.dart | 2 +- lib/views/widgets/overview/video.dart | 6 +- lib/views/widgets/search_app_bar.dart | 2 +- lib/views/widgets/video/primary_controls.dart | 9 ++- pubspec.lock | 76 ++++++++++++------- pubspec.yaml | 10 ++- web/index.html | 2 +- 27 files changed, 118 insertions(+), 65 deletions(-) diff --git a/lib/config/design_config.dart b/lib/config/design_config.dart index e18260b..b18cc75 100644 --- a/lib/config/design_config.dart +++ b/lib/config/design_config.dart @@ -25,7 +25,7 @@ class DesignConfig { static List get defaultShadow => [ BoxShadow( - color: const Color(0XFF1B3C59).withOpacity(0.25), + color: const Color(0XFF1B3C59).withValues(alpha: 0.25), blurRadius: 16, spreadRadius: 0, ) diff --git a/lib/main.dart b/lib/main.dart index 4a69785..c09485e 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -32,6 +32,7 @@ import 'package:get/get.dart'; import 'package:home_widget/home_widget.dart'; import 'package:provider/provider.dart'; import 'package:flutter_downloader/flutter_downloader.dart'; +import 'package:sentry_flutter/sentry_flutter.dart'; final GlobalKey navigatorKey = GlobalKey(); @@ -67,6 +68,7 @@ Future _backgroundCallbackHomeWidget(Uri? uri) async { void main() async { WidgetsFlutterBinding.ensureInitialized(); + try { if (!kIsWeb) { HomeWidget.registerBackgroundCallback(_backgroundCallbackHomeWidget); @@ -94,7 +96,19 @@ void main() async { debugPrint; } - runApp(const Didvan()); + await SentryFlutter.init( + (options) { + options.dsn = + 'https://a4cfcaa7d67471240d295c25c968d91d@o4508585857384448.ingest.de.sentry.io/4508585886548048'; + // Set tracesSampleRate to 1.0 to capture 100% of transactions for tracing. + // We recommend adjusting this value in production. + options.tracesSampleRate = 1.0; + // The sampling rate for profiling is relative to tracesSampleRate + // Setting to 1.0 will profile 100% of sampled transactions: + options.profilesSampleRate = 1.0; + }, + appRunner: () => runApp(const Didvan()), + ); } class Didvan extends StatefulWidget { diff --git a/lib/views/ai/ai_chat_page.dart b/lib/views/ai/ai_chat_page.dart index 5889126..9c83094 100644 --- a/lib/views/ai/ai_chat_page.dart +++ b/lib/views/ai/ai_chat_page.dart @@ -552,9 +552,7 @@ class _AiChatPageState extends State { ), ), ), - if (message.file != null && - !kIsWeb && - !Platform.isIOS) + if (message.file != null && !Platform.isIOS) Padding( padding: const EdgeInsets.all(8.0), child: InkWell( diff --git a/lib/views/ai/widgets/audio_wave.dart b/lib/views/ai/widgets/audio_wave.dart index dcc77a2..ad050f3 100644 --- a/lib/views/ai/widgets/audio_wave.dart +++ b/lib/views/ai/widgets/audio_wave.dart @@ -138,7 +138,7 @@ class _AudioWaveState extends State { color: Theme.of(context) .colorScheme .primary - .withOpacity(0.4), + .withValues(alpha: 0.4), size: 32, itemCount: 10, ))), diff --git a/lib/views/comments/widgets/comment.dart b/lib/views/comments/widgets/comment.dart index 055ca78..d8a18ef 100644 --- a/lib/views/comments/widgets/comment.dart +++ b/lib/views/comments/widgets/comment.dart @@ -127,7 +127,7 @@ class CommentState extends State { color: Theme.of(context) .colorScheme .secondary - .withOpacity(0.3), + .withValues(alpha: 0.3), size: 18, ), const SizedBox(width: 4), @@ -136,7 +136,7 @@ class CommentState extends State { color: Theme.of(context) .colorScheme .secondary - .withOpacity(0.3), + .withValues(alpha: 0.3), ), ], ), diff --git a/lib/views/direct/widgets/message.dart b/lib/views/direct/widgets/message.dart index 7d37f83..5b6e20c 100644 --- a/lib/views/direct/widgets/message.dart +++ b/lib/views/direct/widgets/message.dart @@ -41,7 +41,10 @@ class Message extends StatelessWidget { }, child: Container( color: state.deletionQueue.contains(message.id) - ? Theme.of(context).colorScheme.secondaryDisabled.withOpacity(0.5) + ? Theme.of(context) + .colorScheme + .secondaryDisabled + .withValues(alpha: 0.5) : null, padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 8), child: Column( @@ -259,7 +262,7 @@ class _MessageContainer extends StatelessWidget { color: (writedByAdmin ? Theme.of(context).colorScheme.surface : Theme.of(context).colorScheme.focused) - .withOpacity(0.9), + .withValues(alpha: 0.9), border: Border.all( color: Theme.of(context).colorScheme.border, width: 0.5, diff --git a/lib/views/home/infography/infography_screen.dart b/lib/views/home/infography/infography_screen.dart index ce209cf..428ad7d 100644 --- a/lib/views/home/infography/infography_screen.dart +++ b/lib/views/home/infography/infography_screen.dart @@ -120,12 +120,13 @@ class _InfographyScreenState extends State { selectedColor: Theme.of(context) .colorScheme .surface - .withOpacity(0.5), + .withValues(alpha: 0.5), ), searchFieldDecoration: SearchFieldDecoration( fillColor: Theme.of(context).colorScheme.surface), closedBorder: Border.all(color: Colors.grey), - closedFillColor: Colors.grey.shade100.withOpacity(0.1), + closedFillColor: + Colors.grey.shade100.withValues(alpha: 0.1), expandedFillColor: Theme.of(context).colorScheme.surface), hintText: "انتخاب کنید", onListChanged: (value) { diff --git a/lib/views/home/main/widgets/general_item.dart b/lib/views/home/main/widgets/general_item.dart index 751d547..2265ae8 100644 --- a/lib/views/home/main/widgets/general_item.dart +++ b/lib/views/home/main/widgets/general_item.dart @@ -117,7 +117,7 @@ class _MainPageGeneralItemState extends State { color: Theme.of(context) .colorScheme .secondary - .withOpacity(0.7), + .withValues(alpha: 0.7), ), child: Icon( DidvanIcons.play_solid, diff --git a/lib/views/home/main/widgets/videocast_item.dart b/lib/views/home/main/widgets/videocast_item.dart index 56526ba..cfa8bc6 100644 --- a/lib/views/home/main/widgets/videocast_item.dart +++ b/lib/views/home/main/widgets/videocast_item.dart @@ -29,7 +29,7 @@ class MainPageVideocastItem extends StatelessWidget { width: 36, decoration: BoxDecoration( shape: BoxShape.circle, - color: Theme.of(context).colorScheme.secondary.withOpacity(0.7), + color: Theme.of(context).colorScheme.secondary.withValues(alpha:0.7), ), child: Icon( DidvanIcons.play_solid, diff --git a/lib/views/home/new_statistic/stock/exchange.dart b/lib/views/home/new_statistic/stock/exchange.dart index c9fd696..dd21c8e 100644 --- a/lib/views/home/new_statistic/stock/exchange.dart +++ b/lib/views/home/new_statistic/stock/exchange.dart @@ -25,7 +25,7 @@ class ExchangeCard extends StatelessWidget { children: [ Container( decoration: BoxDecoration( - color: Colors.grey.withOpacity(0.3), + color: Colors.grey.withValues(alpha: 0.3), borderRadius: const BorderRadius.all(Radius.circular(4))), child: Center( child: DidvanText( diff --git a/lib/views/home/new_statistic/stock/metal.dart b/lib/views/home/new_statistic/stock/metal.dart index 37cc8e2..35e6f84 100644 --- a/lib/views/home/new_statistic/stock/metal.dart +++ b/lib/views/home/new_statistic/stock/metal.dart @@ -25,7 +25,7 @@ class MetalCard extends StatelessWidget { children: [ Container( decoration: BoxDecoration( - color: Colors.grey.withOpacity(0.3), + color: Colors.grey.withValues(alpha: 0.3), borderRadius: const BorderRadius.all(Radius.circular(4))), child: Center( child: DidvanText( diff --git a/lib/views/home/new_statistic/stock/total_type3.dart b/lib/views/home/new_statistic/stock/total_type3.dart index 52b75d2..0fac22b 100644 --- a/lib/views/home/new_statistic/stock/total_type3.dart +++ b/lib/views/home/new_statistic/stock/total_type3.dart @@ -22,8 +22,14 @@ class TotalType3Card extends StatelessWidget { Container( decoration: BoxDecoration( color: totalContent.id == 36 - ? Theme.of(context).colorScheme.success.withOpacity(0.4) - : Theme.of(context).colorScheme.error.withOpacity(0.4), + ? Theme.of(context) + .colorScheme + .success + .withValues(alpha: 0.4) + : Theme.of(context) + .colorScheme + .error + .withValues(alpha: 0.4), borderRadius: const BorderRadius.all(Radius.circular(4))), child: Center( child: Row( diff --git a/lib/views/home/new_statistic/stock/total_type4.dart b/lib/views/home/new_statistic/stock/total_type4.dart index 98dcdd9..881271e 100644 --- a/lib/views/home/new_statistic/stock/total_type4.dart +++ b/lib/views/home/new_statistic/stock/total_type4.dart @@ -20,7 +20,7 @@ class TotalType4Card extends StatelessWidget { children: [ Container( decoration: BoxDecoration( - color: Colors.grey.withOpacity(0.4), + color: Colors.grey.withValues(alpha: 0.4), borderRadius: const BorderRadius.all(Radius.circular(4))), child: Center( child: Row( diff --git a/lib/views/home/new_statistic/stock/total_type6.dart b/lib/views/home/new_statistic/stock/total_type6.dart index a153755..0be9385 100644 --- a/lib/views/home/new_statistic/stock/total_type6.dart +++ b/lib/views/home/new_statistic/stock/total_type6.dart @@ -21,7 +21,7 @@ class TotalType6Card extends StatelessWidget { children: [ Container( decoration: BoxDecoration( - color: Colors.grey.withOpacity(0.4), + color: Colors.grey.withValues(alpha: 0.4), borderRadius: const BorderRadius.all(Radius.circular(4))), child: Center( child: Row( diff --git a/lib/views/home/new_statistic/stock/trade.dart b/lib/views/home/new_statistic/stock/trade.dart index 64b18c0..1aa9d1c 100644 --- a/lib/views/home/new_statistic/stock/trade.dart +++ b/lib/views/home/new_statistic/stock/trade.dart @@ -20,7 +20,7 @@ class Trade extends StatelessWidget { children: [ Container( decoration: BoxDecoration( - color: Colors.grey.withOpacity(0.4), + color: Colors.grey.withValues(alpha:0.4), borderRadius: const BorderRadius.all(Radius.circular(4))), child: Center( child: Row( diff --git a/lib/views/podcasts/widgets/slider.dart b/lib/views/podcasts/widgets/slider.dart index 41e53ff..d7cd82b 100644 --- a/lib/views/podcasts/widgets/slider.dart +++ b/lib/views/podcasts/widgets/slider.dart @@ -83,7 +83,7 @@ class _StudioSliderState extends State { color: Theme.of(context) .colorScheme .focused - .withOpacity(0.9), + .withValues(alpha: 0.9), borderRadius: const BorderRadius.vertical( bottom: Radius.circular(10), ), @@ -106,7 +106,7 @@ class _StudioSliderState extends State { : Theme.of(context) .colorScheme .focusedBorder) - .withOpacity(0.7), + .withValues(alpha: 0.7), ), child: Icon( DidvanIcons.play_solid, diff --git a/lib/views/widgets/categories_list.dart b/lib/views/widgets/categories_list.dart index b62c741..4575a0b 100644 --- a/lib/views/widgets/categories_list.dart +++ b/lib/views/widgets/categories_list.dart @@ -97,7 +97,7 @@ class _CategoriesListState extends State { color: Theme.of(context).colorScheme.surface, boxShadow: [ BoxShadow( - color: const Color(0XFF1B3C59).withOpacity(0.15), + color: const Color(0XFF1B3C59).withValues(alpha: 0.15), blurRadius: 8, spreadRadius: 0, offset: const Offset(0, 8), diff --git a/lib/views/widgets/didvan/bnb.dart b/lib/views/widgets/didvan/bnb.dart index 17e4fe9..9569ef5 100644 --- a/lib/views/widgets/didvan/bnb.dart +++ b/lib/views/widgets/didvan/bnb.dart @@ -33,7 +33,7 @@ class DidvanBNB extends StatelessWidget { const BorderRadius.vertical(top: Radius.circular(16)), boxShadow: [ BoxShadow( - color: const Color(0XFF1B3C59).withOpacity(0.15), + color: const Color(0XFF1B3C59).withValues(alpha: 0.15), blurRadius: 8, spreadRadius: 0, offset: const Offset(0, -8), diff --git a/lib/views/widgets/didvan/switch.dart b/lib/views/widgets/didvan/switch.dart index 55d2b6b..2d96097 100644 --- a/lib/views/widgets/didvan/switch.dart +++ b/lib/views/widgets/didvan/switch.dart @@ -40,7 +40,7 @@ class _DidvanSwitchState extends State { }, icon: widget.icon, trailing: CupertinoSwitch( - activeColor: Theme.of(context).colorScheme.primary, + activeTrackColor: Theme.of(context).colorScheme.primary, value: _value, onChanged: (value) { setState(() { diff --git a/lib/views/widgets/hoshan_app_bar.dart b/lib/views/widgets/hoshan_app_bar.dart index 7ed0fcd..d3f935d 100644 --- a/lib/views/widgets/hoshan_app_bar.dart +++ b/lib/views/widgets/hoshan_app_bar.dart @@ -31,7 +31,7 @@ class HoshanAppBar extends StatelessWidget implements PreferredSizeWidget { color: Theme.of(context).colorScheme.surface, boxShadow: [ BoxShadow( - color: const Color(0XFF1B3C59).withOpacity(0.15), + color: const Color(0XFF1B3C59).withValues(alpha: 0.15), blurRadius: 8, spreadRadius: 0, offset: const Offset(0, 8), diff --git a/lib/views/widgets/logo_app_bar.dart b/lib/views/widgets/logo_app_bar.dart index 4476711..bc1d67d 100644 --- a/lib/views/widgets/logo_app_bar.dart +++ b/lib/views/widgets/logo_app_bar.dart @@ -37,7 +37,7 @@ class LogoAppBar extends StatelessWidget implements PreferredSizeWidget { ? null : [ BoxShadow( - color: const Color(0XFF1B3C59).withOpacity(0.15), + color: const Color(0XFF1B3C59).withValues(alpha: 0.15), blurRadius: 8, spreadRadius: 0, offset: const Offset(0, 8), diff --git a/lib/views/widgets/overview/video.dart b/lib/views/widgets/overview/video.dart index 07596e7..44e6723 100644 --- a/lib/views/widgets/overview/video.dart +++ b/lib/views/widgets/overview/video.dart @@ -55,8 +55,10 @@ class VideoOverview extends StatelessWidget { width: 28, decoration: BoxDecoration( shape: BoxShape.circle, - color: - Theme.of(context).colorScheme.secondary.withOpacity(0.7), + color: Theme.of(context) + .colorScheme + .secondary + .withValues(alpha: 0.7), ), child: Icon( DidvanIcons.play_solid, diff --git a/lib/views/widgets/search_app_bar.dart b/lib/views/widgets/search_app_bar.dart index a752bca..74f83af 100644 --- a/lib/views/widgets/search_app_bar.dart +++ b/lib/views/widgets/search_app_bar.dart @@ -31,7 +31,7 @@ class SearchAppBar extends StatelessWidget implements PreferredSizeWidget { ? null : [ BoxShadow( - color: const Color(0XFF1B3C59).withOpacity(0.15), + color: const Color(0XFF1B3C59).withValues(alpha: 0.15), blurRadius: 8, spreadRadius: 0, offset: const Offset(0, 8), diff --git a/lib/views/widgets/video/primary_controls.dart b/lib/views/widgets/video/primary_controls.dart index 1f329db..a89d6e5 100644 --- a/lib/views/widgets/video/primary_controls.dart +++ b/lib/views/widgets/video/primary_controls.dart @@ -166,7 +166,8 @@ class _PrimaryControlsState extends State { child: Container( padding: const EdgeInsets.all(12), decoration: BoxDecoration( - shape: BoxShape.circle, color: Colors.black.withOpacity(0.4)), + shape: BoxShape.circle, + color: Colors.black.withValues(alpha: 0.4)), child: Icon( chewieController.isPlaying ? CupertinoIcons.pause_fill @@ -194,7 +195,8 @@ class _PrimaryControlsState extends State { child: Container( padding: const EdgeInsets.all(12), decoration: BoxDecoration( - shape: BoxShape.circle, color: Colors.black.withOpacity(0.4)), + shape: BoxShape.circle, + color: Colors.black.withValues(alpha: 0.4)), child: const Icon( Icons.forward_5_rounded, color: Colors.white, @@ -219,7 +221,8 @@ class _PrimaryControlsState extends State { child: Container( padding: const EdgeInsets.all(12), decoration: BoxDecoration( - shape: BoxShape.circle, color: Colors.black.withOpacity(0.4)), + shape: BoxShape.circle, + color: Colors.black.withValues(alpha: 0.4)), child: const Icon( Icons.replay_5_rounded, color: Colors.white, diff --git a/pubspec.lock b/pubspec.lock index 6fc9e51..df0950a 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -157,10 +157,10 @@ packages: dependency: "direct main" description: name: collection - sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a + sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf url: "https://pub.dev" source: hosted - version: "1.18.0" + version: "1.19.0" cross_file: dependency: transitive description: @@ -226,7 +226,7 @@ packages: source: hosted version: "1.1.1+1" fading_edge_scrollview: - dependency: "direct main" + dependency: transitive description: name: fading_edge_scrollview sha256: "1f84fe3ea8e251d00d5735e27502a6a250e4aa3d3b330d3fdcb475af741464ef" @@ -261,10 +261,10 @@ packages: dependency: "direct main" description: name: file_picker - sha256: "2ca051989f69d1b2ca012b2cf3ccf78c70d40144f0861ff2c063493f7c8c3d45" + sha256: "825aec673606875c33cd8d3c4083f1a3c3999015a84178b317b7ef396b7384f3" url: "https://pub.dev" source: hosted - version: "8.0.5" + version: "8.0.7" file_selector_linux: dependency: transitive description: @@ -729,10 +729,10 @@ packages: dependency: "direct main" description: name: just_audio - sha256: ee50602364ba83fa6308f5512dd560c713ec3e1f2bc75f0db43618f0d82ef71a + sha256: a49e7120b95600bd357f37a2bb04cd1e88252f7cdea8f3368803779b925b1049 url: "https://pub.dev" source: hosted - version: "0.9.39" + version: "0.9.42" just_audio_platform_interface: dependency: transitive description: @@ -742,29 +742,29 @@ packages: source: hosted version: "4.3.0" just_audio_web: - dependency: transitive + dependency: "direct main" description: name: just_audio_web - sha256: "0edb481ad4aa1ff38f8c40f1a3576013c3420bf6669b686fe661627d49bc606c" + sha256: "9a98035b8b24b40749507687520ec5ab404e291d2b0937823ff45d92cb18d448" url: "https://pub.dev" source: hosted - version: "0.4.11" + version: "0.4.13" leak_tracker: dependency: transitive description: name: leak_tracker - sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05" + sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06" url: "https://pub.dev" source: hosted - version: "10.0.5" + version: "10.0.7" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing - sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806" + sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379" url: "https://pub.dev" source: hosted - version: "3.0.5" + version: "3.0.8" leak_tracker_testing: dependency: transitive description: @@ -1001,10 +1001,10 @@ packages: dependency: "direct main" description: name: persian_datetime_picker - sha256: "097f69484a4ea8fdf8d2051b0b6205edbed912f096b3c521df0985f656ef5584" + sha256: "7ccbfd3a68dc89d405550f624e9fa590c914fed2aa2d48973c4f4400baab2e06" url: "https://pub.dev" source: hosted - version: "2.7.0" + version: "3.1.0" persian_number_utility: dependency: "direct main" description: @@ -1149,6 +1149,30 @@ packages: url: "https://pub.dev" source: hosted version: "3.0.1" + sentry: + dependency: transitive + description: + name: sentry + sha256: "576ad83415102ba2060142a6701611abc6e67a55af1d7ab339cedd3ba1b0f84c" + url: "https://pub.dev" + source: hosted + version: "8.12.0" + sentry_flutter: + dependency: "direct main" + description: + name: sentry_flutter + sha256: dc3761e8659839cc67a18432d9f12e5531affb7ff68e196dbb56846909b5dfdc + url: "https://pub.dev" + source: hosted + version: "8.12.0" + shamsi_date: + dependency: transitive + description: + name: shamsi_date + sha256: "4614789ed11bfffe5ba0aa157a20f2857ab6328528401766e0d924e453c866bd" + url: "https://pub.dev" + source: hosted + version: "1.0.4" skeleton_text: dependency: "direct main" description: @@ -1161,7 +1185,7 @@ packages: dependency: transitive description: flutter source: sdk - version: "0.0.99" + version: "0.0.0" source_span: dependency: transitive description: @@ -1198,10 +1222,10 @@ packages: dependency: transitive description: name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" + sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377" url: "https://pub.dev" source: hosted - version: "1.11.1" + version: "1.12.0" stream_channel: dependency: transitive description: @@ -1214,10 +1238,10 @@ packages: dependency: transitive description: name: string_scanner - sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" + sha256: "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3" url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.3.0" synchronized: dependency: transitive description: @@ -1238,10 +1262,10 @@ packages: dependency: transitive description: name: test_api - sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb" + sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c" url: "https://pub.dev" source: hosted - version: "0.7.2" + version: "0.7.3" timezone: dependency: transitive description: @@ -1446,10 +1470,10 @@ packages: dependency: transitive description: name: vm_service - sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" + sha256: f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b url: "https://pub.dev" source: hosted - version: "14.2.5" + version: "14.3.0" wakelock_plus: dependency: transitive description: @@ -1507,7 +1531,7 @@ packages: source: hosted version: "3.14.0" win32: - dependency: "direct main" + dependency: transitive description: name: win32 sha256: "84ba388638ed7a8cb3445a320c8273136ab2631cd5f2c57888335504ddab1bc2" diff --git a/pubspec.yaml b/pubspec.yaml index 2f7d2d7..043402d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -53,7 +53,6 @@ dependencies: universal_html: ^2.0.8 record: ^5.1.2 - persian_datetime_picker: ^2.6.0 persian_number_utility: ^1.1.1 bot_toast: ^4.0.1 flutter_secure_storage: ^8.0.0 @@ -83,7 +82,7 @@ dependencies: android_intent_plus: ^5.0.0 get: ^4.6.6 # firebase_auth: ^4.19.6 - just_audio: ^0.9.11 + just_audio: ^0.9.42 video_player: ^2.9.2 chewie: ^1.8.3 typewritertext: ^3.0.8 @@ -104,8 +103,11 @@ dependencies: js: any flutter_sound_platform_interface: any flutter_downloader: ^1.11.8 - win32: ^5.8.0 - fading_edge_scrollview: ^4.1.1 + # win32: ^5.8.0 + sentry_flutter: ^8.12.0 + persian_datetime_picker: ^3.1.0 + just_audio_web: ^0.4.13 + # fading_edge_scrollview: ^4.1.1 dev_dependencies: flutter_test: sdk: flutter diff --git a/web/index.html b/web/index.html index 3f1c006..aebfb11 100644 --- a/web/index.html +++ b/web/index.html @@ -69,7 +69,7 @@ application. For more information, see: https://developers.google.com/web/fundamentals/primers/service-workers -->