diff --git a/android/.gitignore b/android/.gitignore index bc2100d..b68efd4 100644 --- a/android/.gitignore +++ b/android/.gitignore @@ -5,3 +5,4 @@ gradle-wrapper.jar /gradlew.bat /local.properties GeneratedPluginRegistrant.java +/build diff --git a/android/app/build.gradle b/android/app/build.gradle index df1be06..4e8172b 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -32,15 +32,18 @@ if (keystorePropertiesFile.exists()) { } android { - compileSdkVersion 33 - + compileSdk 35 + compileOptions { + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 + } + kotlinOptions { + jvmTarget = '17' + } sourceSets { main.java.srcDirs += 'src/main/kotlin' } - lintOptions { - disable 'InvalidPackage' - } defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). @@ -66,6 +69,10 @@ android { signingConfig signingConfigs.release } } + namespace 'org.scottylabs.thdapp' + lint { + disable 'InvalidPackage' + } } flutter { diff --git a/android/app/proguard-rules.pro b/android/app/proguard-rules.pro new file mode 100644 index 0000000..72d2a95 --- /dev/null +++ b/android/app/proguard-rules.pro @@ -0,0 +1,14 @@ +-dontwarn androidx.window.extensions.WindowExtensions +-dontwarn androidx.window.extensions.WindowExtensionsProvider +-dontwarn androidx.window.extensions.area.ExtensionWindowAreaPresentation +-dontwarn androidx.window.extensions.layout.DisplayFeature +-dontwarn androidx.window.extensions.layout.FoldingFeature +-dontwarn androidx.window.extensions.layout.WindowLayoutComponent +-dontwarn androidx.window.extensions.layout.WindowLayoutInfo +-dontwarn androidx.window.sidecar.SidecarDeviceState +-dontwarn androidx.window.sidecar.SidecarDisplayFeature +-dontwarn androidx.window.sidecar.SidecarInterface$SidecarCallback +-dontwarn androidx.window.sidecar.SidecarInterface +-dontwarn androidx.window.sidecar.SidecarProvider +-dontwarn androidx.window.sidecar.SidecarWindowLayoutInfo + diff --git a/android/app/src/debug/AndroidManifest.xml b/android/app/src/debug/AndroidManifest.xml index d109f0a..f880684 100644 --- a/android/app/src/debug/AndroidManifest.xml +++ b/android/app/src/debug/AndroidManifest.xml @@ -1,5 +1,4 @@ - + diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index a1fc219..354dc60 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,5 +1,4 @@ - + diff --git a/android/build.gradle b/android/build.gradle index 37a72a5..fddd179 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,12 +1,12 @@ buildscript { - ext.kotlin_version = '1.9.22' + ext.kotlin_version = '1.8.22' repositories { google() - jcenter() + mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:7.0.0' + classpath 'com.android.tools.build:gradle:8.8.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } @@ -14,8 +14,44 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() } + // This code is where all the magic happens and fixes the error. + subprojects { + afterEvaluate { project -> + if (project.hasProperty('android')) { + project.android { + if (namespace == null) { + namespace project.group + } + } + } + } + } + // This code is where all the magic happens and fixes the error. +} + +subprojects { + project.buildDir = "${rootProject.buildDir}/${project.name}" +} + +// add These lines from here. in android/build.gradle (NOT android/app/build.gradle) +subprojects { + afterEvaluate { project -> + if (project.plugins.hasPlugin("com.android.application") || + project.plugins.hasPlugin("com.android.library")) { + project.android { + compileSdkVersion 35 + buildToolsVersion "35.0.0" + } + } + } +} + + +// to here +subprojects { + project.evaluationDependsOn(':app') } rootProject.buildDir = '../build' @@ -28,4 +64,4 @@ subprojects { tasks.register("clean", Delete) { delete rootProject.buildDir -} +} \ No newline at end of file diff --git a/android/gradle.properties b/android/gradle.properties index 38c8d45..c32a4ef 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -2,3 +2,6 @@ org.gradle.jvmargs=-Xmx1536M android.enableR8=true android.useAndroidX=true android.enableJetifier=true +android.defaults.buildfeatures.buildconfig=true +android.nonTransitiveRClass=false +android.nonFinalResIds=false diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index 2b22d05..b70e5a5 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ +#Sun Jan 26 19:39:12 EST 2025 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-all.zip -networkTimeout=10000 +distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 59a25a2..fa0b511 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -4,7 +4,7 @@ PODS: - Flutter - image_cropper (0.0.4): - Flutter - - TOCropViewController (~> 2.6.1) + - TOCropViewController (~> 2.7.4) - image_picker_ios (0.0.1): - Flutter - integration_test (0.0.1): @@ -14,7 +14,7 @@ PODS: - shared_preferences_foundation (0.0.1): - Flutter - FlutterMacOS - - TOCropViewController (2.6.1) + - TOCropViewController (2.7.4) - url_launcher_ios (0.0.1): - Flutter @@ -52,15 +52,15 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 - flutter_smart_scan: 2f7b350e28147cd3387810415be505ecc027bfb9 - image_cropper: a3291c624a953049bc6a02e1f8c8ceb162a24b25 - image_picker_ios: 99dfe1854b4fa34d0364e74a78448a0151025425 - integration_test: 13825b8a9334a850581300559b8839134b124670 - share: 0b2c3e82132f5888bccca3351c504d0003b3b410 - shared_preferences_foundation: b4c3b4cddf1c21f02770737f147a3f5da9d39695 - TOCropViewController: edfd4f25713d56905ad1e0b9f5be3fbe0f59c863 - url_launcher_ios: bbd758c6e7f9fd7b5b1d4cde34d2b95fcce5e812 + flutter_smart_scan: 7bbde55ca151f1b89e74359ea174e09ea2431fa6 + image_cropper: 5f162dcf988100dc1513f9c6b7eb42cd6fbf9156 + image_picker_ios: 7fe1ff8e34c1790d6fff70a32484959f563a928a + integration_test: 4a889634ef21a45d28d50d622cf412dc6d9f586e + share: a34936589f3090d59481bcdc5c30cc9dd47c75f6 + shared_preferences_foundation: 9e1978ff2562383bd5676f64ec4e9aa8fa06a6f7 + TOCropViewController: 80b8985ad794298fb69d3341de183f33d1853654 + url_launcher_ios: 694010445543906933d732453a59da0a173ae33d PODFILE CHECKSUM: c4c93c5f6502fe2754f48404d3594bf779584011 -COCOAPODS: 1.14.3 +COCOAPODS: 1.16.2 diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index e71b910..525b21f 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -165,7 +165,7 @@ 97C146E61CF9000F007C117D /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1430; + LastUpgradeCheck = 1510; ORGANIZATIONNAME = "The Chromium Authors"; TargetAttributes = { 97C146ED1CF9000F007C117D = { diff --git a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index b52b2e6..e67b280 100644 --- a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ CFBundlePackageType APPL CFBundleShortVersionString - $(MARKETING_VERSION) + $(FLUTTER_BUILD_NAME) CFBundleSignature ???? CFBundleVersion - $(CURRENT_PROJECT_VERSION) + $(FLUTTER_BUILD_NUMBER) LSRequiresIPhoneOS NSCameraUsageDescription @@ -51,5 +51,7 @@ UIApplicationSupportsIndirectInputEvents + ITSAppUsesNonExemptEncryption + diff --git a/lib/components/buttons/SolidButton.dart b/lib/components/buttons/SolidButton.dart index 8f7a670..96ae8d0 100644 --- a/lib/components/buttons/SolidButton.dart +++ b/lib/components/buttons/SolidButton.dart @@ -27,13 +27,13 @@ class SolidButton extends StatelessWidget { return ElevatedButton( onPressed: onPressed, style: ButtonStyle( - foregroundColor: MaterialStateProperty.all(color), - backgroundColor: MaterialStateProperty.all(color), + foregroundColor: WidgetStateProperty.all(color), + backgroundColor: WidgetStateProperty.all(color), shadowColor: - MaterialStateProperty.all(Theme.of(context).colorScheme.shadow), - shape: MaterialStateProperty.all(RoundedRectangleBorder( + WidgetStateProperty.all(Theme.of(context).colorScheme.shadow), + shape: WidgetStateProperty.all(RoundedRectangleBorder( borderRadius: BorderRadius.circular(10))), - elevation: MaterialStateProperty.all(5)), + elevation: WidgetStateProperty.all(5)), child: child ?? Text( text!, diff --git a/lib/components/buttons/SolidSquareButton.dart b/lib/components/buttons/SolidSquareButton.dart index a7273e9..eb47fce 100644 --- a/lib/components/buttons/SolidSquareButton.dart +++ b/lib/components/buttons/SolidSquareButton.dart @@ -12,15 +12,15 @@ class SolidSquareButton extends StatelessWidget { onPressed: onPressed, style: ButtonStyle( foregroundColor: - MaterialStateProperty.all(Theme.of(context).colorScheme.primary), + WidgetStateProperty.all(Theme.of(context).colorScheme.primary), backgroundColor: - MaterialStateProperty.all(Theme.of(context).colorScheme.primary), - shadowColor: MaterialStateProperty.all( + WidgetStateProperty.all(Theme.of(context).colorScheme.primary), + shadowColor: WidgetStateProperty.all( Theme.of(context).colorScheme.secondaryContainer), - shape: MaterialStateProperty.all( + shape: WidgetStateProperty.all( RoundedRectangleBorder(borderRadius: BorderRadius.circular(10))), - fixedSize: MaterialStateProperty.all(const Size.square(10)), - elevation: MaterialStateProperty.all(5)), + fixedSize: WidgetStateProperty.all(const Size.square(10)), + elevation: WidgetStateProperty.all(5)), child: const SizedBox(), ); } diff --git a/lib/generated_plugin_registrant.dart b/lib/generated_plugin_registrant.dart deleted file mode 100644 index 6a1a4a2..0000000 --- a/lib/generated_plugin_registrant.dart +++ /dev/null @@ -1,19 +0,0 @@ -// -// Generated file. Do not edit. -// - -// ignore_for_file: directives_ordering -// ignore_for_file: lines_longer_than_80_chars -// ignore_for_file: depend_on_referenced_packages - -import 'package:shared_preferences_web/shared_preferences_web.dart'; -import 'package:url_launcher_web/url_launcher_web.dart'; - -import 'package:flutter_web_plugins/flutter_web_plugins.dart'; - -// ignore: public_member_api_docs -void registerPlugins(Registrar registrar) { - SharedPreferencesPlugin.registerWith(registrar); - UrlLauncherPlugin.registerWith(registrar); - registrar.registerMessageHandler(); -} diff --git a/lib/logos/thLogoDark.png b/lib/logos/thLogoDark.png index 1455987..0bf9069 100644 Binary files a/lib/logos/thLogoDark.png and b/lib/logos/thLogoDark.png differ diff --git a/lib/logos/thLogoDark_small.png b/lib/logos/thLogoDark_small.png index ff70517..7d19f1d 100644 Binary files a/lib/logos/thLogoDark_small.png and b/lib/logos/thLogoDark_small.png differ diff --git a/lib/logos/thLogoLight.png b/lib/logos/thLogoLight.png index 0cf3f8f..5c11921 100644 Binary files a/lib/logos/thLogoLight.png and b/lib/logos/thLogoLight.png differ diff --git a/lib/logos/thLogoLight_small.png b/lib/logos/thLogoLight_small.png index 66eea02..a92d5dd 100644 Binary files a/lib/logos/thLogoLight_small.png and b/lib/logos/thLogoLight_small.png differ diff --git a/lib/pages/checkin_qr.dart b/lib/pages/checkin_qr.dart index 822d6b5..8cb4ffd 100644 --- a/lib/pages/checkin_qr.dart +++ b/lib/pages/checkin_qr.dart @@ -2,8 +2,11 @@ import 'package:flutter_smart_scan/flutter_smart_scan.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; import 'package:qr_flutter/qr_flutter.dart'; +import 'package:shared_preferences/shared_preferences.dart'; +import 'package:thdapp/api.dart'; import 'package:thdapp/components/DefaultPage.dart'; import 'package:thdapp/components/buttons/SolidButton.dart'; +import 'package:thdapp/models/profile.dart'; import 'package:thdapp/providers/check_in_items_provider.dart'; import '../theme_changer.dart'; @@ -15,12 +18,40 @@ class QRPage extends StatefulWidget { class _QRPageState extends State { final _eventIDController = TextEditingController(); + late Profile userData; + late String id; + late String token; + + void getData() async { + prefs = await SharedPreferences.getInstance(); + + token = prefs.getString('token')!; + id = prefs.getString('id')!; + + userData = await getProfile(id, token); + + setState(() {}); + } + + @override + initState() { + super.initState(); + getData(); + } + @override Widget build(BuildContext context) { final mqData = MediaQuery.of(context); final screenHeight = mqData.size.height; final screenWidth = mqData.size.width; + String dietaryRestrictions; + if (userData.dietaryRestrictions!.isEmpty) { + dietaryRestrictions = "No dietary restrictions"; + } else { + dietaryRestrictions = "Dietary restrictions: ${userData.dietaryRestrictions!.join(', ')}"; + } + return DefaultPage( backflag: true, reverse: true, @@ -33,6 +64,13 @@ class _QRPageState extends State { mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ IDCheckInHeader(_eventIDController), + Text( + dietaryRestrictions, + style: Theme.of(context) + .textTheme + .displaySmall + ?.copyWith(color: const Color(0xFFF7F1E2)), + ), QREnlarged( onPressed: () async { final String id = await FlutterBarcodeScanner.scanBarcode( diff --git a/lib/pages/create_team.dart b/lib/pages/create_team.dart index c8faa9b..27fc614 100644 --- a/lib/pages/create_team.dart +++ b/lib/pages/create_team.dart @@ -29,6 +29,7 @@ class TeamTextField extends StatelessWidget { if (val == null || val.isEmpty) { return "Cannot be empty"; } + return null; }, ); } diff --git a/lib/pages/edit_team.dart b/lib/pages/edit_team.dart index 3b902f3..24410e4 100644 --- a/lib/pages/edit_team.dart +++ b/lib/pages/edit_team.dart @@ -101,15 +101,15 @@ class _EditTeamState extends State { padding: const EdgeInsets.fromLTRB(20, 20, 20, 20), child: ElevatedButton( style: ButtonStyle( - foregroundColor: MaterialStateProperty.all( + foregroundColor: WidgetStateProperty.all( Theme.of(context).colorScheme.secondary), - backgroundColor: MaterialStateProperty.all( + backgroundColor: WidgetStateProperty.all( Theme.of(context).colorScheme.secondary), - shadowColor: MaterialStateProperty.all( + shadowColor: WidgetStateProperty.all( Theme.of(context).colorScheme.secondaryContainer), - shape: MaterialStateProperty.all(RoundedRectangleBorder( + shape: WidgetStateProperty.all(RoundedRectangleBorder( borderRadius: BorderRadius.circular(10))), - elevation: MaterialStateProperty.all(5), + elevation: WidgetStateProperty.all(5), ), onPressed: () {}, child: Container( diff --git a/lib/pages/editcheckinitem.dart b/lib/pages/editcheckinitem.dart index 3a33dff..e885c8e 100644 --- a/lib/pages/editcheckinitem.dart +++ b/lib/pages/editcheckinitem.dart @@ -141,13 +141,17 @@ class _CheckInItemFormState extends State { label: "Name", controller: _nameController, onTap: () {}, - validator: (String? val) {}, + validator: (String? val) { + return null; + }, ), EditCheckInFormField( label: "Description", controller: _descController, onTap: () {}, - validator: (String? val) {}, + validator: (String? val) { + return null; + }, ), EditCheckInFormField( label: "Start Date", @@ -162,7 +166,7 @@ class _CheckInItemFormState extends State { builder: (context, child) => Theme( data: Theme.of(context).copyWith( dialogBackgroundColor: - Theme.of(context).colorScheme.background), + Theme.of(context).colorScheme.surface), child: child!)); if (picked != null) { _startDateController.value = TextEditingValue( @@ -171,7 +175,9 @@ class _CheckInItemFormState extends State { startDate = picked; } }, - validator: (String? val) {}, + validator: (String? val) { + return null; + }, ), EditCheckInFormField( label: "End Date", @@ -197,7 +203,7 @@ class _CheckInItemFormState extends State { builder: (context, child) => Theme( data: Theme.of(context).copyWith( dialogBackgroundColor: - Theme.of(context).colorScheme.background), + Theme.of(context).colorScheme.surface), child: child!)); _endDateController.value = TextEditingValue( text: DateFormat.yMMMd('en_US').format(picked!)); @@ -218,7 +224,9 @@ class _CheckInItemFormState extends State { startTime = picked; }, - validator: (String? val) {}, + validator: (String? val) { + return null; + }, ), EditCheckInFormField( label: "End Time", @@ -253,7 +261,9 @@ class _CheckInItemFormState extends State { controller: _pointsController, keyboardType: TextInputType.number, onTap: () {}, - validator: (String? value) {}, + validator: (String? value) { + return null; + }, ), // Dropdown menus diff --git a/lib/pages/forgot.dart b/lib/pages/forgot.dart index a68d36d..6409c82 100644 --- a/lib/pages/forgot.dart +++ b/lib/pages/forgot.dart @@ -115,7 +115,7 @@ class _ForgotState extends State { fontSize: 14, color: Theme.of(context) .colorScheme - .onBackground)), + .onSurface)), TextButton( onPressed: () { Navigator.push( diff --git a/lib/pages/login.dart b/lib/pages/login.dart index 5c9a1dc..46cb2de 100644 --- a/lib/pages/login.dart +++ b/lib/pages/login.dart @@ -139,7 +139,7 @@ class _LoginState extends State { height: screenHeight * 0.3, width: screenWidth, alignment: Alignment.topCenter, - padding: const EdgeInsets.fromLTRB(0, 40, 0, 0), + padding: EdgeInsets.fromLTRB(30, screenWidth * 0.2, 30, 0), child: themeProvider.getTheme == lightTheme ? Image.asset("lib/logos/thLogoLight.png") : Image.asset("lib/logos/thLogoLight.png")) diff --git a/lib/pages/old_bookmarks.dart b/lib/pages/old_bookmarks.dart index 5074cd5..fa89f58 100644 --- a/lib/pages/old_bookmarks.dart +++ b/lib/pages/old_bookmarks.dart @@ -142,7 +142,7 @@ class BookmarkInfo extends StatelessWidget { child: Icon( Icons.bookmark, size: 50.0, - color: Theme.of(context).colorScheme.background, + color: Theme.of(context).colorScheme.surface, ), ), ])), diff --git a/lib/pages/profile_page.dart b/lib/pages/profile_page.dart index f8c02c7..b303290 100644 --- a/lib/pages/profile_page.dart +++ b/lib/pages/profile_page.dart @@ -174,7 +174,7 @@ class _ProfilePageState extends State { crossAxisAlignment: CrossAxisAlignment.center, mainAxisSize: MainAxisSize.min, children: [ - ButtonBar(alignment: MainAxisAlignment.center, children: [ + OverflowBar(alignment: MainAxisAlignment.center, children: [ SolidButton( text: "Delete Uploaded Picture", onPressed: () async { @@ -199,7 +199,7 @@ class _ProfilePageState extends State { child: Text("No picture chosen", style: TextStyle( color: Colors.white))))), - ButtonBar(alignment: MainAxisAlignment.center, children: [ + OverflowBar(alignment: MainAxisAlignment.center, children: [ SolidButton( text: "Gallery", onPressed: () { @@ -263,8 +263,20 @@ class _ProfilePageState extends State { sourcePath: profilePicFile != null ? profilePicFile!.path : Uri.parse(userData.profilePicture!).path, - aspectRatioPresets: [ - CropAspectRatioPreset.square, + uiSettings: [ + AndroidUiSettings( + aspectRatioPresets: [ + CropAspectRatioPreset.square, + ], + ), + IOSUiSettings( + aspectRatioPresets: [ + CropAspectRatioPreset.square, + ], + ), + WebUiSettings( + context: context, + ), ], ); setState(() {}); @@ -439,7 +451,7 @@ class _ProfilePageState extends State { style: Theme.of(context).textTheme.bodyMedium), Row( children: [ - ButtonBar( + OverflowBar( children: [ SolidButton( text: " Link to GitHub ", diff --git a/lib/pages/project_submission.dart b/lib/pages/project_submission.dart index 2d08368..c779d77 100644 --- a/lib/pages/project_submission.dart +++ b/lib/pages/project_submission.dart @@ -38,6 +38,7 @@ class ProjSubmitTextField extends StatelessWidget { if (value != null && value.isEmpty && !isOptional) { return '$fieldName is required'; } + return null; }, ); } diff --git a/lib/pages/see_invites.dart b/lib/pages/see_invites.dart index 29bc575..bd63254 100644 --- a/lib/pages/see_invites.dart +++ b/lib/pages/see_invites.dart @@ -89,7 +89,7 @@ class RequestCard extends StatelessWidget { return Card( margin: const EdgeInsets.all(12), - color: Theme.of(context).colorScheme.background, + color: Theme.of(context).colorScheme.surface, child: Padding( padding: const EdgeInsets.all(24), child: Column( diff --git a/lib/pages/table_submission.dart b/lib/pages/table_submission.dart index b2f4ca5..d72fa5f 100644 --- a/lib/pages/table_submission.dart +++ b/lib/pages/table_submission.dart @@ -7,6 +7,7 @@ import 'package:thdapp/components/buttons/GradBox.dart'; import 'package:thdapp/components/buttons/SolidButton.dart'; import 'package:thdapp/providers/expo_config_provider.dart'; import 'package:thdapp/models/project.dart'; +import 'package:thdapp/providers/user_info_provider.dart'; class TableSubmission extends StatefulWidget { final Project project; diff --git a/lib/pages/teams_list.dart b/lib/pages/teams_list.dart index 077e555..fd0f0ee 100644 --- a/lib/pages/teams_list.dart +++ b/lib/pages/teams_list.dart @@ -83,7 +83,7 @@ class TeamEntryCard extends StatelessWidget { Widget build(BuildContext context) { return Card( margin: const EdgeInsets.all(4), - color: Theme.of(context).colorScheme.background, + color: Theme.of(context).colorScheme.surface, child: Padding( padding: const EdgeInsets.all(24), child: Column( diff --git a/lib/theme_changer.dart b/lib/theme_changer.dart index 7e25f6a..85e9cd2 100644 --- a/lib/theme_changer.dart +++ b/lib/theme_changer.dart @@ -45,9 +45,9 @@ ThemeData baseTheme( } ThemeData genLightTheme() { - var primary = const Color(0xFF1B1818); - var secondary = const Color(0xFF1B1818); - var buttons = const Color(0xFF1B1818); + var primary = const Color(0xFF0B3B48); + var secondary = const Color(0xFF0B3B48); + var buttons = const Color(0xFF0B3B48); var altbuttons = const Color(0xFF1028F1); var surface = const Color(0xFFE8EAEF); var surface2 = const Color(0xFFA8C2fE); @@ -60,8 +60,7 @@ ThemeData genLightTheme() { tertiary: buttons, //main button color tertiaryContainer: altbuttons, //alt button color surface: surface, //box gradient 1 - surfaceTint: surface2, //box gradient 2 - background: background, + surfaceTint: surface2, error: altbuttons, errorContainer: secondary, //menu buttons onPrimary: background, @@ -69,7 +68,6 @@ ThemeData genLightTheme() { onTertiary: surface, onTertiaryContainer: surface, onSurface: secondary, - onBackground: secondary, onError: secondary, onErrorContainer: background, shadow: shadow, @@ -94,8 +92,7 @@ ThemeData genDarkTheme() { tertiary: buttons, //main button color tertiaryContainer: altbuttons, //alt button color surface: surface, //box gradient 1 - surfaceTint: surface2, //box gradient 2 - background: background, + surfaceTint: surface2, error: buttons, errorContainer: primary, //menu buttons onPrimary: text, @@ -104,7 +101,6 @@ ThemeData genDarkTheme() { onTertiaryContainer: background, onSurface: text, onSurfaceVariant: text, - onBackground: text, onError: text, onErrorContainer: text, shadow: shadow, diff --git a/pubspec.lock b/pubspec.lock index a974703..ecb28d2 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -5,10 +5,10 @@ packages: dependency: transitive description: name: args - sha256: eef6c46b622e0494a36c5a12d10d77fb4e855501a91c1b9ef9339326e58f0596 + sha256: bf9f5caeea8d8fe6721a9c358dd8a5c1947b27f1cfaa18b39c301273594919e6 url: "https://pub.dev" source: hosted - version: "2.4.2" + version: "2.6.0" async: dependency: transitive description: @@ -29,10 +29,10 @@ packages: dependency: "direct main" description: name: carousel_slider - sha256: "9c695cc963bf1d04a47bd6021f68befce8970bcd61d24938e1fb0918cf5d9c42" + sha256: "7b006ec356205054af5beaef62e2221160ea36b90fb70a35e4deacd49d0349ae" url: "https://pub.dev" source: hosted - version: "4.2.1" + version: "5.0.0" characters: dependency: transitive description: @@ -45,10 +45,10 @@ packages: dependency: "direct main" description: name: charcode - sha256: fb98c0f6d12c920a02ee2d998da788bca066ca5f148492b7085ee23372b12306 + sha256: fb0f1107cac15a5ea6ef0a6ef71a807b9e4267c713bb93e00e92d737cc8dbd8a url: "https://pub.dev" source: hosted - version: "1.3.1" + version: "1.4.0" clock: dependency: transitive description: @@ -61,26 +61,26 @@ packages: dependency: transitive 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: name: cross_file - sha256: fedaadfa3a6996f75211d835aaeb8fede285dae94262485698afd832371b9a5e + sha256: "7caf6a750a0c04effbb52a676dce9a4a592e10ad35c34d6d2d0e4811160d5670" url: "https://pub.dev" source: hosted - version: "0.3.3+8" + version: "0.3.4+2" cupertino_icons: dependency: "direct main" description: name: cupertino_icons - sha256: d57953e10f9f8327ce64a508a355f0b1ec902193f66288e8cb5070e7c47eeb2d + sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6 url: "https://pub.dev" source: hosted - version: "1.0.6" + version: "1.0.8" date_time_picker: dependency: "direct main" description: @@ -109,34 +109,34 @@ packages: dependency: transitive description: name: ffi - sha256: "7bf0adc28a23d395f19f3f1eb21dd7cfd1dd9f8e1c50051c069122e6853bc878" + sha256: "16ed7b077ef01ad6170a3d0c57caa4a112a38d7a2ed5602e0aca9ca6f3d98da6" url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.1.3" file: dependency: transitive description: name: file - sha256: "1b92bec4fc2a72f59a8e15af5f52cd441e4a7860b49499d69dfa817af20e925d" + sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c" url: "https://pub.dev" source: hosted - version: "6.1.4" + version: "7.0.0" file_selector_linux: dependency: transitive description: name: file_selector_linux - sha256: "045d372bf19b02aeb69cacf8b4009555fb5f6f0b7ad8016e5f46dd1387ddd492" + sha256: "54cbbd957e1156d29548c7d9b9ec0c0ebb6de0a90452198683a7d23aed617a33" url: "https://pub.dev" source: hosted - version: "0.9.2+1" + version: "0.9.3+2" file_selector_macos: dependency: transitive description: name: file_selector_macos - sha256: b15c3da8bd4908b9918111fa486903f5808e388b8d1c559949f584725a6594d6 + sha256: "271ab9986df0c135d45c3cdb6bd0faa5db6f4976d3e4b437cf7d0f258d941bfc" url: "https://pub.dev" source: hosted - version: "0.9.3+3" + version: "0.9.4+2" file_selector_platform_interface: dependency: transitive description: @@ -149,10 +149,10 @@ packages: dependency: transitive description: name: file_selector_windows - sha256: d3547240c20cabf205c7c7f01a50ecdbc413755814d6677f3cb366f04abcead0 + sha256: "8f5d2f6590d51ecd9179ba39c64f722edc15226cc93dcc8698466ad36a4a85a4" url: "https://pub.dev" source: hosted - version: "0.9.3+1" + version: "0.9.3+3" flutter: dependency: "direct main" description: flutter @@ -175,18 +175,18 @@ packages: dependency: "direct dev" description: name: flutter_lints - sha256: e2a421b7e59244faef694ba7b30562e489c2b489866e505074eb005cd7060db7 + sha256: "9e8c3858111da373efc5aa341de011d9bd23e2c5c5e0c62bccf32438e192d7b1" url: "https://pub.dev" source: hosted - version: "3.0.1" + version: "3.0.2" flutter_plugin_android_lifecycle: dependency: transitive description: name: flutter_plugin_android_lifecycle - sha256: b068ffc46f82a55844acfa4fdbb61fad72fa2aef0905548419d97f0f95c456da + sha256: "615a505aef59b151b46bbeef55b36ce2b6ed299d160c51d84281946f0aa0ce0e" url: "https://pub.dev" source: hosted - version: "2.0.17" + version: "2.0.24" flutter_smart_scan: dependency: "direct main" description: @@ -199,10 +199,10 @@ packages: dependency: "direct main" description: name: flutter_svg - sha256: d39e7f95621fc84376bc0f7d504f05c3a41488c562f4a8ad410569127507402c + sha256: c200fd79c918a40c5cd50ea0877fa13f81bdaf6f0a5d3dbcc2a13e3285d6aa1b url: "https://pub.dev" source: hosted - version: "2.0.9" + version: "2.0.17" flutter_test: dependency: "direct dev" description: flutter @@ -222,74 +222,74 @@ packages: dependency: "direct main" description: name: http - sha256: a2bbf9d017fcced29139daa8ed2bba4ece450ab222871df93ca9eec6f80c34ba + sha256: fe7ab022b76f3034adc518fb6ea04a82387620e19977665ea18d30a1cf43442f url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.3.0" http_parser: dependency: transitive description: name: http_parser - sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" + sha256: "178d74305e7866013777bab2c3d8726205dc5a4dd935297175b19a23a2e66571" url: "https://pub.dev" source: hosted - version: "4.0.2" + version: "4.1.2" image_cropper: dependency: "direct main" description: name: image_cropper - sha256: f4bad5ed2dfff5a7ce0dfbad545b46a945c702bb6182a921488ef01ba7693111 + sha256: "266760ed426d7121f0ada02c672bfe5c1b5c714e908328716aee756f045709dc" url: "https://pub.dev" source: hosted - version: "5.0.1" + version: "8.1.0" image_cropper_for_web: dependency: transitive description: name: image_cropper_for_web - sha256: "865d798b5c9d826f1185b32e5d0018c4183ddb77b7b82a931e1a06aa3b74974e" + sha256: "34256c8fb7fcb233251787c876bb37271744459b593a948a2db73caa323034d0" url: "https://pub.dev" source: hosted - version: "3.0.0" + version: "6.0.2" image_cropper_platform_interface: dependency: transitive description: name: image_cropper_platform_interface - sha256: ee160d686422272aa306125f3b6fb1c1894d9b87a5e20ed33fa008e7285da11e + sha256: e8e9d2ca36360387aee39295ce49029362ae4df3071f23e8e71f2b81e40b7531 url: "https://pub.dev" source: hosted - version: "5.0.0" + version: "7.0.0" image_picker: dependency: "direct main" description: name: image_picker - sha256: "26222b01a0c9a2c8fe02fc90b8208bd3325da5ed1f4a2acabf75939031ac0bdd" + sha256: "021834d9c0c3de46bf0fe40341fa07168407f694d9b2bb18d532dc1261867f7a" url: "https://pub.dev" source: hosted - version: "1.0.7" + version: "1.1.2" image_picker_android: dependency: transitive description: name: image_picker_android - sha256: "39f2bfe497e495450c81abcd44b62f56c2a36a37a175da7d137b4454977b51b1" + sha256: b62d34a506e12bb965e824b6db4fbf709ee4589cf5d3e99b45ab2287b008ee0c url: "https://pub.dev" source: hosted - version: "0.8.9+3" + version: "0.8.12+20" image_picker_for_web: dependency: transitive description: name: image_picker_for_web - sha256: e2423c53a68b579a7c37a1eda967b8ae536c3d98518e5db95ca1fe5719a730a3 + sha256: "717eb042ab08c40767684327be06a5d8dbb341fe791d514e4b92c7bbe1b7bb83" url: "https://pub.dev" source: hosted - version: "3.0.2" + version: "3.0.6" image_picker_ios: dependency: transitive description: name: image_picker_ios - sha256: fadafce49e8569257a0cad56d24438a6fa1f0cbd7ee0af9b631f7492818a4ca3 + sha256: "05da758e67bc7839e886b3959848aa6b44ff123ab4b28f67891008afe8ef9100" url: "https://pub.dev" source: hosted - version: "0.8.9+1" + version: "0.8.12+2" image_picker_linux: dependency: transitive description: @@ -302,18 +302,18 @@ packages: dependency: transitive description: name: image_picker_macos - sha256: "3f5ad1e8112a9a6111c46d0b57a7be2286a9a07fc6e1976fdf5be2bd31d4ff62" + sha256: "1b90ebbd9dcf98fb6c1d01427e49a55bd96b5d67b8c67cf955d60a5de74207c1" url: "https://pub.dev" source: hosted - version: "0.2.1+1" + version: "0.2.1+2" image_picker_platform_interface: dependency: transitive description: name: image_picker_platform_interface - sha256: fa4e815e6fcada50e35718727d83ba1c92f1edf95c0b4436554cec301b56233b + sha256: "886d57f0be73c4b140004e78b9f28a8914a09e50c2d816bdd0520051a71236a0" url: "https://pub.dev" source: hosted - version: "2.9.3" + version: "2.10.1" image_picker_windows: dependency: transitive description: @@ -335,22 +335,38 @@ packages: url: "https://pub.dev" source: hosted version: "0.17.0" - js: + json_annotation: + dependency: "direct main" + description: + name: json_annotation + sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1" + url: "https://pub.dev" + source: hosted + version: "4.9.0" + leak_tracker: dependency: transitive description: - name: js - sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3 + name: leak_tracker + sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06" url: "https://pub.dev" source: hosted - version: "0.6.7" - json_annotation: - dependency: "direct main" + version: "10.0.7" + leak_tracker_flutter_testing: + dependency: transitive description: - name: json_annotation - sha256: b10a7b2ff83d83c777edba3c6a0f97045ddadd56c944e1a23a3fdf43a1bf4467 + name: leak_tracker_flutter_testing + sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379" url: "https://pub.dev" source: hosted - version: "4.8.1" + version: "3.0.8" + leak_tracker_testing: + dependency: transitive + description: + name: leak_tracker_testing + sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" + url: "https://pub.dev" + source: hosted + version: "3.0.1" lints: dependency: transitive description: @@ -363,34 +379,34 @@ packages: dependency: transitive description: name: matcher - sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" + sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted - version: "0.12.16" + version: "0.12.16+1" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" + sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec url: "https://pub.dev" source: hosted - version: "0.5.0" + version: "0.11.1" meta: dependency: transitive description: name: meta - sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e + sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7 url: "https://pub.dev" source: hosted - version: "1.10.0" + version: "1.15.0" mime: dependency: transitive description: name: mime - sha256: "2e123074287cc9fd6c09de8336dae606d1ddb88d9ac47358826db698c176a1f2" + sha256: "801fd0b26f14a4a58ccb09d5892c3fbdeff209594300a542492cf13fba9d247a" url: "https://pub.dev" source: hosted - version: "1.0.5" + version: "1.0.6" nested: dependency: transitive description: @@ -403,18 +419,18 @@ packages: dependency: transitive description: name: path - sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" + sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted - version: "1.8.3" + version: "1.9.0" path_parsing: dependency: transitive description: name: path_parsing - sha256: e3e67b1629e6f7e8100b367d3db6ba6af4b1f0bb80f64db18ef1fbabd2fa9ccf + sha256: "883402936929eac138ee0a45da5b0f2c80f89913e6dc3bf77eb65b84b409c6ca" url: "https://pub.dev" source: hosted - version: "1.0.1" + version: "1.1.0" path_provider_linux: dependency: transitive description: @@ -435,10 +451,10 @@ packages: dependency: transitive description: name: path_provider_windows - sha256: "8bc9f22eee8690981c22aa7fc602f5c85b497a6fb2ceb35ee5a5e5ed85ad8170" + sha256: bd6f00dbd873bfb70d0761682da2b3a2c2fccc2b9e84c495821639601d81afe7 url: "https://pub.dev" source: hosted - version: "2.2.1" + version: "2.3.0" petitparser: dependency: transitive description: @@ -451,10 +467,10 @@ packages: dependency: transitive description: name: platform - sha256: ae68c7bfcd7383af3629daafb32fb4e8681c7154428da4febcff06200585f102 + sha256: "9b71283fc13df574056616011fb138fd3b793ea47cc509c189a6c3fa5f8a1a65" url: "https://pub.dev" source: hosted - version: "3.1.2" + version: "3.1.5" plugin_platform_interface: dependency: transitive description: @@ -467,26 +483,26 @@ packages: dependency: transitive description: name: process - sha256: "53fd8db9cec1d37b0574e12f07520d582019cb6c44abf5479a01505099a34a09" + sha256: "21e54fd2faf1b5bdd5102afd25012184a6793927648ea81eea80552ac9405b32" url: "https://pub.dev" source: hosted - version: "4.2.4" + version: "5.0.2" provider: dependency: "direct main" description: name: provider - sha256: "9a96a0a19b594dbc5bf0f1f27d2bc67d5f95957359b461cd9feb44ed6ae75096" + sha256: c8a055ee5ce3fd98d6fc872478b03823ffdb448699c6ebdbbc71d59b596fd48c url: "https://pub.dev" source: hosted - version: "6.1.1" + version: "6.1.2" qr: dependency: transitive description: name: qr - sha256: "64957a3930367bf97cc211a5af99551d630f2f4625e38af10edd6b19131b64b3" + sha256: "5a1d2586170e172b8a8c8470bbbffd5eb0cd38a66c0d77155ea138d3af3a4445" url: "https://pub.dev" source: hosted - version: "3.0.1" + version: "3.0.2" qr_flutter: dependency: "direct main" description: @@ -507,63 +523,63 @@ packages: dependency: "direct main" description: name: shared_preferences - sha256: "81429e4481e1ccfb51ede496e916348668fd0921627779233bd24cc3ff6abd02" + sha256: c59819dacc6669a1165d54d2735a9543f136f9b3cec94ca65cea6ab8dffc422e url: "https://pub.dev" source: hosted - version: "2.2.2" + version: "2.4.0" shared_preferences_android: dependency: transitive description: name: shared_preferences_android - sha256: "8568a389334b6e83415b6aae55378e158fbc2314e074983362d20c562780fb06" + sha256: "986dc7b7d14f38064bfa85ace28df1f1a66d4fba32e4b1079d4ea537d9541b01" url: "https://pub.dev" source: hosted - version: "2.2.1" + version: "2.4.3" shared_preferences_foundation: dependency: transitive description: name: shared_preferences_foundation - sha256: "7708d83064f38060c7b39db12aefe449cb8cdc031d6062280087bc4cdb988f5c" + sha256: "6a52cfcdaeac77cad8c97b539ff688ccfc458c007b4db12be584fbe5c0e49e03" url: "https://pub.dev" source: hosted - version: "2.3.5" + version: "2.5.4" shared_preferences_linux: dependency: transitive description: name: shared_preferences_linux - sha256: "9f2cbcf46d4270ea8be39fa156d86379077c8a5228d9dfdb1164ae0bb93f1faa" + sha256: "580abfd40f415611503cae30adf626e6656dfb2f0cee8f465ece7b6defb40f2f" url: "https://pub.dev" source: hosted - version: "2.3.2" + version: "2.4.1" shared_preferences_platform_interface: dependency: transitive description: name: shared_preferences_platform_interface - sha256: "22e2ecac9419b4246d7c22bfbbda589e3acf5c0351137d87dd2939d984d37c3b" + sha256: "57cbf196c486bc2cf1f02b85784932c6094376284b3ad5779d1b1c6c6a816b80" url: "https://pub.dev" source: hosted - version: "2.3.2" + version: "2.4.1" shared_preferences_web: dependency: transitive description: name: shared_preferences_web - sha256: "7b15ffb9387ea3e237bb7a66b8a23d2147663d391cafc5c8f37b2e7b4bde5d21" + sha256: d2ca4132d3946fec2184261726b355836a82c33d7d5b67af32692aff18a4684e url: "https://pub.dev" source: hosted - version: "2.2.2" + version: "2.4.2" shared_preferences_windows: dependency: transitive description: name: shared_preferences_windows - sha256: "841ad54f3c8381c480d0c9b508b89a34036f512482c407e6df7a9c4aa2ef8f59" + sha256: "94ef0f72b2d71bc3e700e025db3710911bd51a71cefb65cc609dd0d9a982e3c1" url: "https://pub.dev" source: hosted - version: "2.3.2" + version: "2.4.1" sky_engine: dependency: transitive description: flutter source: sdk - version: "0.0.99" + version: "0.0.0" source_span: dependency: transitive description: @@ -576,10 +592,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: @@ -592,10 +608,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" sync_http: dependency: transitive description: @@ -616,106 +632,106 @@ packages: dependency: transitive description: name: test_api - sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" + sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c" url: "https://pub.dev" source: hosted - version: "0.6.1" + version: "0.7.3" typed_data: dependency: transitive description: name: typed_data - sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c + sha256: f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006 url: "https://pub.dev" source: hosted - version: "1.3.2" + version: "1.4.0" url_launcher: dependency: "direct main" description: name: url_launcher - sha256: c512655380d241a337521703af62d2c122bf7b77a46ff7dd750092aa9433499c + sha256: "9d06212b1362abc2f0f0d78e6f09f726608c74e3b9462e8368bb03314aa8d603" url: "https://pub.dev" source: hosted - version: "6.2.4" + version: "6.3.1" url_launcher_android: dependency: transitive description: name: url_launcher_android - sha256: "507dc655b1d9cb5ebc756032eb785f114e415f91557b73bf60b7e201dfedeb2f" + sha256: "6fc2f56536ee873eeb867ad176ae15f304ccccc357848b351f6f0d8d4a40d193" url: "https://pub.dev" source: hosted - version: "6.2.2" + version: "6.3.14" url_launcher_ios: - dependency: transitive + dependency: "direct main" description: name: url_launcher_ios - sha256: "75bb6fe3f60070407704282a2d295630cab232991eb52542b18347a8a941df03" + sha256: "16a513b6c12bb419304e72ea0ae2ab4fed569920d1c7cb850263fe3acc824626" url: "https://pub.dev" source: hosted - version: "6.2.4" + version: "6.3.2" url_launcher_linux: dependency: transitive description: name: url_launcher_linux - sha256: ab360eb661f8879369acac07b6bb3ff09d9471155357da8443fd5d3cf7363811 + sha256: "4e9ba368772369e3e08f231d2301b4ef72b9ff87c31192ef471b380ef29a4935" url: "https://pub.dev" source: hosted - version: "3.1.1" + version: "3.2.1" url_launcher_macos: dependency: transitive description: name: url_launcher_macos - sha256: b7244901ea3cf489c5335bdacda07264a6e960b1c1b1a9f91e4bc371d9e68234 + sha256: "17ba2000b847f334f16626a574c702b196723af2a289e7a93ffcb79acff855c2" url: "https://pub.dev" source: hosted - version: "3.1.0" + version: "3.2.2" url_launcher_platform_interface: dependency: transitive description: name: url_launcher_platform_interface - sha256: a932c3a8082e118f80a475ce692fde89dc20fddb24c57360b96bc56f7035de1f + sha256: "552f8a1e663569be95a8190206a38187b531910283c3e982193e4f2733f01029" url: "https://pub.dev" source: hosted - version: "2.3.1" + version: "2.3.2" url_launcher_web: dependency: transitive description: name: url_launcher_web - sha256: fff0932192afeedf63cdd50ecbb1bc825d31aed259f02bb8dba0f3b729a5e88b + sha256: "3ba963161bd0fe395917ba881d320b9c4f6dd3c4a233da62ab18a5025c85f1e9" url: "https://pub.dev" source: hosted - version: "2.2.3" + version: "2.4.0" url_launcher_windows: dependency: transitive description: name: url_launcher_windows - sha256: ecf9725510600aa2bb6d7ddabe16357691b6d2805f66216a97d1b881e21beff7 + sha256: "3284b6d2ac454cf34f114e1d3319866fdd1e19cdc329999057e44ffe936cfa77" url: "https://pub.dev" source: hosted - version: "3.1.1" + version: "3.1.4" vector_graphics: dependency: transitive description: name: vector_graphics - sha256: "18f6690295af52d081f6808f2f7c69f0eed6d7e23a71539d75f4aeb8f0062172" + sha256: "27d5fefe86fb9aace4a9f8375b56b3c292b64d8c04510df230f849850d912cb7" url: "https://pub.dev" source: hosted - version: "1.1.9+2" + version: "1.1.15" vector_graphics_codec: dependency: transitive description: name: vector_graphics_codec - sha256: "531d20465c10dfac7f5cd90b60bbe4dd9921f1ec4ca54c83ebb176dbacb7bb2d" + sha256: "99fd9fbd34d9f9a32efd7b6a6aae14125d8237b10403b422a6a6dfeac2806146" url: "https://pub.dev" source: hosted - version: "1.1.9+2" + version: "1.1.13" vector_graphics_compiler: dependency: transitive description: name: vector_graphics_compiler - sha256: "03012b0a33775c5530576b70240308080e1d5050f0faf000118c20e6463bc0ad" + sha256: "1b4b9e706a10294258727674a340ae0d6e64a7231980f9f9a3d12e4b42407aad" url: "https://pub.dev" source: hosted - version: "1.1.9+2" + version: "1.1.16" vector_math: dependency: transitive description: @@ -728,42 +744,34 @@ packages: dependency: transitive description: name: vm_service - sha256: c538be99af830f478718b51630ec1b6bee5e74e52c8a802d328d9e71d35d2583 + sha256: f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b url: "https://pub.dev" source: hosted - version: "11.10.0" + version: "14.3.0" web: dependency: transitive description: name: web - sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152 + sha256: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb url: "https://pub.dev" source: hosted - version: "0.3.0" + version: "1.1.0" webdriver: dependency: transitive description: name: webdriver - sha256: "3c923e918918feeb90c4c9fdf1fe39220fa4c0e8e2c0fffaded174498ef86c49" + sha256: "3d773670966f02a646319410766d3b5e1037efb7f07cc68f844d5e06cd4d61c8" url: "https://pub.dev" source: hosted - version: "3.0.2" - win32: - dependency: transitive - description: - name: win32 - sha256: "464f5674532865248444b4c3daca12bd9bf2d7c47f759ce2617986e7229494a8" - url: "https://pub.dev" - source: hosted - version: "5.2.0" + version: "3.0.4" xdg_directories: dependency: transitive description: name: xdg_directories - sha256: faea9dee56b520b55a566385b84f2e8de55e7496104adada9962e0bd11bcff1d + sha256: "7a3f37b05d989967cdddcbb571f1ea834867ae2faa29725fd085180e0883aa15" url: "https://pub.dev" source: hosted - version: "1.0.4" + version: "1.1.0" xml: dependency: transitive description: @@ -773,5 +781,5 @@ packages: source: hosted version: "6.5.0" sdks: - dart: ">=3.2.0 <4.0.0" - flutter: ">=3.16.0" + dart: ">=3.6.0 <4.0.0" + flutter: ">=3.27.0" diff --git a/pubspec.yaml b/pubspec.yaml index 936dd28..3bef24b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,7 +11,7 @@ description: TartanHacks app # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 4.0.7 +version: 5.0.0+1 environment: sdk: ">=2.12.2 <3.0.0" @@ -27,7 +27,8 @@ dependencies: cupertino_icons: ^1.0.6 http: ^1.2.0 shared_preferences: ^2.2.2 - url_launcher: ^6.2.4 + url_launcher: ^6.3.1 + url_launcher_ios: ^6.3.2 flutter_countdown_timer: ^4.1.0 intl: ^0.17.0 share: ^2.0.4 @@ -36,11 +37,11 @@ dependencies: flutter_smart_scan: ^1.0.4 json_annotation: ^4.8.1 charcode: ^1.2.0 - carousel_slider: ^4.2.1 + carousel_slider: ^5.0.0 flutter_svg: ^2.0.9 decorated_icon: ^1.2.1 image_picker: - image_cropper: ^5.0.1 + image_cropper: ^8.1.0 dev_dependencies: flutter_lints: ^3.0.1