From 5e227f35ec8192f62b11158f6963163ad705f960 Mon Sep 17 00:00:00 2001 From: lordvidex Date: Sun, 6 Mar 2022 01:28:44 +0300 Subject: [PATCH 01/10] added onboarding widgets --- README.md | 2 + android/app/build.gradle | 6 +- android/app/src/main/AndroidManifest.xml | 11 +- .../app/src/main/res/values-night/styles.xml | 2 +- android/app/src/main/res/values/styles.xml | 2 +- android/build.gradle | 4 +- assets/svgs/onboarding_1.svg | 96 +++++ assets/svgs/onboarding_2.svg | 121 ++++++ lib/core/constants.dart | 5 + lib/core/route.dart | 12 + lib/core/route.gr.dart | 53 +++ lib/injection_container.dart | 9 + lib/main.dart | 43 +- lib/screens/onboarding_screen.dart | 100 +++++ pubspec.lock | 403 +++++++++++++++++- pubspec.yaml | 20 +- 16 files changed, 836 insertions(+), 53 deletions(-) create mode 100644 assets/svgs/onboarding_1.svg create mode 100644 assets/svgs/onboarding_2.svg create mode 100644 lib/core/constants.dart create mode 100644 lib/core/route.dart create mode 100644 lib/core/route.gr.dart create mode 100644 lib/injection_container.dart create mode 100644 lib/screens/onboarding_screen.dart diff --git a/README.md b/README.md index b74add8..db0709e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # Boayant + + Boayant mobile App [Android / iOS ] diff --git a/android/app/build.gradle b/android/app/build.gradle index 46b3d7b..d029110 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { - compileSdkVersion 30 + compileSdkVersion flutter.compileSdkVersion compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 @@ -44,8 +44,8 @@ android { defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.example.boayant" - minSdkVersion 16 - targetSdkVersion 30 + minSdkVersion flutter.minSdkVersion + targetSdkVersion flutter.targetSdkVersion versionCode flutterVersionCode.toInteger() versionName flutterVersionName } diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 1b69243..98f5015 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -2,9 +2,11 @@ package="com.example.boayant"> - - diff --git a/android/app/src/main/res/values-night/styles.xml b/android/app/src/main/res/values-night/styles.xml index 449a9f9..3db14bb 100644 --- a/android/app/src/main/res/values-night/styles.xml +++ b/android/app/src/main/res/values-night/styles.xml @@ -10,7 +10,7 @@ This theme determines the color of the Android Window while your Flutter UI initializes, as well as behind your Flutter UI while its running. - + This Theme is only used starting with V2 of Flutter's Android embedding. -->