From 3119e5fdbfe643a50fb53c7d6df5d9a1d2c9e570 Mon Sep 17 00:00:00 2001 From: octagonal Date: Sat, 5 Jul 2025 10:57:38 +0200 Subject: [PATCH] Adds an image cropper to force the use to use a square image when taking picture --- android/app/src/main/AndroidManifest.xml | 4 + .../app/src/main/res/values-v35/styles.xml | 7 + android/app/src/main/res/values/styles.xml | 1 + lib/images_manager.dart | 138 ++++++++++-------- pubspec.lock | 24 +++ pubspec.yaml | 1 + 6 files changed, 118 insertions(+), 57 deletions(-) create mode 100644 android/app/src/main/res/values-v35/styles.xml diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 55f5d10..7915f4d 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -3,6 +3,10 @@ android:label="rtime" android:name="${applicationName}" android:icon="@mipmap/ic_launcher"> + + + + + diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml index cb1ef88..aeb5ec8 100644 --- a/android/app/src/main/res/values/styles.xml +++ b/android/app/src/main/res/values/styles.xml @@ -15,4 +15,5 @@ +