update flutter version for big bug.

This commit is contained in:
OkaykOrhmn 2025-01-05 17:04:47 +03:30
parent 39e486e439
commit 0ad8c23547
27 changed files with 118 additions and 65 deletions

View File

@ -25,7 +25,7 @@ class DesignConfig {
static List<BoxShadow> get defaultShadow => [ static List<BoxShadow> get defaultShadow => [
BoxShadow( BoxShadow(
color: const Color(0XFF1B3C59).withOpacity(0.25), color: const Color(0XFF1B3C59).withValues(alpha: 0.25),
blurRadius: 16, blurRadius: 16,
spreadRadius: 0, spreadRadius: 0,
) )

View File

@ -32,6 +32,7 @@ import 'package:get/get.dart';
import 'package:home_widget/home_widget.dart'; import 'package:home_widget/home_widget.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
import 'package:flutter_downloader/flutter_downloader.dart'; import 'package:flutter_downloader/flutter_downloader.dart';
import 'package:sentry_flutter/sentry_flutter.dart';
final GlobalKey<NavigatorState> navigatorKey = GlobalKey<NavigatorState>(); final GlobalKey<NavigatorState> navigatorKey = GlobalKey<NavigatorState>();
@ -67,6 +68,7 @@ Future<void> _backgroundCallbackHomeWidget(Uri? uri) async {
void main() async { void main() async {
WidgetsFlutterBinding.ensureInitialized(); WidgetsFlutterBinding.ensureInitialized();
try { try {
if (!kIsWeb) { if (!kIsWeb) {
HomeWidget.registerBackgroundCallback(_backgroundCallbackHomeWidget); HomeWidget.registerBackgroundCallback(_backgroundCallbackHomeWidget);
@ -94,7 +96,19 @@ void main() async {
debugPrint; 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 { class Didvan extends StatefulWidget {

View File

@ -552,9 +552,7 @@ class _AiChatPageState extends State<AiChatPage> {
), ),
), ),
), ),
if (message.file != null && if (message.file != null && !Platform.isIOS)
!kIsWeb &&
!Platform.isIOS)
Padding( Padding(
padding: const EdgeInsets.all(8.0), padding: const EdgeInsets.all(8.0),
child: InkWell( child: InkWell(

View File

@ -138,7 +138,7 @@ class _AudioWaveState extends State<AudioWave> {
color: Theme.of(context) color: Theme.of(context)
.colorScheme .colorScheme
.primary .primary
.withOpacity(0.4), .withValues(alpha: 0.4),
size: 32, size: 32,
itemCount: 10, itemCount: 10,
))), ))),

View File

@ -127,7 +127,7 @@ class CommentState extends State<Comment> {
color: Theme.of(context) color: Theme.of(context)
.colorScheme .colorScheme
.secondary .secondary
.withOpacity(0.3), .withValues(alpha: 0.3),
size: 18, size: 18,
), ),
const SizedBox(width: 4), const SizedBox(width: 4),
@ -136,7 +136,7 @@ class CommentState extends State<Comment> {
color: Theme.of(context) color: Theme.of(context)
.colorScheme .colorScheme
.secondary .secondary
.withOpacity(0.3), .withValues(alpha: 0.3),
), ),
], ],
), ),

View File

@ -41,7 +41,10 @@ class Message extends StatelessWidget {
}, },
child: Container( child: Container(
color: state.deletionQueue.contains(message.id) color: state.deletionQueue.contains(message.id)
? Theme.of(context).colorScheme.secondaryDisabled.withOpacity(0.5) ? Theme.of(context)
.colorScheme
.secondaryDisabled
.withValues(alpha: 0.5)
: null, : null,
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 8), padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
child: Column( child: Column(
@ -259,7 +262,7 @@ class _MessageContainer extends StatelessWidget {
color: (writedByAdmin color: (writedByAdmin
? Theme.of(context).colorScheme.surface ? Theme.of(context).colorScheme.surface
: Theme.of(context).colorScheme.focused) : Theme.of(context).colorScheme.focused)
.withOpacity(0.9), .withValues(alpha: 0.9),
border: Border.all( border: Border.all(
color: Theme.of(context).colorScheme.border, color: Theme.of(context).colorScheme.border,
width: 0.5, width: 0.5,

View File

@ -120,12 +120,13 @@ class _InfographyScreenState extends State<InfographyScreen> {
selectedColor: Theme.of(context) selectedColor: Theme.of(context)
.colorScheme .colorScheme
.surface .surface
.withOpacity(0.5), .withValues(alpha: 0.5),
), ),
searchFieldDecoration: SearchFieldDecoration( searchFieldDecoration: SearchFieldDecoration(
fillColor: Theme.of(context).colorScheme.surface), fillColor: Theme.of(context).colorScheme.surface),
closedBorder: Border.all(color: Colors.grey), 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), expandedFillColor: Theme.of(context).colorScheme.surface),
hintText: "انتخاب کنید", hintText: "انتخاب کنید",
onListChanged: (value) { onListChanged: (value) {

View File

@ -117,7 +117,7 @@ class _MainPageGeneralItemState extends State<MainPageGeneralItem> {
color: Theme.of(context) color: Theme.of(context)
.colorScheme .colorScheme
.secondary .secondary
.withOpacity(0.7), .withValues(alpha: 0.7),
), ),
child: Icon( child: Icon(
DidvanIcons.play_solid, DidvanIcons.play_solid,

View File

@ -29,7 +29,7 @@ class MainPageVideocastItem extends StatelessWidget {
width: 36, width: 36,
decoration: BoxDecoration( decoration: BoxDecoration(
shape: BoxShape.circle, shape: BoxShape.circle,
color: Theme.of(context).colorScheme.secondary.withOpacity(0.7), color: Theme.of(context).colorScheme.secondary.withValues(alpha:0.7),
), ),
child: Icon( child: Icon(
DidvanIcons.play_solid, DidvanIcons.play_solid,

View File

@ -25,7 +25,7 @@ class ExchangeCard extends StatelessWidget {
children: [ children: [
Container( Container(
decoration: BoxDecoration( decoration: BoxDecoration(
color: Colors.grey.withOpacity(0.3), color: Colors.grey.withValues(alpha: 0.3),
borderRadius: const BorderRadius.all(Radius.circular(4))), borderRadius: const BorderRadius.all(Radius.circular(4))),
child: Center( child: Center(
child: DidvanText( child: DidvanText(

View File

@ -25,7 +25,7 @@ class MetalCard extends StatelessWidget {
children: [ children: [
Container( Container(
decoration: BoxDecoration( decoration: BoxDecoration(
color: Colors.grey.withOpacity(0.3), color: Colors.grey.withValues(alpha: 0.3),
borderRadius: const BorderRadius.all(Radius.circular(4))), borderRadius: const BorderRadius.all(Radius.circular(4))),
child: Center( child: Center(
child: DidvanText( child: DidvanText(

View File

@ -22,8 +22,14 @@ class TotalType3Card extends StatelessWidget {
Container( Container(
decoration: BoxDecoration( decoration: BoxDecoration(
color: totalContent.id == 36 color: totalContent.id == 36
? Theme.of(context).colorScheme.success.withOpacity(0.4) ? Theme.of(context)
: Theme.of(context).colorScheme.error.withOpacity(0.4), .colorScheme
.success
.withValues(alpha: 0.4)
: Theme.of(context)
.colorScheme
.error
.withValues(alpha: 0.4),
borderRadius: const BorderRadius.all(Radius.circular(4))), borderRadius: const BorderRadius.all(Radius.circular(4))),
child: Center( child: Center(
child: Row( child: Row(

View File

@ -20,7 +20,7 @@ class TotalType4Card extends StatelessWidget {
children: [ children: [
Container( Container(
decoration: BoxDecoration( decoration: BoxDecoration(
color: Colors.grey.withOpacity(0.4), color: Colors.grey.withValues(alpha: 0.4),
borderRadius: const BorderRadius.all(Radius.circular(4))), borderRadius: const BorderRadius.all(Radius.circular(4))),
child: Center( child: Center(
child: Row( child: Row(

View File

@ -21,7 +21,7 @@ class TotalType6Card extends StatelessWidget {
children: [ children: [
Container( Container(
decoration: BoxDecoration( decoration: BoxDecoration(
color: Colors.grey.withOpacity(0.4), color: Colors.grey.withValues(alpha: 0.4),
borderRadius: const BorderRadius.all(Radius.circular(4))), borderRadius: const BorderRadius.all(Radius.circular(4))),
child: Center( child: Center(
child: Row( child: Row(

View File

@ -20,7 +20,7 @@ class Trade extends StatelessWidget {
children: [ children: [
Container( Container(
decoration: BoxDecoration( decoration: BoxDecoration(
color: Colors.grey.withOpacity(0.4), color: Colors.grey.withValues(alpha:0.4),
borderRadius: const BorderRadius.all(Radius.circular(4))), borderRadius: const BorderRadius.all(Radius.circular(4))),
child: Center( child: Center(
child: Row( child: Row(

View File

@ -83,7 +83,7 @@ class _StudioSliderState extends State<StudioSlider> {
color: Theme.of(context) color: Theme.of(context)
.colorScheme .colorScheme
.focused .focused
.withOpacity(0.9), .withValues(alpha: 0.9),
borderRadius: const BorderRadius.vertical( borderRadius: const BorderRadius.vertical(
bottom: Radius.circular(10), bottom: Radius.circular(10),
), ),
@ -106,7 +106,7 @@ class _StudioSliderState extends State<StudioSlider> {
: Theme.of(context) : Theme.of(context)
.colorScheme .colorScheme
.focusedBorder) .focusedBorder)
.withOpacity(0.7), .withValues(alpha: 0.7),
), ),
child: Icon( child: Icon(
DidvanIcons.play_solid, DidvanIcons.play_solid,

View File

@ -97,7 +97,7 @@ class _CategoriesListState extends State<CategoriesList> {
color: Theme.of(context).colorScheme.surface, color: Theme.of(context).colorScheme.surface,
boxShadow: [ boxShadow: [
BoxShadow( BoxShadow(
color: const Color(0XFF1B3C59).withOpacity(0.15), color: const Color(0XFF1B3C59).withValues(alpha: 0.15),
blurRadius: 8, blurRadius: 8,
spreadRadius: 0, spreadRadius: 0,
offset: const Offset(0, 8), offset: const Offset(0, 8),

View File

@ -33,7 +33,7 @@ class DidvanBNB extends StatelessWidget {
const BorderRadius.vertical(top: Radius.circular(16)), const BorderRadius.vertical(top: Radius.circular(16)),
boxShadow: [ boxShadow: [
BoxShadow( BoxShadow(
color: const Color(0XFF1B3C59).withOpacity(0.15), color: const Color(0XFF1B3C59).withValues(alpha: 0.15),
blurRadius: 8, blurRadius: 8,
spreadRadius: 0, spreadRadius: 0,
offset: const Offset(0, -8), offset: const Offset(0, -8),

View File

@ -40,7 +40,7 @@ class _DidvanSwitchState extends State<DidvanSwitch> {
}, },
icon: widget.icon, icon: widget.icon,
trailing: CupertinoSwitch( trailing: CupertinoSwitch(
activeColor: Theme.of(context).colorScheme.primary, activeTrackColor: Theme.of(context).colorScheme.primary,
value: _value, value: _value,
onChanged: (value) { onChanged: (value) {
setState(() { setState(() {

View File

@ -31,7 +31,7 @@ class HoshanAppBar extends StatelessWidget implements PreferredSizeWidget {
color: Theme.of(context).colorScheme.surface, color: Theme.of(context).colorScheme.surface,
boxShadow: [ boxShadow: [
BoxShadow( BoxShadow(
color: const Color(0XFF1B3C59).withOpacity(0.15), color: const Color(0XFF1B3C59).withValues(alpha: 0.15),
blurRadius: 8, blurRadius: 8,
spreadRadius: 0, spreadRadius: 0,
offset: const Offset(0, 8), offset: const Offset(0, 8),

View File

@ -37,7 +37,7 @@ class LogoAppBar extends StatelessWidget implements PreferredSizeWidget {
? null ? null
: [ : [
BoxShadow( BoxShadow(
color: const Color(0XFF1B3C59).withOpacity(0.15), color: const Color(0XFF1B3C59).withValues(alpha: 0.15),
blurRadius: 8, blurRadius: 8,
spreadRadius: 0, spreadRadius: 0,
offset: const Offset(0, 8), offset: const Offset(0, 8),

View File

@ -55,8 +55,10 @@ class VideoOverview extends StatelessWidget {
width: 28, width: 28,
decoration: BoxDecoration( decoration: BoxDecoration(
shape: BoxShape.circle, shape: BoxShape.circle,
color: color: Theme.of(context)
Theme.of(context).colorScheme.secondary.withOpacity(0.7), .colorScheme
.secondary
.withValues(alpha: 0.7),
), ),
child: Icon( child: Icon(
DidvanIcons.play_solid, DidvanIcons.play_solid,

View File

@ -31,7 +31,7 @@ class SearchAppBar extends StatelessWidget implements PreferredSizeWidget {
? null ? null
: [ : [
BoxShadow( BoxShadow(
color: const Color(0XFF1B3C59).withOpacity(0.15), color: const Color(0XFF1B3C59).withValues(alpha: 0.15),
blurRadius: 8, blurRadius: 8,
spreadRadius: 0, spreadRadius: 0,
offset: const Offset(0, 8), offset: const Offset(0, 8),

View File

@ -166,7 +166,8 @@ class _PrimaryControlsState extends State<PrimaryControls> {
child: Container( child: Container(
padding: const EdgeInsets.all(12), padding: const EdgeInsets.all(12),
decoration: BoxDecoration( decoration: BoxDecoration(
shape: BoxShape.circle, color: Colors.black.withOpacity(0.4)), shape: BoxShape.circle,
color: Colors.black.withValues(alpha: 0.4)),
child: Icon( child: Icon(
chewieController.isPlaying chewieController.isPlaying
? CupertinoIcons.pause_fill ? CupertinoIcons.pause_fill
@ -194,7 +195,8 @@ class _PrimaryControlsState extends State<PrimaryControls> {
child: Container( child: Container(
padding: const EdgeInsets.all(12), padding: const EdgeInsets.all(12),
decoration: BoxDecoration( decoration: BoxDecoration(
shape: BoxShape.circle, color: Colors.black.withOpacity(0.4)), shape: BoxShape.circle,
color: Colors.black.withValues(alpha: 0.4)),
child: const Icon( child: const Icon(
Icons.forward_5_rounded, Icons.forward_5_rounded,
color: Colors.white, color: Colors.white,
@ -219,7 +221,8 @@ class _PrimaryControlsState extends State<PrimaryControls> {
child: Container( child: Container(
padding: const EdgeInsets.all(12), padding: const EdgeInsets.all(12),
decoration: BoxDecoration( decoration: BoxDecoration(
shape: BoxShape.circle, color: Colors.black.withOpacity(0.4)), shape: BoxShape.circle,
color: Colors.black.withValues(alpha: 0.4)),
child: const Icon( child: const Icon(
Icons.replay_5_rounded, Icons.replay_5_rounded,
color: Colors.white, color: Colors.white,

View File

@ -157,10 +157,10 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: collection name: collection
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.18.0" version: "1.19.0"
cross_file: cross_file:
dependency: transitive dependency: transitive
description: description:
@ -226,7 +226,7 @@ packages:
source: hosted source: hosted
version: "1.1.1+1" version: "1.1.1+1"
fading_edge_scrollview: fading_edge_scrollview:
dependency: "direct main" dependency: transitive
description: description:
name: fading_edge_scrollview name: fading_edge_scrollview
sha256: "1f84fe3ea8e251d00d5735e27502a6a250e4aa3d3b330d3fdcb475af741464ef" sha256: "1f84fe3ea8e251d00d5735e27502a6a250e4aa3d3b330d3fdcb475af741464ef"
@ -261,10 +261,10 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: file_picker name: file_picker
sha256: "2ca051989f69d1b2ca012b2cf3ccf78c70d40144f0861ff2c063493f7c8c3d45" sha256: "825aec673606875c33cd8d3c4083f1a3c3999015a84178b317b7ef396b7384f3"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "8.0.5" version: "8.0.7"
file_selector_linux: file_selector_linux:
dependency: transitive dependency: transitive
description: description:
@ -729,10 +729,10 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: just_audio name: just_audio
sha256: ee50602364ba83fa6308f5512dd560c713ec3e1f2bc75f0db43618f0d82ef71a sha256: a49e7120b95600bd357f37a2bb04cd1e88252f7cdea8f3368803779b925b1049
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.9.39" version: "0.9.42"
just_audio_platform_interface: just_audio_platform_interface:
dependency: transitive dependency: transitive
description: description:
@ -742,29 +742,29 @@ packages:
source: hosted source: hosted
version: "4.3.0" version: "4.3.0"
just_audio_web: just_audio_web:
dependency: transitive dependency: "direct main"
description: description:
name: just_audio_web name: just_audio_web
sha256: "0edb481ad4aa1ff38f8c40f1a3576013c3420bf6669b686fe661627d49bc606c" sha256: "9a98035b8b24b40749507687520ec5ab404e291d2b0937823ff45d92cb18d448"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.4.11" version: "0.4.13"
leak_tracker: leak_tracker:
dependency: transitive dependency: transitive
description: description:
name: leak_tracker name: leak_tracker
sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05" sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "10.0.5" version: "10.0.7"
leak_tracker_flutter_testing: leak_tracker_flutter_testing:
dependency: transitive dependency: transitive
description: description:
name: leak_tracker_flutter_testing name: leak_tracker_flutter_testing
sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806" sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "3.0.5" version: "3.0.8"
leak_tracker_testing: leak_tracker_testing:
dependency: transitive dependency: transitive
description: description:
@ -1001,10 +1001,10 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: persian_datetime_picker name: persian_datetime_picker
sha256: "097f69484a4ea8fdf8d2051b0b6205edbed912f096b3c521df0985f656ef5584" sha256: "7ccbfd3a68dc89d405550f624e9fa590c914fed2aa2d48973c4f4400baab2e06"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.7.0" version: "3.1.0"
persian_number_utility: persian_number_utility:
dependency: "direct main" dependency: "direct main"
description: description:
@ -1149,6 +1149,30 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "3.0.1" 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: skeleton_text:
dependency: "direct main" dependency: "direct main"
description: description:
@ -1161,7 +1185,7 @@ packages:
dependency: transitive dependency: transitive
description: flutter description: flutter
source: sdk source: sdk
version: "0.0.99" version: "0.0.0"
source_span: source_span:
dependency: transitive dependency: transitive
description: description:
@ -1198,10 +1222,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: stack_trace name: stack_trace
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.11.1" version: "1.12.0"
stream_channel: stream_channel:
dependency: transitive dependency: transitive
description: description:
@ -1214,10 +1238,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: string_scanner name: string_scanner
sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" sha256: "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.2.0" version: "1.3.0"
synchronized: synchronized:
dependency: transitive dependency: transitive
description: description:
@ -1238,10 +1262,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: test_api name: test_api
sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb" sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.7.2" version: "0.7.3"
timezone: timezone:
dependency: transitive dependency: transitive
description: description:
@ -1446,10 +1470,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: vm_service name: vm_service
sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" sha256: f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "14.2.5" version: "14.3.0"
wakelock_plus: wakelock_plus:
dependency: transitive dependency: transitive
description: description:
@ -1507,7 +1531,7 @@ packages:
source: hosted source: hosted
version: "3.14.0" version: "3.14.0"
win32: win32:
dependency: "direct main" dependency: transitive
description: description:
name: win32 name: win32
sha256: "84ba388638ed7a8cb3445a320c8273136ab2631cd5f2c57888335504ddab1bc2" sha256: "84ba388638ed7a8cb3445a320c8273136ab2631cd5f2c57888335504ddab1bc2"

View File

@ -53,7 +53,6 @@ dependencies:
universal_html: ^2.0.8 universal_html: ^2.0.8
record: ^5.1.2 record: ^5.1.2
persian_datetime_picker: ^2.6.0
persian_number_utility: ^1.1.1 persian_number_utility: ^1.1.1
bot_toast: ^4.0.1 bot_toast: ^4.0.1
flutter_secure_storage: ^8.0.0 flutter_secure_storage: ^8.0.0
@ -83,7 +82,7 @@ dependencies:
android_intent_plus: ^5.0.0 android_intent_plus: ^5.0.0
get: ^4.6.6 get: ^4.6.6
# firebase_auth: ^4.19.6 # firebase_auth: ^4.19.6
just_audio: ^0.9.11 just_audio: ^0.9.42
video_player: ^2.9.2 video_player: ^2.9.2
chewie: ^1.8.3 chewie: ^1.8.3
typewritertext: ^3.0.8 typewritertext: ^3.0.8
@ -104,8 +103,11 @@ dependencies:
js: any js: any
flutter_sound_platform_interface: any flutter_sound_platform_interface: any
flutter_downloader: ^1.11.8 flutter_downloader: ^1.11.8
win32: ^5.8.0 # win32: ^5.8.0
fading_edge_scrollview: ^4.1.1 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: dev_dependencies:
flutter_test: flutter_test:
sdk: flutter sdk: flutter

View File

@ -69,7 +69,7 @@
application. For more information, see: application. For more information, see:
https://developers.google.com/web/fundamentals/primers/service-workers --> https://developers.google.com/web/fundamentals/primers/service-workers -->
<script> <script>
var serviceWorkerVersion = null; var serviceWorkerVersion = "{{flutter_service_worker_version}}";
var scriptLoaded = false; var scriptLoaded = false;
function loadMainDartJs() { function loadMainDartJs() {
if (scriptLoaded) { if (scriptLoaded) {