fix snackbar persistance, update dependancies

This commit is contained in:
yaso 2026-07-03 09:34:35 +02:00
parent 5a91d1e98e
commit 303022a352
9 changed files with 79 additions and 43 deletions

View file

@ -1,3 +1,7 @@
org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError
android.useAndroidX=true
android.enableJetifier=true
# This builtInKotlin flag was added automatically by Flutter migrator
android.builtInKotlin=false
# This newDsl flag was added automatically by Flutter migrator
android.newDsl=false

View file

@ -116,6 +116,21 @@ class _ExampleMihPackageState extends State<ExampleMihPackage> {
buttonColor: MihColors.green(),
child: Text("Press"),
),
MihButton(
width: 300,
onPressed: () {
ScaffoldMessenger.of(context).showSnackBar(
MihSnackBar(
child: Text("Tester"),
duration: 2,
backgroundColor: MihColors.secondary(),
closeIconColor: MihColors.red(),
),
);
},
buttonColor: MihColors.green(),
child: Text("Snack Test"),
),
],
),
),

View file

@ -143,26 +143,26 @@ packages:
dependency: transitive
description:
name: local_auth
sha256: "434d854cf478f17f12ab29a76a02b3067f86a63a6d6c4eb8fbfdcfe4879c1b7b"
sha256: ae6f382f638108c6becd134318d7c3f0a93875383a54010f61d7c97ac05d5137
url: "https://pub.dev"
source: hosted
version: "2.3.0"
version: "3.0.1"
local_auth_android:
dependency: transitive
description:
name: local_auth_android
sha256: "48924f4a8b3cc45994ad5993e2e232d3b00788a305c1bf1c7db32cef281ce9a3"
sha256: fdb936d59ab945c7af297defd67bd1ed87b11b6db1bc16d01e94677a8f1c38ec
url: "https://pub.dev"
source: hosted
version: "1.0.52"
version: "2.0.9"
local_auth_darwin:
dependency: transitive
description:
name: local_auth_darwin
sha256: "0e9706a8543a4a2eee60346294d6a633dd7c3ee60fae6b752570457c4ff32055"
sha256: a8c3d4e17454111f7fd31ff72a31222359f6059f7fe956c2dcfe0f88f49826d4
url: "https://pub.dev"
source: hosted
version: "1.6.0"
version: "2.0.3"
local_auth_platform_interface:
dependency: transitive
description:
@ -175,10 +175,10 @@ packages:
dependency: transitive
description:
name: local_auth_windows
sha256: bc4e66a29b0fdf751aafbec923b5bed7ad6ed3614875d8151afe2578520b2ab5
sha256: be12c5b8ba5e64896983123655c5f67d2484ecfcc95e367952ad6e3bff94cb16
url: "https://pub.dev"
source: hosted
version: "1.0.11"
version: "2.0.1"
matcher:
dependency: transitive
description:
@ -199,17 +199,17 @@ packages:
dependency: transitive
description:
name: meta
sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394"
sha256: "1741988757a65eb6b36abe716829688cf01910bbf91c34354ff7ec1c3de2b349"
url: "https://pub.dev"
source: hosted
version: "1.17.0"
version: "1.18.0"
mih_package_toolkit:
dependency: "direct main"
description:
path: ".."
relative: true
source: path
version: "0.0.6"
version: "0.1.0"
path:
dependency: transitive
description:
@ -275,10 +275,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: "8161c84903fd860b26bfdefb7963b3f0b68fee7adea0f59ef805ecca346f0c7a"
sha256: "949a932224383300f01be9221c39180316445ecb8e7547f70a41a35bf421fb9e"
url: "https://pub.dev"
source: hosted
version: "0.7.10"
version: "0.7.11"
vector_math:
dependency: transitive
description:
@ -296,5 +296,5 @@ packages:
source: hosted
version: "15.0.0"
sdks:
dart: ">=3.9.0-0 <4.0.0"
flutter: ">=3.29.0"
dart: ">=3.12.0 <4.0.0"
flutter: ">=3.44.0"