From b4092837d238eca01d267f3fe971b2bc4166e911 Mon Sep 17 00:00:00 2001 From: Sergey Elpashev Date: Sat, 11 May 2024 16:11:19 +0300 Subject: [PATCH] Gradle SDK vers --- android/app/build.gradle | 4 ++-- lib/states/mobile.dart | 2 +- pubspec.yaml | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 40841d1..68dcef1 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -24,7 +24,7 @@ if (flutterVersionName == null) { android { namespace "com.example.flutter_application_1" - compileSdk flutter.compileSdkVersion + compileSdk 34 ndkVersion flutter.ndkVersion compileOptions { @@ -45,7 +45,7 @@ android { applicationId "com.example.flutter_application_1" // You can update the following values to match your application needs. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. - minSdkVersion flutter.minSdkVersion + minSdkVersion 21 targetSdkVersion flutter.targetSdkVersion versionCode flutterVersionCode.toInteger() versionName flutterVersionName diff --git a/lib/states/mobile.dart b/lib/states/mobile.dart index 1e6dfaf..06802bd 100644 --- a/lib/states/mobile.dart +++ b/lib/states/mobile.dart @@ -6,7 +6,7 @@ import 'package:gymlink_module_web/theme.dart'; class MyAppStateMobile extends State { bool _isLoading = true; ThemeData theme = myTheme; - bool black_theme = false; + bool black_theme = true; @override Widget build(BuildContext context) { diff --git a/pubspec.yaml b/pubspec.yaml index d06427e..9ad645c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -39,6 +39,7 @@ dependencies: shared_preferences: ^2.2.3 flutter_markdown: ^0.7.1 http: ^1.2.1 + universal_html: ^2.2.4 dev_dependencies: flutter_test: