Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@

## Packages

- flutter_ringtone_player
- flutter_inappwebview
- web_socket_channel
- permission_handler
Expand Down
2 changes: 1 addition & 1 deletion android/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ plugins {

dependencies {
// Import the Firebase BoM
implementation(platform("com.google.firebase:firebase-bom:34.3.0"))
implementation(platform("com.google.firebase:firebase-bom:34.6.0"))

// TODO: Add the dependencies for Firebase products you want to use
// When using the BoM, don't specify versions in Firebase dependencies
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
// Add the dependency for the Google services Gradle plugin
id("com.google.gms.google-services") version "4.4.3" apply false
id("com.google.gms.google-services") version "4.4.4" apply false
}

allprojects {
Expand Down
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.0-all.zip
4 changes: 2 additions & 2 deletions android/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ pluginManagement {

plugins {
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
id("com.android.application") version "8.12.2" apply false
id("org.jetbrains.kotlin.android") version "2.2.20" apply false
id("com.android.application") version "8.13.1" apply false
id("org.jetbrains.kotlin.android") version "2.2.21" apply false
}

include(":app")
3 changes: 3 additions & 0 deletions devtools_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
description: This file stores settings for Dart & Flutter DevTools.
documentation: https://docs.flutter.dev/tools/devtools/extensions#configure-extension-enablement-states
extensions:
72 changes: 33 additions & 39 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,36 +16,36 @@ PODS:
- FlutterMacOS
- connectivity_plus (0.0.1):
- Flutter
- Firebase/Auth (12.2.0):
- Firebase/Auth (12.4.0):
- Firebase/CoreOnly
- FirebaseAuth (~> 12.2.0)
- Firebase/CoreOnly (12.2.0):
- FirebaseCore (~> 12.2.0)
- firebase_auth (6.1.0):
- Firebase/Auth (= 12.2.0)
- FirebaseAuth (~> 12.4.0)
- Firebase/CoreOnly (12.4.0):
- FirebaseCore (~> 12.4.0)
- firebase_auth (6.1.2):
- Firebase/Auth (= 12.4.0)
- firebase_core
- Flutter
- firebase_core (4.1.1):
- Firebase/CoreOnly (= 12.2.0)
- firebase_core (4.2.1):
- Firebase/CoreOnly (= 12.4.0)
- Flutter
- FirebaseAppCheckInterop (12.2.0)
- FirebaseAuth (12.2.0):
- FirebaseAppCheckInterop (~> 12.2.0)
- FirebaseAuthInterop (~> 12.2.0)
- FirebaseCore (~> 12.2.0)
- FirebaseCoreExtension (~> 12.2.0)
- FirebaseAppCheckInterop (12.4.0)
- FirebaseAuth (12.4.0):
- FirebaseAppCheckInterop (~> 12.4.0)
- FirebaseAuthInterop (~> 12.4.0)
- FirebaseCore (~> 12.4.0)
- FirebaseCoreExtension (~> 12.4.0)
- GoogleUtilities/AppDelegateSwizzler (~> 8.1)
- GoogleUtilities/Environment (~> 8.1)
- GTMSessionFetcher/Core (< 6.0, >= 3.4)
- RecaptchaInterop (~> 101.0)
- FirebaseAuthInterop (12.2.0)
- FirebaseCore (12.2.0):
- FirebaseCoreInternal (~> 12.2.0)
- FirebaseAuthInterop (12.4.0)
- FirebaseCore (12.4.0):
- FirebaseCoreInternal (~> 12.4.0)
- GoogleUtilities/Environment (~> 8.1)
- GoogleUtilities/Logger (~> 8.1)
- FirebaseCoreExtension (12.2.0):
- FirebaseCore (~> 12.2.0)
- FirebaseCoreInternal (12.2.0):
- FirebaseCoreExtension (12.4.0):
- FirebaseCore (~> 12.4.0)
- FirebaseCoreInternal (12.4.0):
- "GoogleUtilities/NSData+zlib (~> 8.1)"
- Flutter (1.0.0)
- flutter_inappwebview_ios (0.0.1):
Expand All @@ -55,8 +55,6 @@ PODS:
- flutter_inappwebview_ios/Core (0.0.1):
- Flutter
- OrderedSet (~> 6.0.3)
- flutter_ringtone_player (0.0.1):
- Flutter
- fluttertoast (0.0.2):
- Flutter
- google_sign_in_ios (0.0.1):
Expand Down Expand Up @@ -130,7 +128,6 @@ DEPENDENCIES:
- firebase_core (from `.symlinks/plugins/firebase_core/ios`)
- Flutter (from `Flutter`)
- flutter_inappwebview_ios (from `.symlinks/plugins/flutter_inappwebview_ios/ios`)
- flutter_ringtone_player (from `.symlinks/plugins/flutter_ringtone_player/ios`)
- fluttertoast (from `.symlinks/plugins/fluttertoast/ios`)
- google_sign_in_ios (from `.symlinks/plugins/google_sign_in_ios/darwin`)
- image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`)
Expand Down Expand Up @@ -175,8 +172,6 @@ EXTERNAL SOURCES:
:path: Flutter
flutter_inappwebview_ios:
:path: ".symlinks/plugins/flutter_inappwebview_ios/ios"
flutter_ringtone_player:
:path: ".symlinks/plugins/flutter_ringtone_player/ios"
fluttertoast:
:path: ".symlinks/plugins/fluttertoast/ios"
google_sign_in_ios:
Expand All @@ -202,34 +197,33 @@ SPEC CHECKSUMS:
AppCheckCore: cc8fd0a3a230ddd401f326489c99990b013f0c4f
audioplayers_darwin: 4f9ca89d92d3d21cec7ec580e78ca888e5fb68bd
connectivity_plus: cb623214f4e1f6ef8fe7403d580fdad517d2f7dd
Firebase: 26f6f8d460603af3df970ad505b16b15f5e2e9a1
firebase_auth: 069b05a861a7c2f7a73112dd616a49a40f35ae52
firebase_core: dfc4bd142bee4bc53a5d482397ca322c2dd3165d
FirebaseAppCheckInterop: a1b2598c64c5a8c42fd6f6a1c3d0938ae4324678
FirebaseAuth: 059c11702bdb759bb49b6c7ec6ff67abf21f39c4
FirebaseAuthInterop: 217702acd4cc6baa98ba9d6c054532e0de0b8a16
FirebaseCore: 311c48a147ad4a0ab7febbaed89e8025c67510cd
FirebaseCoreExtension: 73af080c22a2f7b44cefa391dc08f7e4ee162cb5
FirebaseCoreInternal: 56ea29f3dad2894f81b060f706f9d53509b6ed3b
Firebase: f07b15ae5a6ec0f93713e30b923d9970d144af3e
firebase_auth: 9225db04db5d8e3b46dc8940e04bc6aec6833e27
firebase_core: f1aafb21c14f497e5498f7ffc4dc63cbb52b2594
FirebaseAppCheckInterop: f734c802f21fe1da0837708f0f9a27218c8a4ed0
FirebaseAuth: 4a2aed737c84114a9d9b33d11ae1b147d6b94889
FirebaseAuthInterop: 858e6b754966e70740a4370dd1503dfffe6dbb49
FirebaseCore: bb595f3114953664e3c1dc032f008a244147cfd3
FirebaseCoreExtension: 7e1f7118ee970e001a8013719fb90950ee5e0018
FirebaseCoreInternal: d7f5a043c2cd01a08103ab586587c1468047bca6
Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467
flutter_inappwebview_ios: b89ba3482b96fb25e00c967aae065701b66e9b99
flutter_ringtone_player: a77c42464250845611eaa44c27e8714acc800138
fluttertoast: 2c67e14dce98bbdb200df9e1acf610d7a6264ea1
google_sign_in_ios: 205742c688aea0e64db9da03c33121694a365109
google_sign_in_ios: 00dfa94252eb10278b64828c81bcb7158a81a53a
GoogleSignIn: c7f09cfbc85a1abf69187be091997c317cc33b77
GoogleUtilities: 00c88b9a86066ef77f0da2fab05f65d7768ed8e1
GTMAppAuth: 217a876b249c3c585a54fd6f73e6b58c4f5c4238
GTMSessionFetcher: 5aea5ba6bd522a239e236100971f10cb71b96ab6
image_picker_ios: 7fe1ff8e34c1790d6fff70a32484959f563a928a
image_picker_ios: e0ece4aa2a75771a7de3fa735d26d90817041326
mobile_scanner: 9157936403f5a0644ca3779a38ff8404c5434a93
OrderedSet: e539b66b644ff081c73a262d24ad552a69be3a94
path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564
path_provider_foundation: bb55f6dbba17d0dccd6737fe6f7f34fbd0376880
permission_handler_apple: 4ed2196e43d0651e8ff7ca3483a069d469701f2d
PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47
RecaptchaInterop: 11e0b637842dfb48308d242afc3f448062325aba
share_plus: 50da8cb520a8f0f65671c6c6a99b3617ed10a58a
sqflite_darwin: 20b2a3a3b70e43edae938624ce550a3cbf66a3d0
url_launcher_ios: 694010445543906933d732453a59da0a173ae33d
url_launcher_ios: 7a95fa5b60cc718a708b8f2966718e93db0cef1b

PODFILE CHECKSUM: e615128e67103d6c13341e7c9cf615f3bc73c500

Expand Down
Binary file added lib/assets/medias/pay.wav
Binary file not shown.
84 changes: 42 additions & 42 deletions lib/configure/fluttertoast.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ class Toaster {
child: Container(
alignment: Alignment.topCenter,
padding: EdgeInsets.only(
top: 640.wmax * 10.sr,
left: 640.wmax * 20.sr,
right: 640.wmax * 15.sr,
bottom: 640.wmax * 10.sr,
top: 10.vp,
left: 20.vp,
right: 15.vp,
bottom: 10.vp,
),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(640.wmax * 32.sr),
borderRadius: BorderRadius.circular(32.vp),
color: Colors.redAccent,
),
child: Row(
Expand All @@ -52,14 +52,14 @@ class Toaster {
behavior: HitTestBehavior.opaque,
child: Container(
alignment: Alignment.center,
padding: EdgeInsets.only(left: 640.wmax * 10.sr),
padding: EdgeInsets.only(left: 10.vp),
child: IntrinsicWidth(
child: Text(
message!,
style: TextStyle(
fontSize: 640.wmax * 14.sr,
fontWeight: FontWeight.w600,
color: Colors.white,
fontWeight: FontWeight.w600,
fontSize: 14.fp,
height: 1.3,
),
),
Expand All @@ -74,11 +74,11 @@ class Toaster {
),
),
SizedBox(
width: 640.wmax * 24.sr,
height: 640.wmax * 24.sr,
width: 24.vp,
height: 24.vp,
child: IconButton(
color: Colors.white,
iconSize: 640.wmax * 24.sr,
iconSize: 24.vp,
padding: const EdgeInsets.all(0),
icon: const Icon(Icons.close),
onPressed: () => fToast.removeCustomToast(),
Expand All @@ -90,9 +90,9 @@ class Toaster {
toastDuration: duration ?? const Duration(seconds: 3),
positionedToastBuilder: (context, child, gravity) {
return Positioned(
top: max(640.wmax * 48.sr, mediaPadding.top + 640.wmax * 6.sr),
left: 640.wmax * 20.sr,
right: 640.wmax * 20.sr,
top: max(48.vp, mediaPadding.top + 6.vp),
left: 20.vp,
right: 20.vp,
child: child,
);
},
Expand Down Expand Up @@ -127,13 +127,13 @@ class Toaster {
child: Container(
alignment: Alignment.topCenter,
padding: EdgeInsets.only(
top: 640.wmax * 10.sr,
left: 640.wmax * 20.sr,
right: 640.wmax * 15.sr,
bottom: 640.wmax * 10.sr,
top: 10.vp,
left: 20.vp,
right: 15.vp,
bottom: 10.vp,
),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(640.wmax * 32.sr),
borderRadius: BorderRadius.circular(32.vp),
color: Color(0xffffc107),
),
child: Row(
Expand All @@ -144,14 +144,14 @@ class Toaster {
behavior: HitTestBehavior.opaque,
child: Container(
alignment: Alignment.center,
padding: EdgeInsets.only(left: 640.wmax * 10.sr),
padding: EdgeInsets.only(left: 10.vp),
child: IntrinsicWidth(
child: Text(
message!,
style: TextStyle(
fontSize: 640.wmax * 14.sr,
fontWeight: FontWeight.w600,
color: Colors.white,
fontWeight: FontWeight.w600,
fontSize: 14.fp,
height: 1.3,
),
),
Expand All @@ -166,11 +166,11 @@ class Toaster {
),
),
SizedBox(
width: 640.wmax * 24.sr,
height: 640.wmax * 24.sr,
width: 24.vp,
height: 24.vp,
child: IconButton(
color: Colors.white,
iconSize: 640.wmax * 24.sr,
iconSize: 24.vp,
padding: const EdgeInsets.all(0),
icon: const Icon(Icons.error_outline),
onPressed: () => fToast.removeCustomToast(),
Expand All @@ -182,9 +182,9 @@ class Toaster {
toastDuration: duration ?? const Duration(seconds: 3),
positionedToastBuilder: (context, child, gravity) {
return Positioned(
top: max(640.wmax * 48.sr, mediaPadding.top + 640.wmax * 6.sr),
left: 640.wmax * 20.sr,
right: 640.wmax * 20.sr,
top: max(48.vp, mediaPadding.top + 6.vp),
left: 20.vp,
right: 20.vp,
child: child,
);
},
Expand Down Expand Up @@ -219,13 +219,13 @@ class Toaster {
child: Container(
alignment: Alignment.topCenter,
padding: EdgeInsets.only(
top: 640.wmax * 10.sr,
left: 640.wmax * 20.sr,
right: 640.wmax * 15.sr,
bottom: 640.wmax * 10.sr,
top: 10.vp,
left: 20.vp,
right: 15.vp,
bottom: 10.vp,
),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(640.wmax * 32.sr),
borderRadius: BorderRadius.circular(32.vp),
color: const Color(0xff52c41b),
),
child: Row(
Expand All @@ -236,14 +236,14 @@ class Toaster {
behavior: HitTestBehavior.opaque,
child: Container(
alignment: Alignment.center,
padding: EdgeInsets.only(left: 640.wmax * 10.sr),
padding: EdgeInsets.only(left: 10.vp),
child: IntrinsicWidth(
child: Text(
message!,
style: TextStyle(
fontSize: 640.wmax * 14.sr,
fontWeight: FontWeight.w600,
color: Colors.white,
fontWeight: FontWeight.w600,
fontSize: 14.fp,
height: 1.3,
),
),
Expand All @@ -258,11 +258,11 @@ class Toaster {
),
),
SizedBox(
width: 640.wmax * 24.sr,
height: 640.wmax * 24.sr,
width: 24.vp,
height: 24.vp,
child: IconButton(
iconSize: 24.vp,
color: Colors.white,
iconSize: 640.wmax * 24.sr,
padding: const EdgeInsets.all(0),
icon: const Icon(Icons.check),
onPressed: () => fToast.removeCustomToast(),
Expand All @@ -274,9 +274,9 @@ class Toaster {
toastDuration: duration ?? const Duration(seconds: 3),
positionedToastBuilder: (context, child, gravity) {
return Positioned(
top: max(640.wmax * 48.sr, mediaPadding.top + 640.wmax * 6.sr),
left: 640.wmax * 20.sr,
right: 640.wmax * 20.sr,
top: max(48.vp, mediaPadding.top + 6.vp),
left: 20.vp,
right: 20.vp,
child: child,
);
},
Expand Down
Loading