├── .gitignore
├── .metadata
├── README.md
├── analysis_options.yaml
├── android
├── .gitignore
├── app
│ ├── build.gradle
│ └── src
│ │ ├── debug
│ │ └── AndroidManifest.xml
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── kotlin
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── aris_language_learning
│ │ │ │ └── MainActivity.kt
│ │ └── res
│ │ │ ├── drawable-v21
│ │ │ └── launch_background.xml
│ │ │ ├── drawable
│ │ │ └── launch_background.xml
│ │ │ ├── mipmap-hdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── values-night
│ │ │ └── styles.xml
│ │ │ └── values
│ │ │ └── styles.xml
│ │ └── profile
│ │ └── AndroidManifest.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
└── settings.gradle
├── assets
├── images
│ ├── course-1.png
│ ├── course-2.png
│ ├── course-3.png
│ ├── course-4.png
│ ├── course-5.png
│ ├── england.png
│ ├── germany.png
│ ├── home.png
│ ├── italy.png
│ ├── korea.png
│ ├── lesson.png
│ ├── person-1.png
│ ├── person-2.png
│ ├── person-3.png
│ ├── poland.png
│ ├── profile.png
│ └── spain.png
└── svg
│ └── google.svg
├── ios
├── .gitignore
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ ├── IDEWorkspaceChecks.plist
│ │ │ └── WorkspaceSettings.xcsettings
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ ├── IDEWorkspaceChecks.plist
│ │ └── WorkspaceSettings.xcsettings
└── Runner
│ ├── AppDelegate.swift
│ ├── Assets.xcassets
│ ├── AppIcon.appiconset
│ │ ├── Contents.json
│ │ ├── Icon-App-1024x1024@1x.png
│ │ ├── Icon-App-20x20@1x.png
│ │ ├── Icon-App-20x20@2x.png
│ │ ├── Icon-App-20x20@3x.png
│ │ ├── Icon-App-29x29@1x.png
│ │ ├── Icon-App-29x29@2x.png
│ │ ├── Icon-App-29x29@3x.png
│ │ ├── Icon-App-40x40@1x.png
│ │ ├── Icon-App-40x40@2x.png
│ │ ├── Icon-App-40x40@3x.png
│ │ ├── Icon-App-60x60@2x.png
│ │ ├── Icon-App-60x60@3x.png
│ │ ├── Icon-App-76x76@1x.png
│ │ ├── Icon-App-76x76@2x.png
│ │ └── Icon-App-83.5x83.5@2x.png
│ └── LaunchImage.imageset
│ │ ├── Contents.json
│ │ ├── LaunchImage.png
│ │ ├── LaunchImage@2x.png
│ │ ├── LaunchImage@3x.png
│ │ └── README.md
│ ├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
│ ├── Info.plist
│ └── Runner-Bridging-Header.h
├── lib
├── constants.dart
├── main.dart
├── models
│ ├── course_model.dart
│ ├── instructor_model.dart
│ ├── language_model.dart
│ ├── lesson_model.dart
│ └── topic_model.dart
├── pages
│ ├── choose_language.dart
│ ├── create_account.dart
│ ├── dashboard.dart
│ ├── home.dart
│ └── lesson_screen.dart
└── widgets
│ ├── border_text_field.dart
│ ├── bottom_bar.dart
│ ├── course_card.dart
│ ├── instructor_card.dart
│ ├── language_selector.dart
│ ├── lesson_card.dart
│ ├── primary_button.dart
│ ├── social_logins.dart
│ ├── topic_card.dart
│ ├── topics_list.dart
│ └── user_menu_bar.dart
├── pubspec.lock
├── pubspec.yaml
├── test
└── widget_test.dart
└── web
├── favicon.png
├── icons
├── Icon-192.png
├── Icon-512.png
├── Icon-maskable-192.png
└── Icon-maskable-512.png
├── index.html
└── manifest.json
/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 |
12 | # IntelliJ related
13 | *.iml
14 | *.ipr
15 | *.iws
16 | .idea/
17 |
18 | # The .vscode folder contains launch configuration and tasks you configure in
19 | # VS Code which you may wish to be included in version control, so this line
20 | # is commented out by default.
21 | #.vscode/
22 |
23 | # Flutter/Dart/Pub related
24 | **/doc/api/
25 | **/ios/Flutter/.last_build_id
26 | .dart_tool/
27 | .flutter-plugins
28 | .flutter-plugins-dependencies
29 | .packages
30 | .pub-cache/
31 | .pub/
32 | /build/
33 |
34 | # Web related
35 | lib/generated_plugin_registrant.dart
36 |
37 | # Symbolication related
38 | app.*.symbols
39 |
40 | # Obfuscation related
41 | app.*.map.json
42 |
43 | # Android Studio will place build artifacts here
44 | /android/app/debug
45 | /android/app/profile
46 | /android/app/release
47 |
--------------------------------------------------------------------------------
/.metadata:
--------------------------------------------------------------------------------
1 | # This file tracks properties of this Flutter project.
2 | # Used by Flutter tool to assess capabilities and perform upgrades etc.
3 | #
4 | # This file should be version controlled and should not be manually edited.
5 |
6 | version:
7 | revision: 1a594e55d16c06869a6b4245d211fd348445322b
8 | channel: master
9 |
10 | project_type: app
11 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # 🔥 🔥 Language Learning Flutter UI Kit 🔥 🔥 💫 ⭐️ ⭐️ 👨💻
2 |
3 | Free Flutter UI Kits based on designs on UpLabs 💓.
4 | Repo will be updated daily with new beautiful UI Kits.
5 |
6 | Complete flutter projects are available on my
7 |
8 | PRs are welcomed. Issues are welcomed too.
9 |
10 | Send me UI suggestions for any uplabs project on
11 |
12 | ### Support App
13 |
14 | > ⭐️ Star the repo to show support. ⭐️
15 |
16 | > You can also support the project by buying me a cup of coffee ☕️.
17 |
18 | >
19 |
20 | Or Support me on Patreon
21 |
22 |
23 |
24 | ### 💻 Requirements
25 |
26 | - Any Operating System (MacOS, Linux, Windows)
27 | - Any IDE with Flutter SDK installed (Android Studio, VSCode etc)
28 | - A little knowledge of Dart and Flutter
29 |
30 | ### Screenshots
31 |
32 |    
33 |
34 | 
35 |
--------------------------------------------------------------------------------
/analysis_options.yaml:
--------------------------------------------------------------------------------
1 | # This file configures the analyzer, which statically analyzes Dart code to
2 | # check for errors, warnings, and lints.
3 | #
4 | # The issues identified by the analyzer are surfaced in the UI of Dart-enabled
5 | # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
6 | # invoked from the command line by running `flutter analyze`.
7 |
8 | # The following line activates a set of recommended lints for Flutter apps,
9 | # packages, and plugins designed to encourage good coding practices.
10 | include: package:flutter_lints/flutter.yaml
11 |
12 | linter:
13 | # The lint rules applied to this project can be customized in the
14 | # section below to disable rules from the `package:flutter_lints/flutter.yaml`
15 | # included above or to enable additional rules. A list of all available lints
16 | # and their documentation is published at
17 | # https://dart-lang.github.io/linter/lints/index.html.
18 | #
19 | # Instead of disabling a lint rule for the entire project in the
20 | # section below, it can also be suppressed for a single line of code
21 | # or a specific dart file by using the `// ignore: name_of_lint` and
22 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file
23 | # producing the lint.
24 | rules:
25 | # avoid_print: false # Uncomment to disable the `avoid_print` rule
26 | # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
27 |
28 | # Additional information about this file can be found at
29 | # https://dart.dev/guides/language/analysis-options
30 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
9 | # Remember to never publicly share your keystore.
10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11 | key.properties
12 | **/*.keystore
13 | **/*.jks
14 |
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | def localProperties = new Properties()
2 | def localPropertiesFile = rootProject.file('local.properties')
3 | if (localPropertiesFile.exists()) {
4 | localPropertiesFile.withReader('UTF-8') { reader ->
5 | localProperties.load(reader)
6 | }
7 | }
8 |
9 | def flutterRoot = localProperties.getProperty('flutter.sdk')
10 | if (flutterRoot == null) {
11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12 | }
13 |
14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15 | if (flutterVersionCode == null) {
16 | flutterVersionCode = '1'
17 | }
18 |
19 | def flutterVersionName = localProperties.getProperty('flutter.versionName')
20 | if (flutterVersionName == null) {
21 | flutterVersionName = '1.0'
22 | }
23 |
24 | apply plugin: 'com.android.application'
25 | apply plugin: 'kotlin-android'
26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27 |
28 | android {
29 | compileSdkVersion flutter.compileSdkVersion
30 |
31 | compileOptions {
32 | sourceCompatibility JavaVersion.VERSION_1_8
33 | targetCompatibility JavaVersion.VERSION_1_8
34 | }
35 |
36 | kotlinOptions {
37 | jvmTarget = '1.8'
38 | }
39 |
40 | sourceSets {
41 | main.java.srcDirs += 'src/main/kotlin'
42 | }
43 |
44 | defaultConfig {
45 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
46 | applicationId "com.example.aris_language_learning"
47 | minSdkVersion flutter.minSdkVersion
48 | targetSdkVersion flutter.targetSdkVersion
49 | versionCode flutterVersionCode.toInteger()
50 | versionName flutterVersionName
51 | }
52 |
53 | buildTypes {
54 | release {
55 | // TODO: Add your own signing config for the release build.
56 | // Signing with the debug keys for now, so `flutter run --release` works.
57 | signingConfig signingConfigs.debug
58 | }
59 | }
60 | }
61 |
62 | flutter {
63 | source '../..'
64 | }
65 |
66 | dependencies {
67 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
68 | }
69 |
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
7 |
15 |
19 |
23 |
24 |
25 |
26 |
27 |
28 |
30 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/com/example/aris_language_learning/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.example.aris_language_learning
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity: FlutterActivity() {
6 | }
7 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-v21/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values-night/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.6.10'
3 | repositories {
4 | google()
5 | mavenCentral()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:4.1.0'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 | }
12 | }
13 |
14 | allprojects {
15 | repositories {
16 | google()
17 | mavenCentral()
18 | }
19 | }
20 |
21 | rootProject.buildDir = '../build'
22 | subprojects {
23 | project.buildDir = "${rootProject.buildDir}/${project.name}"
24 | }
25 | subprojects {
26 | project.evaluationDependsOn(':app')
27 | }
28 |
29 | task clean(type: Delete) {
30 | delete rootProject.buildDir
31 | }
32 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.useAndroidX=true
3 | android.enableJetifier=true
4 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Jun 23 08:50:38 CEST 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
7 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
4 | def properties = new Properties()
5 |
6 | assert localPropertiesFile.exists()
7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
8 |
9 | def flutterSdkPath = properties.getProperty("flutter.sdk")
10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
12 |
--------------------------------------------------------------------------------
/assets/images/course-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/assets/images/course-1.png
--------------------------------------------------------------------------------
/assets/images/course-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/assets/images/course-2.png
--------------------------------------------------------------------------------
/assets/images/course-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/assets/images/course-3.png
--------------------------------------------------------------------------------
/assets/images/course-4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/assets/images/course-4.png
--------------------------------------------------------------------------------
/assets/images/course-5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/assets/images/course-5.png
--------------------------------------------------------------------------------
/assets/images/england.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/assets/images/england.png
--------------------------------------------------------------------------------
/assets/images/germany.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/assets/images/germany.png
--------------------------------------------------------------------------------
/assets/images/home.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/assets/images/home.png
--------------------------------------------------------------------------------
/assets/images/italy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/assets/images/italy.png
--------------------------------------------------------------------------------
/assets/images/korea.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/assets/images/korea.png
--------------------------------------------------------------------------------
/assets/images/lesson.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/assets/images/lesson.png
--------------------------------------------------------------------------------
/assets/images/person-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/assets/images/person-1.png
--------------------------------------------------------------------------------
/assets/images/person-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/assets/images/person-2.png
--------------------------------------------------------------------------------
/assets/images/person-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/assets/images/person-3.png
--------------------------------------------------------------------------------
/assets/images/poland.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/assets/images/poland.png
--------------------------------------------------------------------------------
/assets/images/profile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/assets/images/profile.png
--------------------------------------------------------------------------------
/assets/images/spain.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/assets/images/spain.png
--------------------------------------------------------------------------------
/assets/svg/google.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | **/dgph
2 | *.mode1v3
3 | *.mode2v3
4 | *.moved-aside
5 | *.pbxuser
6 | *.perspectivev3
7 | **/*sync/
8 | .sconsign.dblite
9 | .tags*
10 | **/.vagrant/
11 | **/DerivedData/
12 | Icon?
13 | **/Pods/
14 | **/.symlinks/
15 | profile
16 | xcuserdata
17 | **/.generated/
18 | Flutter/App.framework
19 | Flutter/Flutter.framework
20 | Flutter/Flutter.podspec
21 | Flutter/Generated.xcconfig
22 | Flutter/ephemeral/
23 | Flutter/app.flx
24 | Flutter/app.zip
25 | Flutter/flutter_assets/
26 | Flutter/flutter_export_environment.sh
27 | ServiceDefinitions.json
28 | Runner/GeneratedPluginRegistrant.*
29 |
30 | # Exceptions to above rules.
31 | !default.mode1v3
32 | !default.mode2v3
33 | !default.pbxuser
34 | !default.perspectivev3
35 |
--------------------------------------------------------------------------------
/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 9.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 50;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
12 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
13 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
14 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
15 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
16 | /* End PBXBuildFile section */
17 |
18 | /* Begin PBXCopyFilesBuildPhase section */
19 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
20 | isa = PBXCopyFilesBuildPhase;
21 | buildActionMask = 2147483647;
22 | dstPath = "";
23 | dstSubfolderSpec = 10;
24 | files = (
25 | );
26 | name = "Embed Frameworks";
27 | runOnlyForDeploymentPostprocessing = 0;
28 | };
29 | /* End PBXCopyFilesBuildPhase section */
30 |
31 | /* Begin PBXFileReference section */
32 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
33 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
34 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
35 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
36 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
37 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
38 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
39 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
40 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
41 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
42 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
43 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
44 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
45 | /* End PBXFileReference section */
46 |
47 | /* Begin PBXFrameworksBuildPhase section */
48 | 97C146EB1CF9000F007C117D /* Frameworks */ = {
49 | isa = PBXFrameworksBuildPhase;
50 | buildActionMask = 2147483647;
51 | files = (
52 | );
53 | runOnlyForDeploymentPostprocessing = 0;
54 | };
55 | /* End PBXFrameworksBuildPhase section */
56 |
57 | /* Begin PBXGroup section */
58 | 9740EEB11CF90186004384FC /* Flutter */ = {
59 | isa = PBXGroup;
60 | children = (
61 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
62 | 9740EEB21CF90195004384FC /* Debug.xcconfig */,
63 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
64 | 9740EEB31CF90195004384FC /* Generated.xcconfig */,
65 | );
66 | name = Flutter;
67 | sourceTree = "";
68 | };
69 | 97C146E51CF9000F007C117D = {
70 | isa = PBXGroup;
71 | children = (
72 | 9740EEB11CF90186004384FC /* Flutter */,
73 | 97C146F01CF9000F007C117D /* Runner */,
74 | 97C146EF1CF9000F007C117D /* Products */,
75 | );
76 | sourceTree = "";
77 | };
78 | 97C146EF1CF9000F007C117D /* Products */ = {
79 | isa = PBXGroup;
80 | children = (
81 | 97C146EE1CF9000F007C117D /* Runner.app */,
82 | );
83 | name = Products;
84 | sourceTree = "";
85 | };
86 | 97C146F01CF9000F007C117D /* Runner */ = {
87 | isa = PBXGroup;
88 | children = (
89 | 97C146FA1CF9000F007C117D /* Main.storyboard */,
90 | 97C146FD1CF9000F007C117D /* Assets.xcassets */,
91 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
92 | 97C147021CF9000F007C117D /* Info.plist */,
93 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
94 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
95 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
96 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
97 | );
98 | path = Runner;
99 | sourceTree = "";
100 | };
101 | /* End PBXGroup section */
102 |
103 | /* Begin PBXNativeTarget section */
104 | 97C146ED1CF9000F007C117D /* Runner */ = {
105 | isa = PBXNativeTarget;
106 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
107 | buildPhases = (
108 | 9740EEB61CF901F6004384FC /* Run Script */,
109 | 97C146EA1CF9000F007C117D /* Sources */,
110 | 97C146EB1CF9000F007C117D /* Frameworks */,
111 | 97C146EC1CF9000F007C117D /* Resources */,
112 | 9705A1C41CF9048500538489 /* Embed Frameworks */,
113 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
114 | );
115 | buildRules = (
116 | );
117 | dependencies = (
118 | );
119 | name = Runner;
120 | productName = Runner;
121 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
122 | productType = "com.apple.product-type.application";
123 | };
124 | /* End PBXNativeTarget section */
125 |
126 | /* Begin PBXProject section */
127 | 97C146E61CF9000F007C117D /* Project object */ = {
128 | isa = PBXProject;
129 | attributes = {
130 | LastUpgradeCheck = 1300;
131 | ORGANIZATIONNAME = "";
132 | TargetAttributes = {
133 | 97C146ED1CF9000F007C117D = {
134 | CreatedOnToolsVersion = 7.3.1;
135 | LastSwiftMigration = 1100;
136 | };
137 | };
138 | };
139 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
140 | compatibilityVersion = "Xcode 9.3";
141 | developmentRegion = en;
142 | hasScannedForEncodings = 0;
143 | knownRegions = (
144 | en,
145 | Base,
146 | );
147 | mainGroup = 97C146E51CF9000F007C117D;
148 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
149 | projectDirPath = "";
150 | projectRoot = "";
151 | targets = (
152 | 97C146ED1CF9000F007C117D /* Runner */,
153 | );
154 | };
155 | /* End PBXProject section */
156 |
157 | /* Begin PBXResourcesBuildPhase section */
158 | 97C146EC1CF9000F007C117D /* Resources */ = {
159 | isa = PBXResourcesBuildPhase;
160 | buildActionMask = 2147483647;
161 | files = (
162 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
163 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
164 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
165 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
166 | );
167 | runOnlyForDeploymentPostprocessing = 0;
168 | };
169 | /* End PBXResourcesBuildPhase section */
170 |
171 | /* Begin PBXShellScriptBuildPhase section */
172 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
173 | isa = PBXShellScriptBuildPhase;
174 | buildActionMask = 2147483647;
175 | files = (
176 | );
177 | inputPaths = (
178 | );
179 | name = "Thin Binary";
180 | outputPaths = (
181 | );
182 | runOnlyForDeploymentPostprocessing = 0;
183 | shellPath = /bin/sh;
184 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
185 | };
186 | 9740EEB61CF901F6004384FC /* Run Script */ = {
187 | isa = PBXShellScriptBuildPhase;
188 | buildActionMask = 2147483647;
189 | files = (
190 | );
191 | inputPaths = (
192 | );
193 | name = "Run Script";
194 | outputPaths = (
195 | );
196 | runOnlyForDeploymentPostprocessing = 0;
197 | shellPath = /bin/sh;
198 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
199 | };
200 | /* End PBXShellScriptBuildPhase section */
201 |
202 | /* Begin PBXSourcesBuildPhase section */
203 | 97C146EA1CF9000F007C117D /* Sources */ = {
204 | isa = PBXSourcesBuildPhase;
205 | buildActionMask = 2147483647;
206 | files = (
207 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
208 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
209 | );
210 | runOnlyForDeploymentPostprocessing = 0;
211 | };
212 | /* End PBXSourcesBuildPhase section */
213 |
214 | /* Begin PBXVariantGroup section */
215 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
216 | isa = PBXVariantGroup;
217 | children = (
218 | 97C146FB1CF9000F007C117D /* Base */,
219 | );
220 | name = Main.storyboard;
221 | sourceTree = "";
222 | };
223 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
224 | isa = PBXVariantGroup;
225 | children = (
226 | 97C147001CF9000F007C117D /* Base */,
227 | );
228 | name = LaunchScreen.storyboard;
229 | sourceTree = "";
230 | };
231 | /* End PBXVariantGroup section */
232 |
233 | /* Begin XCBuildConfiguration section */
234 | 249021D3217E4FDB00AE95B9 /* Profile */ = {
235 | isa = XCBuildConfiguration;
236 | buildSettings = {
237 | ALWAYS_SEARCH_USER_PATHS = NO;
238 | CLANG_ANALYZER_NONNULL = YES;
239 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
240 | CLANG_CXX_LIBRARY = "libc++";
241 | CLANG_ENABLE_MODULES = YES;
242 | CLANG_ENABLE_OBJC_ARC = YES;
243 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
244 | CLANG_WARN_BOOL_CONVERSION = YES;
245 | CLANG_WARN_COMMA = YES;
246 | CLANG_WARN_CONSTANT_CONVERSION = YES;
247 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
248 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
249 | CLANG_WARN_EMPTY_BODY = YES;
250 | CLANG_WARN_ENUM_CONVERSION = YES;
251 | CLANG_WARN_INFINITE_RECURSION = YES;
252 | CLANG_WARN_INT_CONVERSION = YES;
253 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
254 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
255 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
256 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
257 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
258 | CLANG_WARN_STRICT_PROTOTYPES = YES;
259 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
260 | CLANG_WARN_UNREACHABLE_CODE = YES;
261 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
262 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
263 | COPY_PHASE_STRIP = NO;
264 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
265 | ENABLE_NS_ASSERTIONS = NO;
266 | ENABLE_STRICT_OBJC_MSGSEND = YES;
267 | GCC_C_LANGUAGE_STANDARD = gnu99;
268 | GCC_NO_COMMON_BLOCKS = YES;
269 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
270 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
271 | GCC_WARN_UNDECLARED_SELECTOR = YES;
272 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
273 | GCC_WARN_UNUSED_FUNCTION = YES;
274 | GCC_WARN_UNUSED_VARIABLE = YES;
275 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
276 | MTL_ENABLE_DEBUG_INFO = NO;
277 | SDKROOT = iphoneos;
278 | SUPPORTED_PLATFORMS = iphoneos;
279 | TARGETED_DEVICE_FAMILY = "1,2";
280 | VALIDATE_PRODUCT = YES;
281 | };
282 | name = Profile;
283 | };
284 | 249021D4217E4FDB00AE95B9 /* Profile */ = {
285 | isa = XCBuildConfiguration;
286 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
287 | buildSettings = {
288 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
289 | CLANG_ENABLE_MODULES = YES;
290 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
291 | ENABLE_BITCODE = NO;
292 | INFOPLIST_FILE = Runner/Info.plist;
293 | LD_RUNPATH_SEARCH_PATHS = (
294 | "$(inherited)",
295 | "@executable_path/Frameworks",
296 | );
297 | PRODUCT_BUNDLE_IDENTIFIER = com.example.arisLanguageLearning;
298 | PRODUCT_NAME = "$(TARGET_NAME)";
299 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
300 | SWIFT_VERSION = 5.0;
301 | VERSIONING_SYSTEM = "apple-generic";
302 | };
303 | name = Profile;
304 | };
305 | 97C147031CF9000F007C117D /* Debug */ = {
306 | isa = XCBuildConfiguration;
307 | buildSettings = {
308 | ALWAYS_SEARCH_USER_PATHS = NO;
309 | CLANG_ANALYZER_NONNULL = YES;
310 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
311 | CLANG_CXX_LIBRARY = "libc++";
312 | CLANG_ENABLE_MODULES = YES;
313 | CLANG_ENABLE_OBJC_ARC = YES;
314 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
315 | CLANG_WARN_BOOL_CONVERSION = YES;
316 | CLANG_WARN_COMMA = YES;
317 | CLANG_WARN_CONSTANT_CONVERSION = YES;
318 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
319 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
320 | CLANG_WARN_EMPTY_BODY = YES;
321 | CLANG_WARN_ENUM_CONVERSION = YES;
322 | CLANG_WARN_INFINITE_RECURSION = YES;
323 | CLANG_WARN_INT_CONVERSION = YES;
324 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
325 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
326 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
327 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
328 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
329 | CLANG_WARN_STRICT_PROTOTYPES = YES;
330 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
331 | CLANG_WARN_UNREACHABLE_CODE = YES;
332 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
333 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
334 | COPY_PHASE_STRIP = NO;
335 | DEBUG_INFORMATION_FORMAT = dwarf;
336 | ENABLE_STRICT_OBJC_MSGSEND = YES;
337 | ENABLE_TESTABILITY = YES;
338 | GCC_C_LANGUAGE_STANDARD = gnu99;
339 | GCC_DYNAMIC_NO_PIC = NO;
340 | GCC_NO_COMMON_BLOCKS = YES;
341 | GCC_OPTIMIZATION_LEVEL = 0;
342 | GCC_PREPROCESSOR_DEFINITIONS = (
343 | "DEBUG=1",
344 | "$(inherited)",
345 | );
346 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
347 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
348 | GCC_WARN_UNDECLARED_SELECTOR = YES;
349 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
350 | GCC_WARN_UNUSED_FUNCTION = YES;
351 | GCC_WARN_UNUSED_VARIABLE = YES;
352 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
353 | MTL_ENABLE_DEBUG_INFO = YES;
354 | ONLY_ACTIVE_ARCH = YES;
355 | SDKROOT = iphoneos;
356 | TARGETED_DEVICE_FAMILY = "1,2";
357 | };
358 | name = Debug;
359 | };
360 | 97C147041CF9000F007C117D /* Release */ = {
361 | isa = XCBuildConfiguration;
362 | buildSettings = {
363 | ALWAYS_SEARCH_USER_PATHS = NO;
364 | CLANG_ANALYZER_NONNULL = YES;
365 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
366 | CLANG_CXX_LIBRARY = "libc++";
367 | CLANG_ENABLE_MODULES = YES;
368 | CLANG_ENABLE_OBJC_ARC = YES;
369 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
370 | CLANG_WARN_BOOL_CONVERSION = YES;
371 | CLANG_WARN_COMMA = YES;
372 | CLANG_WARN_CONSTANT_CONVERSION = YES;
373 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
374 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
375 | CLANG_WARN_EMPTY_BODY = YES;
376 | CLANG_WARN_ENUM_CONVERSION = YES;
377 | CLANG_WARN_INFINITE_RECURSION = YES;
378 | CLANG_WARN_INT_CONVERSION = YES;
379 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
380 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
381 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
382 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
383 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
384 | CLANG_WARN_STRICT_PROTOTYPES = YES;
385 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
386 | CLANG_WARN_UNREACHABLE_CODE = YES;
387 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
388 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
389 | COPY_PHASE_STRIP = NO;
390 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
391 | ENABLE_NS_ASSERTIONS = NO;
392 | ENABLE_STRICT_OBJC_MSGSEND = YES;
393 | GCC_C_LANGUAGE_STANDARD = gnu99;
394 | GCC_NO_COMMON_BLOCKS = YES;
395 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
396 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
397 | GCC_WARN_UNDECLARED_SELECTOR = YES;
398 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
399 | GCC_WARN_UNUSED_FUNCTION = YES;
400 | GCC_WARN_UNUSED_VARIABLE = YES;
401 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
402 | MTL_ENABLE_DEBUG_INFO = NO;
403 | SDKROOT = iphoneos;
404 | SUPPORTED_PLATFORMS = iphoneos;
405 | SWIFT_COMPILATION_MODE = wholemodule;
406 | SWIFT_OPTIMIZATION_LEVEL = "-O";
407 | TARGETED_DEVICE_FAMILY = "1,2";
408 | VALIDATE_PRODUCT = YES;
409 | };
410 | name = Release;
411 | };
412 | 97C147061CF9000F007C117D /* Debug */ = {
413 | isa = XCBuildConfiguration;
414 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
415 | buildSettings = {
416 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
417 | CLANG_ENABLE_MODULES = YES;
418 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
419 | ENABLE_BITCODE = NO;
420 | INFOPLIST_FILE = Runner/Info.plist;
421 | LD_RUNPATH_SEARCH_PATHS = (
422 | "$(inherited)",
423 | "@executable_path/Frameworks",
424 | );
425 | PRODUCT_BUNDLE_IDENTIFIER = com.example.arisLanguageLearning;
426 | PRODUCT_NAME = "$(TARGET_NAME)";
427 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
428 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
429 | SWIFT_VERSION = 5.0;
430 | VERSIONING_SYSTEM = "apple-generic";
431 | };
432 | name = Debug;
433 | };
434 | 97C147071CF9000F007C117D /* Release */ = {
435 | isa = XCBuildConfiguration;
436 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
437 | buildSettings = {
438 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
439 | CLANG_ENABLE_MODULES = YES;
440 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
441 | ENABLE_BITCODE = NO;
442 | INFOPLIST_FILE = Runner/Info.plist;
443 | LD_RUNPATH_SEARCH_PATHS = (
444 | "$(inherited)",
445 | "@executable_path/Frameworks",
446 | );
447 | PRODUCT_BUNDLE_IDENTIFIER = com.example.arisLanguageLearning;
448 | PRODUCT_NAME = "$(TARGET_NAME)";
449 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
450 | SWIFT_VERSION = 5.0;
451 | VERSIONING_SYSTEM = "apple-generic";
452 | };
453 | name = Release;
454 | };
455 | /* End XCBuildConfiguration section */
456 |
457 | /* Begin XCConfigurationList section */
458 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
459 | isa = XCConfigurationList;
460 | buildConfigurations = (
461 | 97C147031CF9000F007C117D /* Debug */,
462 | 97C147041CF9000F007C117D /* Release */,
463 | 249021D3217E4FDB00AE95B9 /* Profile */,
464 | );
465 | defaultConfigurationIsVisible = 0;
466 | defaultConfigurationName = Release;
467 | };
468 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
469 | isa = XCConfigurationList;
470 | buildConfigurations = (
471 | 97C147061CF9000F007C117D /* Debug */,
472 | 97C147071CF9000F007C117D /* Release */,
473 | 249021D4217E4FDB00AE95B9 /* Profile */,
474 | );
475 | defaultConfigurationIsVisible = 0;
476 | defaultConfigurationName = Release;
477 | };
478 | /* End XCConfigurationList section */
479 | };
480 | rootObject = 97C146E61CF9000F007C117D /* Project object */;
481 | }
482 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
37 |
38 |
39 |
40 |
41 |
42 |
52 |
54 |
60 |
61 |
62 |
63 |
69 |
71 |
77 |
78 |
79 |
80 |
82 |
83 |
86 |
87 |
88 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @UIApplicationMain
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-App-20x20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-App-20x20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-App-29x29@1x.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "Icon-App-29x29@2x.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "Icon-App-29x29@3x.png",
31 | "scale" : "3x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "Icon-App-40x40@2x.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "Icon-App-40x40@3x.png",
43 | "scale" : "3x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "Icon-App-60x60@2x.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "60x60",
53 | "idiom" : "iphone",
54 | "filename" : "Icon-App-60x60@3x.png",
55 | "scale" : "3x"
56 | },
57 | {
58 | "size" : "20x20",
59 | "idiom" : "ipad",
60 | "filename" : "Icon-App-20x20@1x.png",
61 | "scale" : "1x"
62 | },
63 | {
64 | "size" : "20x20",
65 | "idiom" : "ipad",
66 | "filename" : "Icon-App-20x20@2x.png",
67 | "scale" : "2x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "Icon-App-29x29@1x.png",
73 | "scale" : "1x"
74 | },
75 | {
76 | "size" : "29x29",
77 | "idiom" : "ipad",
78 | "filename" : "Icon-App-29x29@2x.png",
79 | "scale" : "2x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "Icon-App-40x40@1x.png",
85 | "scale" : "1x"
86 | },
87 | {
88 | "size" : "40x40",
89 | "idiom" : "ipad",
90 | "filename" : "Icon-App-40x40@2x.png",
91 | "scale" : "2x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "Icon-App-76x76@1x.png",
97 | "scale" : "1x"
98 | },
99 | {
100 | "size" : "76x76",
101 | "idiom" : "ipad",
102 | "filename" : "Icon-App-76x76@2x.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "83.5x83.5",
107 | "idiom" : "ipad",
108 | "filename" : "Icon-App-83.5x83.5@2x.png",
109 | "scale" : "2x"
110 | },
111 | {
112 | "size" : "1024x1024",
113 | "idiom" : "ios-marketing",
114 | "filename" : "Icon-App-1024x1024@1x.png",
115 | "scale" : "1x"
116 | }
117 | ],
118 | "info" : {
119 | "version" : 1,
120 | "author" : "xcode"
121 | }
122 | }
123 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchImage.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchImage@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "LaunchImage@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleDisplayName
8 | Aris Language Learning
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | aris_language_learning
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | $(FLUTTER_BUILD_NAME)
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | $(FLUTTER_BUILD_NUMBER)
25 | LSRequiresIPhoneOS
26 |
27 | UILaunchStoryboardName
28 | LaunchScreen
29 | UIMainStoryboardFile
30 | Main
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 | UIInterfaceOrientationPortraitUpsideDown
41 | UIInterfaceOrientationLandscapeLeft
42 | UIInterfaceOrientationLandscapeRight
43 |
44 | UIViewControllerBasedStatusBarAppearance
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/lib/constants.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:language_learning_ui/models/course_model.dart';
3 | import 'package:language_learning_ui/models/instructor_model.dart';
4 | import 'package:language_learning_ui/models/topic_model.dart';
5 |
6 | class Constants {
7 | static const Color primaryTextColor = Color.fromRGBO(38, 50, 98, 1);
8 | static const Color captionTextColor = Color.fromRGBO(157, 161, 180, 1);
9 | static const Color primaryColor = Color.fromRGBO(255, 99, 128, 1.0);
10 |
11 | static List topics = [
12 | TopicModel(
13 | color: Constants.primaryColor,
14 | boxShadow: [
15 | BoxShadow(
16 | color: Color.fromRGBO(255, 99, 128, 0.6),
17 | spreadRadius: 0,
18 | blurRadius: 6,
19 | offset: Offset(0, 2), // changes position of shadow
20 | ),
21 | ],
22 | topic: "interjections & colloquial",
23 | time: "30 min",
24 | points: "20",
25 | image: "assets/images/course-1.png",
26 | ),
27 | TopicModel(
28 | color: Color.fromRGBO(25, 118, 210, 1),
29 | boxShadow: [
30 | BoxShadow(
31 | color: Color.fromRGBO(25, 118, 210, 0.6),
32 | spreadRadius: 0,
33 | blurRadius: 6,
34 | offset: Offset(0, 2), // changes position of shadow
35 | ),
36 | ],
37 | topic: "interjections & colloquial",
38 | time: "30 min",
39 | points: "30",
40 | image: "assets/images/course-2.png",
41 | )
42 | ];
43 | static List courseLevels = [
44 | "Beginner",
45 | "Intermediate",
46 | "Advanced",
47 | "Professional"
48 | ];
49 | static List courses = [
50 | CourseModel(
51 | name: "Daily English Conversation",
52 | color: Color.fromRGBO(86, 131, 223, 1),
53 | image: "assets/images/course-3.png",
54 | ),
55 | CourseModel(
56 | name: "Learn new vocabulary",
57 | color: Color.fromRGBO(255, 152, 117, 1),
58 | image: "assets/images/course-4.png",
59 | ),
60 | CourseModel(
61 | name: "Daily English Conversation",
62 | color: Color.fromRGBO(255, 133, 125, 1),
63 | image: "assets/images/course-5.png",
64 | ),
65 | ];
66 | static List instructors = [
67 | InstructorModel(
68 | name: "Jennifer Lee",
69 | occupation: "UI Designer",
70 | image: "assets/images/person-1.png",
71 | ),
72 | InstructorModel(
73 | name: "Olayemii Garuba",
74 | occupation: "Software Dev",
75 | image: "assets/images/person-2.png",
76 | ),
77 | InstructorModel(
78 | name: "Christopher Gary",
79 | occupation: "Software Dev",
80 | image: "assets/images/person-3.png",
81 | )
82 | ];
83 | }
84 |
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_screenutil/flutter_screenutil.dart';
3 | import 'package:google_fonts/google_fonts.dart';
4 | import 'package:language_learning_ui/pages/choose_language.dart';
5 | import 'package:language_learning_ui/pages/create_account.dart';
6 | import 'package:language_learning_ui/pages/dashboard.dart';
7 | import 'package:language_learning_ui/pages/home.dart';
8 | import 'package:language_learning_ui/pages/lesson_screen.dart';
9 |
10 | void main() {
11 | runApp(MyApp());
12 | }
13 |
14 | class MyApp extends StatelessWidget {
15 | @override
16 | Widget build(BuildContext context) {
17 | return ScreenUtilInit(
18 | designSize: Size(375, 812),
19 | builder: () => MaterialApp(
20 | debugShowCheckedModeBanner: false,
21 | title: 'Flutter Demo',
22 | theme: ThemeData(
23 | primarySwatch: Colors.blue,
24 | visualDensity: VisualDensity.adaptivePlatformDensity,
25 | textTheme: GoogleFonts.rubikTextTheme(
26 | TextTheme(),
27 | ),
28 | ),
29 | initialRoute: "/",
30 | onGenerateRoute: _onGenerateRoute,
31 | ),
32 | );
33 | }
34 | }
35 |
36 | Route _onGenerateRoute(RouteSettings settings) {
37 | switch (settings.name) {
38 | case "/":
39 | return MaterialPageRoute(builder: (BuildContext context) {
40 | return Home();
41 | });
42 | case "/create-account":
43 | return MaterialPageRoute(builder: (BuildContext context) {
44 | return CreateAccount();
45 | });
46 | case "/choose-language":
47 | return MaterialPageRoute(builder: (BuildContext context) {
48 | return ChooseLanguage();
49 | });
50 | case "/dashboard":
51 | return MaterialPageRoute(builder: (BuildContext context) {
52 | return Dashboard();
53 | });
54 | case "/lesson-screen":
55 | return MaterialPageRoute(builder: (BuildContext context) {
56 | return LessonScreen();
57 | });
58 | default:
59 | return MaterialPageRoute(builder: (BuildContext context) {
60 | return Home();
61 | });
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/lib/models/course_model.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class CourseModel {
4 | final String image;
5 | final String name;
6 | final Color color;
7 |
8 | CourseModel({this.image, this.name, this.color});
9 | }
10 |
--------------------------------------------------------------------------------
/lib/models/instructor_model.dart:
--------------------------------------------------------------------------------
1 | class InstructorModel {
2 | final String name;
3 | final String image;
4 | final String occupation;
5 |
6 | InstructorModel({this.name, this.image, this.occupation});
7 | }
8 |
--------------------------------------------------------------------------------
/lib/models/language_model.dart:
--------------------------------------------------------------------------------
1 | class LanguageModel {
2 | final String language;
3 | final String imagePath;
4 |
5 | LanguageModel({this.language, this.imagePath});
6 | }
7 |
--------------------------------------------------------------------------------
/lib/models/lesson_model.dart:
--------------------------------------------------------------------------------
1 | class LessonModel {
2 | final String duration;
3 | final String title;
4 | final String imagePath;
5 |
6 | LessonModel({this.title, this.imagePath, this.duration});
7 | }
8 |
--------------------------------------------------------------------------------
/lib/models/topic_model.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class TopicModel {
4 | final String topic;
5 | final String points;
6 | final String time;
7 | final String image;
8 | final Color color;
9 | final List boxShadow;
10 | TopicModel({
11 | this.time,
12 | this.topic,
13 | this.points,
14 | this.image,
15 | this.color,
16 | this.boxShadow,
17 | });
18 | }
19 |
--------------------------------------------------------------------------------
/lib/pages/choose_language.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_screenutil/flutter_screenutil.dart';
3 | import 'package:language_learning_ui/constants.dart';
4 | import 'package:language_learning_ui/models/language_model.dart';
5 | import 'package:language_learning_ui/pages/dashboard.dart';
6 | import 'package:language_learning_ui/widgets/language_selector.dart';
7 | import 'package:language_learning_ui/widgets/primary_button.dart';
8 |
9 | class ChooseLanguage extends StatefulWidget {
10 | @override
11 | _ChooseLanguageState createState() => _ChooseLanguageState();
12 | }
13 |
14 | List languages = [
15 | LanguageModel(
16 | language: "Spanish",
17 | imagePath: "assets/images/spain.png",
18 | ),
19 | LanguageModel(
20 | language: "English",
21 | imagePath: "assets/images/england.png",
22 | ),
23 | LanguageModel(
24 | language: "German",
25 | imagePath: "assets/images/germany.png",
26 | ),
27 | LanguageModel(
28 | language: "Korean",
29 | imagePath: "assets/images/korea.png",
30 | ),
31 | LanguageModel(
32 | language: "Polish",
33 | imagePath: "assets/images/poland.png",
34 | ),
35 | LanguageModel(
36 | language: "Italian",
37 | imagePath: "assets/images/italy.png",
38 | ),
39 | ];
40 |
41 | class _ChooseLanguageState extends State {
42 | int _activeIndex = -1;
43 | @override
44 | Widget build(BuildContext context) {
45 | return Scaffold(
46 | body: SingleChildScrollView(
47 | child: SafeArea(
48 | child: Container(
49 | padding: EdgeInsets.symmetric(horizontal: 16.0),
50 | child: Column(
51 | crossAxisAlignment: CrossAxisAlignment.stretch,
52 | mainAxisSize: MainAxisSize.min,
53 | children: [
54 | SizedBox(
55 | height: 30.0,
56 | ),
57 | Text(
58 | "Choose the Language",
59 | textAlign: TextAlign.left,
60 | style: TextStyle(
61 | fontSize: 28.0,
62 | fontWeight: FontWeight.w600,
63 | color: Constants.primaryTextColor,
64 | ),
65 | ),
66 | SizedBox(
67 | height: 35.0,
68 | ),
69 | ...languages.map((language) {
70 | int _currentIndex = languages.indexOf(language);
71 | return GestureDetector(
72 | onTap: () {
73 | setState(() {
74 | _activeIndex = _currentIndex;
75 | });
76 | },
77 | child: LanguageSelector(
78 | isActive: _activeIndex == _currentIndex,
79 | language: language.language,
80 | imagePath: language.imagePath,
81 | ),
82 | );
83 | }).toList(),
84 | AnimatedCrossFade(
85 | crossFadeState: _activeIndex == -1
86 | ? CrossFadeState.showFirst
87 | : CrossFadeState.showSecond,
88 | duration: Duration(milliseconds: 450),
89 | firstChild: Container(
90 | height: ScreenUtil().setHeight(50.0),
91 | ),
92 | secondChild: PrimaryButton(
93 | text: "Continue",
94 | onPressed: () {
95 | Navigator.of(context).push(
96 | MaterialPageRoute(
97 | builder: (BuildContext context) {
98 | return Dashboard();
99 | },
100 | ),
101 | );
102 | },
103 | ),
104 | )
105 | ],
106 | ),
107 | ),
108 | ),
109 | ),
110 | );
111 | }
112 | }
113 |
--------------------------------------------------------------------------------
/lib/pages/create_account.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:language_learning_ui/constants.dart';
3 | import 'package:language_learning_ui/pages/choose_language.dart';
4 | import 'package:language_learning_ui/widgets/border_text_field.dart';
5 | import 'package:language_learning_ui/widgets/primary_button.dart';
6 | import 'package:language_learning_ui/widgets/social_logins.dart';
7 |
8 | class CreateAccount extends StatefulWidget {
9 | @override
10 | _CreateAccountState createState() => _CreateAccountState();
11 | }
12 |
13 | class _CreateAccountState extends State {
14 | @override
15 | Widget build(BuildContext context) {
16 | return Scaffold(
17 | body: SingleChildScrollView(
18 | child: SafeArea(
19 | child: Container(
20 | padding: EdgeInsets.symmetric(horizontal: 16.0),
21 | child: Column(
22 | crossAxisAlignment: CrossAxisAlignment.stretch,
23 | mainAxisSize: MainAxisSize.min,
24 | children: [
25 | SizedBox(
26 | height: 10.0,
27 | ),
28 | Text(
29 | "Create Your free \nAccount",
30 | textAlign: TextAlign.left,
31 | style: TextStyle(
32 | fontSize: 28.0,
33 | fontWeight: FontWeight.w600,
34 | color: Constants.primaryTextColor,
35 | ),
36 | ),
37 | SizedBox(
38 | height: 35.0,
39 | ),
40 | SocialLogins(),
41 | SizedBox(
42 | height: 40.0,
43 | ),
44 | Form(
45 | child: Column(
46 | children: [
47 | BorderTextField(hintText: "First Name"),
48 | SizedBox(
49 | height: 15.0,
50 | ),
51 | BorderTextField(hintText: "Last Name"),
52 | SizedBox(
53 | height: 15.0,
54 | ),
55 | BorderTextField(hintText: "Your Email"),
56 | SizedBox(
57 | height: 15.0,
58 | ),
59 | BorderTextField(
60 | hintText: "Password",
61 | obscureText: true,
62 | suffixIcon: Icon(
63 | Icons.remove_red_eye,
64 | color: Constants.primaryColor,
65 | ),
66 | ),
67 | ],
68 | ),
69 | ),
70 | SizedBox(
71 | height: 30.0,
72 | ),
73 | PrimaryButton(
74 | text: "Sign Up",
75 | onPressed: () {
76 | Navigator.of(context).push(
77 | MaterialPageRoute(
78 | builder: (BuildContext context) {
79 | return ChooseLanguage();
80 | },
81 | ),
82 | );
83 | },
84 | ),
85 | SizedBox(
86 | height: 15.0,
87 | ),
88 | Text(
89 | "By singning up, you agreed with our Services and Privacy Policy",
90 | textAlign: TextAlign.center,
91 | style: TextStyle(
92 | fontSize: 14.0,
93 | color: Constants.captionTextColor,
94 | ),
95 | ),
96 | SizedBox(
97 | height: 30.0,
98 | ),
99 | Center(
100 | child: Wrap(
101 | runAlignment: WrapAlignment.center,
102 | crossAxisAlignment: WrapCrossAlignment.center,
103 | children: [
104 | Text(
105 | "Already have account?",
106 | style: TextStyle(
107 | fontSize: 16.0,
108 | color: Color.fromRGBO(169, 176, 185, 1),
109 | ),
110 | ),
111 | TextButton(
112 | onPressed: () {},
113 | child: Text(
114 | "Log In",
115 | style: TextStyle(
116 | fontSize: 16.0,
117 | color: Constants.primaryColor,
118 | fontWeight: FontWeight.w600,
119 | ),
120 | ),
121 | ),
122 | ],
123 | ),
124 | )
125 | ],
126 | ),
127 | ),
128 | ),
129 | ),
130 | );
131 | }
132 | }
133 |
--------------------------------------------------------------------------------
/lib/pages/dashboard.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_icons/flutter_icons.dart';
3 | import 'package:flutter_screenutil/flutter_screenutil.dart';
4 | import 'package:language_learning_ui/constants.dart';
5 | import 'package:language_learning_ui/widgets/border_text_field.dart';
6 | import 'package:language_learning_ui/widgets/course_card.dart';
7 | import 'package:language_learning_ui/widgets/instructor_card.dart';
8 | import 'package:language_learning_ui/widgets/topics_list.dart';
9 | import 'package:language_learning_ui/widgets/user_menu_bar.dart';
10 |
11 | class Dashboard extends StatefulWidget {
12 | @override
13 | _DashboardState createState() => _DashboardState();
14 | }
15 |
16 | class _DashboardState extends State {
17 | @override
18 | Widget build(BuildContext context) {
19 | return Scaffold(
20 | bottomNavigationBar: BottomNavigationBar(
21 | showSelectedLabels: false,
22 | showUnselectedLabels: false,
23 | unselectedIconTheme: IconThemeData(
24 | color: Color.fromRGBO(202, 205, 219, 1),
25 | ),
26 | selectedIconTheme: IconThemeData(
27 | color: Constants.primaryColor,
28 | ),
29 | items: [
30 | BottomNavigationBarItem(
31 | label: "",
32 | icon: Icon(FlutterIcons.home_fea),
33 | ),
34 | BottomNavigationBarItem(
35 | label: "",
36 | icon: Icon(
37 | FlutterIcons.calendar_fea,
38 | ),
39 | ),
40 | BottomNavigationBarItem(
41 | label: "",
42 | icon: Icon(
43 | FlutterIcons.edit_fea,
44 | ),
45 | ),
46 | BottomNavigationBarItem(
47 | label: "",
48 | icon: Icon(
49 | FlutterIcons.user_fea,
50 | ),
51 | ),
52 | ],
53 | ),
54 | body: SingleChildScrollView(
55 | child: SafeArea(
56 | child: Container(
57 | padding: EdgeInsets.symmetric(horizontal: 16.0),
58 | child: Column(
59 | crossAxisAlignment: CrossAxisAlignment.stretch,
60 | mainAxisSize: MainAxisSize.min,
61 | children: [
62 | SizedBox(
63 | height: 30.0,
64 | ),
65 | UserMenuBar(),
66 | SizedBox(
67 | height: 15.0,
68 | ),
69 | BorderTextField(
70 | prefixIcon: Icon(
71 | FlutterIcons.search_fea,
72 | color: Colors.grey,
73 | ),
74 | borderRadius: 50.0,
75 | hintText: "Search...",
76 | ),
77 | SizedBox(
78 | height: 30.0,
79 | ),
80 | TopicsList(),
81 | SizedBox(height: 30.0),
82 | Row(
83 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
84 | children: [
85 | Text(
86 | "Popular Courses",
87 | style: TextStyle(
88 | fontSize: 21.0,
89 | color: Constants.primaryTextColor,
90 | fontWeight: FontWeight.w600,
91 | ),
92 | ),
93 | Text(
94 | "View all",
95 | style: TextStyle(
96 | fontSize: 15.0,
97 | color: Constants.captionTextColor,
98 | ),
99 | ),
100 | ],
101 | ),
102 | SizedBox(
103 | height: 12.0,
104 | ),
105 | Container(
106 | height: 22.0,
107 | child: ListView.separated(
108 | separatorBuilder: (BuildContext context, int index) {
109 | return SizedBox(
110 | width: 10.0,
111 | );
112 | },
113 | scrollDirection: Axis.horizontal,
114 | itemCount: Constants.courseLevels.length,
115 | itemBuilder: (BuildContext context, int index) {
116 | return Text(
117 | Constants.courseLevels[index],
118 | style: TextStyle(
119 | fontSize: 15.0,
120 | fontWeight:
121 | index == 0 ? FontWeight.w600 : FontWeight.w400,
122 | color: index == 0
123 | ? Constants.primaryColor
124 | : Constants.captionTextColor,
125 | ),
126 | );
127 | },
128 | ),
129 | ),
130 | SizedBox(height: 20.0),
131 | Container(
132 | height: ScreenUtil().setHeight(167.0),
133 | child: ListView.separated(
134 | separatorBuilder: (BuildContext context, int index) {
135 | return SizedBox(
136 | width: 10.0,
137 | );
138 | },
139 | scrollDirection: Axis.horizontal,
140 | itemCount: Constants.courses.length,
141 | itemBuilder: (BuildContext context, int index) {
142 | return CourseCard(
143 | course: Constants.courses[index],
144 | );
145 | },
146 | ),
147 | ),
148 | SizedBox(height: 20.0),
149 | Text(
150 | "Instructors",
151 | style: TextStyle(
152 | fontSize: 21.0,
153 | color: Constants.primaryTextColor,
154 | fontWeight: FontWeight.w600,
155 | ),
156 | ),
157 | SizedBox(height: 10.0),
158 | Container(
159 | height: ScreenUtil().setHeight(140.0),
160 | child: ListView.separated(
161 | separatorBuilder: (BuildContext context, int index) {
162 | return SizedBox(
163 | width: 10.0,
164 | );
165 | },
166 | scrollDirection: Axis.horizontal,
167 | itemCount: Constants.instructors.length,
168 | itemBuilder: (BuildContext context, int index) {
169 | return InstructorCard(
170 | instructor: Constants.instructors[index],
171 | );
172 | },
173 | ),
174 | )
175 | ],
176 | ),
177 | ),
178 | ),
179 | ),
180 | );
181 | }
182 | }
183 |
--------------------------------------------------------------------------------
/lib/pages/home.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_screenutil/flutter_screenutil.dart';
3 | import 'package:google_fonts/google_fonts.dart';
4 | import 'package:language_learning_ui/constants.dart';
5 | import 'package:language_learning_ui/pages/create_account.dart';
6 | import 'package:language_learning_ui/pages/dashboard.dart';
7 | import 'package:language_learning_ui/widgets/primary_button.dart';
8 |
9 | class Home extends StatelessWidget {
10 | @override
11 | Widget build(BuildContext context) {
12 | return Scaffold(
13 | body: SingleChildScrollView(
14 | child: Container(
15 | padding: EdgeInsets.symmetric(horizontal: 16.0),
16 | child: Column(
17 | mainAxisSize: MainAxisSize.min,
18 | children: [
19 | Padding(
20 | padding: const EdgeInsets.symmetric(vertical: 32.0),
21 | child: Image.asset("assets/images/home.png"),
22 | ),
23 | Padding(
24 | padding: const EdgeInsets.symmetric(horizontal: 32.0),
25 | child: Text(
26 | "Welcome to the World of Languages",
27 | textAlign: TextAlign.center,
28 | style: TextStyle(
29 | fontSize: 28.0,
30 | fontWeight: FontWeight.w600,
31 | color: Constants.primaryTextColor,
32 | ),
33 | ),
34 | ),
35 | SizedBox(
36 | height: 15.0,
37 | ),
38 | Text(
39 | "Energistically implement expan arrchannels through visionary methods uickly customize act deploy functionality",
40 | textAlign: TextAlign.center,
41 | style: TextStyle(
42 | fontSize: 15.0,
43 | color: Constants.captionTextColor,
44 | ),
45 | ),
46 | SizedBox(
47 | height: 25.0,
48 | ),
49 | InkWell(
50 | onTap: () {
51 | Navigator.of(context).push(
52 | MaterialPageRoute(
53 | builder: (BuildContext context) {
54 | return Dashboard();
55 | },
56 | ),
57 | );
58 | },
59 | child: Container(
60 | width: double.infinity,
61 | height: ScreenUtil().setHeight(50.0),
62 | decoration: BoxDecoration(
63 | color: Colors.white,
64 | borderRadius: BorderRadius.circular(8.0),
65 | boxShadow: [
66 | BoxShadow(
67 | color: Color.fromRGBO(169, 176, 185, 0.42),
68 | spreadRadius: 0,
69 | blurRadius: 8,
70 | offset: Offset(0, 2), // changes position of shadow
71 | ),
72 | ],
73 | ),
74 | child: Center(
75 | child: Text(
76 | "Sign In",
77 | style: GoogleFonts.roboto(
78 | color: Color.fromRGBO(169, 176, 185, 1.0),
79 | fontSize: 18.0,
80 | fontWeight: FontWeight.w600,
81 | ),
82 | ),
83 | ),
84 | ),
85 | ),
86 | SizedBox(
87 | height: 10.0,
88 | ),
89 | PrimaryButton(
90 | text: "Create An Account",
91 | onPressed: () {
92 | Navigator.of(context).push(
93 | MaterialPageRoute(
94 | builder: (BuildContext context) {
95 | return CreateAccount();
96 | },
97 | ),
98 | );
99 | },
100 | )
101 | ],
102 | ),
103 | ),
104 | ),
105 | );
106 | }
107 | }
108 |
--------------------------------------------------------------------------------
/lib/pages/lesson_screen.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_screenutil/flutter_screenutil.dart';
3 | import 'package:language_learning_ui/constants.dart';
4 | import 'package:language_learning_ui/models/lesson_model.dart';
5 | import 'package:language_learning_ui/widgets/bottom_bar.dart';
6 | import 'package:language_learning_ui/widgets/lesson_card.dart';
7 | import 'package:language_learning_ui/widgets/user_menu_bar.dart';
8 |
9 | class LessonScreen extends StatefulWidget {
10 | @override
11 | _LessonScreenState createState() => _LessonScreenState();
12 | }
13 |
14 | class _LessonScreenState extends State {
15 | List lessons = [
16 | LessonModel(
17 | imagePath: "assets/images/lesson.png",
18 | title: "Introduction",
19 | duration: "10 minutes 20 seconds",
20 | ),
21 | LessonModel(
22 | imagePath: "assets/images/lesson.png",
23 | title: "Lesson 01",
24 | duration: "25 minutes 20 seconds",
25 | ),
26 | LessonModel(
27 | imagePath: "assets/images/lesson.png",
28 | title: "Lesson 02",
29 | duration: "13 minutes 20 seconds",
30 | ),
31 | LessonModel(
32 | imagePath: "assets/images/lesson.png",
33 | title: "Lesson 03",
34 | duration: "45 minutes 20 seconds",
35 | ),
36 | LessonModel(
37 | imagePath: "assets/images/lesson.png",
38 | title: "Lesson 04",
39 | duration: "10 minutes 20 seconds",
40 | )
41 | ];
42 | @override
43 | Widget build(BuildContext context) {
44 | return Scaffold(
45 | bottomNavigationBar: BottomBar(),
46 | body: SingleChildScrollView(
47 | child: SafeArea(
48 | child: Container(
49 | padding: EdgeInsets.symmetric(horizontal: 16.0),
50 | child: Column(
51 | crossAxisAlignment: CrossAxisAlignment.stretch,
52 | mainAxisSize: MainAxisSize.min,
53 | children: [
54 | SizedBox(
55 | height: 30.0,
56 | ),
57 | UserMenuBar(),
58 | SizedBox(
59 | height: 15.0,
60 | ),
61 | Container(
62 | height: ScreenUtil().setHeight(180.0),
63 | width: ScreenUtil().setWidth(339.24),
64 | decoration: BoxDecoration(
65 | color: Constants.primaryColor,
66 | borderRadius: BorderRadius.circular(8.0),
67 | boxShadow: [
68 | BoxShadow(
69 | color: Color.fromRGBO(255, 99, 128, 0.6),
70 | spreadRadius: 0,
71 | blurRadius: 6,
72 | offset: Offset(0, 2), // changes position of shadow
73 | ),
74 | ],
75 | ),
76 | child: Row(
77 | children: [
78 | Expanded(
79 | child: Padding(
80 | padding: const EdgeInsets.all(10.0),
81 | child: Column(
82 | crossAxisAlignment: CrossAxisAlignment.stretch,
83 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
84 | children: [
85 | Row(
86 | children: [
87 | Container(
88 | width: 30.0,
89 | height: 30.0,
90 | decoration: BoxDecoration(
91 | shape: BoxShape.circle,
92 | color: Colors.white,
93 | ),
94 | child: Center(
95 | child: Text(
96 | "20",
97 | style: TextStyle(
98 | color: Constants.primaryTextColor,
99 | fontWeight: FontWeight.w600,
100 | ),
101 | ),
102 | ),
103 | ),
104 | SizedBox(
105 | width: 10.0,
106 | ),
107 | Text(
108 | "Points",
109 | style: TextStyle(
110 | color: Colors.white,
111 | fontWeight: FontWeight.w600,
112 | fontSize: 14.0,
113 | ),
114 | )
115 | ],
116 | ),
117 | Text(
118 | "Daily English Conversation",
119 | style: TextStyle(
120 | color: Colors.white,
121 | fontWeight: FontWeight.w600,
122 | fontSize: 24.0,
123 | ),
124 | ),
125 | Text(
126 | "Learn More",
127 | style: TextStyle(
128 | color: Colors.white,
129 | fontSize: 20.0,
130 | ),
131 | )
132 | ],
133 | ),
134 | ),
135 | ),
136 | Expanded(
137 | child: Container(
138 | decoration: BoxDecoration(
139 | image: DecorationImage(
140 | fit: BoxFit.fill,
141 | image: AssetImage(
142 | "assets/images/course-1.png",
143 | ),
144 | ),
145 | ),
146 | ),
147 | )
148 | ],
149 | ),
150 | ),
151 | SizedBox(
152 | height: 30.0,
153 | ),
154 | Row(
155 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
156 | children: [
157 | Text(
158 | "My lessons",
159 | style: TextStyle(
160 | fontSize: 21.0,
161 | color: Constants.primaryTextColor,
162 | fontWeight: FontWeight.w600,
163 | ),
164 | ),
165 | Text(
166 | "View all",
167 | style: TextStyle(
168 | fontSize: 15.0,
169 | color: Constants.captionTextColor,
170 | ),
171 | ),
172 | ],
173 | ),
174 | SizedBox(
175 | height: 12.0,
176 | ),
177 | Flexible(
178 | child: ListView.builder(
179 | shrinkWrap: true,
180 | physics: NeverScrollableScrollPhysics(),
181 | itemBuilder: (BuildContext context, int index) {
182 | return LessonCard(lesson: lessons[index]);
183 | },
184 | itemCount: lessons.length,
185 | ),
186 | )
187 | ],
188 | ),
189 | ),
190 | ),
191 | ),
192 | );
193 | }
194 | }
195 |
--------------------------------------------------------------------------------
/lib/widgets/border_text_field.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_screenutil/flutter_screenutil.dart';
3 |
4 | class BorderTextField extends StatelessWidget {
5 | final String hintText;
6 | final bool obscureText;
7 | final Icon suffixIcon;
8 | final Icon prefixIcon;
9 | final double borderRadius;
10 |
11 | BorderTextField(
12 | {this.hintText,
13 | this.obscureText = false,
14 | this.suffixIcon,
15 | this.prefixIcon,
16 | this.borderRadius = 8.0});
17 | @override
18 | Widget build(BuildContext context) {
19 | return Container(
20 | padding: EdgeInsets.symmetric(horizontal: 18.0),
21 | width: double.infinity,
22 | height: ScreenUtil().setHeight(50.0),
23 | decoration: BoxDecoration(
24 | color: Colors.white,
25 | borderRadius: BorderRadius.circular(this.borderRadius),
26 | boxShadow: [
27 | BoxShadow(
28 | color: Color.fromRGBO(169, 176, 185, 0.42),
29 | spreadRadius: 0,
30 | blurRadius: 8,
31 | offset: Offset(0, 2), // changes position of shadow
32 | ),
33 | ],
34 | ),
35 | child: TextFormField(
36 | obscureText: this.obscureText,
37 | decoration: InputDecoration(
38 | prefixIcon: this.prefixIcon,
39 | prefixIconConstraints: BoxConstraints(minWidth: 0.0),
40 | suffixIcon: this.suffixIcon,
41 | border: InputBorder.none,
42 | hintText: this.hintText,
43 | hintStyle: TextStyle(
44 | fontSize: 14.0,
45 | color: Color.fromRGBO(169, 176, 185, 1),
46 | ),
47 | ),
48 | ),
49 | );
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/lib/widgets/bottom_bar.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_icons/flutter_icons.dart';
3 | import 'package:language_learning_ui/constants.dart';
4 |
5 | class BottomBar extends StatelessWidget {
6 | @override
7 | Widget build(BuildContext context) {
8 | return BottomNavigationBar(
9 | showSelectedLabels: false,
10 | showUnselectedLabels: false,
11 | unselectedIconTheme: IconThemeData(
12 | color: Color.fromRGBO(202, 205, 219, 1),
13 | ),
14 | selectedIconTheme: IconThemeData(
15 | color: Constants.primaryColor,
16 | ),
17 | items: [
18 | BottomNavigationBarItem(
19 | label: "",
20 | icon: Icon(FlutterIcons.home_fea),
21 | ),
22 | BottomNavigationBarItem(
23 | label: "",
24 | icon: Icon(
25 | FlutterIcons.calendar_fea,
26 | ),
27 | ),
28 | BottomNavigationBarItem(
29 | label: "",
30 | icon: Icon(
31 | FlutterIcons.edit_fea,
32 | ),
33 | ),
34 | BottomNavigationBarItem(
35 | label: "",
36 | icon: Icon(
37 | FlutterIcons.user_fea,
38 | ),
39 | ),
40 | ],
41 | );
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/lib/widgets/course_card.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_screenutil/flutter_screenutil.dart';
3 | import 'package:language_learning_ui/constants.dart';
4 | import 'package:language_learning_ui/models/course_model.dart';
5 |
6 | class CourseCard extends StatelessWidget {
7 | final CourseModel course;
8 | CourseCard({this.course});
9 | @override
10 | Widget build(BuildContext context) {
11 | return Container(
12 | height: ScreenUtil().setHeight(120.0),
13 | width: ScreenUtil().setWidth(145.0),
14 | child: Column(
15 | crossAxisAlignment: CrossAxisAlignment.stretch,
16 | children: [
17 | Expanded(
18 | child: Container(
19 | decoration: BoxDecoration(
20 | color: this.course.color,
21 | borderRadius: BorderRadius.circular(8.0),
22 | ),
23 | child: Image.asset(course.image),
24 | ),
25 | ),
26 | SizedBox(
27 | height: 5.0,
28 | ),
29 | Container(
30 | height: 40.0,
31 | child: Text(
32 | this.course.name,
33 | maxLines: 2,
34 | overflow: TextOverflow.ellipsis,
35 | style: TextStyle(
36 | color: Constants.primaryTextColor,
37 | fontWeight: FontWeight.w600,
38 | fontSize: 14.0,
39 | ),
40 | ),
41 | )
42 | ],
43 | ),
44 | );
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/lib/widgets/instructor_card.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_screenutil/flutter_screenutil.dart';
3 | import 'package:language_learning_ui/models/instructor_model.dart';
4 |
5 | class InstructorCard extends StatelessWidget {
6 | final InstructorModel instructor;
7 | InstructorCard({this.instructor});
8 | @override
9 | Widget build(BuildContext context) {
10 | return Stack(
11 | alignment: Alignment.bottomCenter,
12 | children: [
13 | Container(
14 | height: ScreenUtil().setHeight(140.0),
15 | width: ScreenUtil().setWidth(140.36),
16 | decoration: BoxDecoration(
17 | color: Color.fromRGBO(224, 230, 255, 1),
18 | borderRadius: BorderRadius.circular(8.0),
19 | image: DecorationImage(
20 | image: AssetImage(this.instructor.image),
21 | ),
22 | ),
23 | ),
24 | Container(
25 | padding: EdgeInsets.all(8.0),
26 | width: ScreenUtil().setWidth(140.36),
27 | child: Column(
28 | mainAxisSize: MainAxisSize.min,
29 | children: [
30 | Text(
31 | this.instructor.name,
32 | maxLines: 1,
33 | overflow: TextOverflow.ellipsis,
34 | style: TextStyle(
35 | color: Colors.white,
36 | fontSize: 15.0,
37 | fontWeight: FontWeight.w600,
38 | ),
39 | ),
40 | Text(
41 | this.instructor.occupation,
42 | maxLines: 1,
43 | overflow: TextOverflow.ellipsis,
44 | style: TextStyle(
45 | color: Colors.white,
46 | fontSize: 15.0,
47 | ),
48 | )
49 | ],
50 | ),
51 | )
52 | ],
53 | );
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/lib/widgets/language_selector.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_icons/flutter_icons.dart';
3 | import 'package:flutter_screenutil/flutter_screenutil.dart';
4 | import 'package:language_learning_ui/constants.dart';
5 |
6 | class LanguageSelector extends StatelessWidget {
7 | final bool isActive;
8 | final String language;
9 | final String imagePath;
10 | LanguageSelector({this.isActive, this.language, this.imagePath});
11 | @override
12 | Widget build(BuildContext context) {
13 | return InkWell(
14 | child: Container(
15 | margin: EdgeInsets.only(bottom: 10.0),
16 | padding: EdgeInsets.symmetric(horizontal: 16.0),
17 | width: double.infinity,
18 | height: ScreenUtil().setHeight(83.0),
19 | decoration: BoxDecoration(
20 | color: Colors.white,
21 | borderRadius: BorderRadius.circular(8.0),
22 | boxShadow: [
23 | BoxShadow(
24 | color: Color.fromRGBO(169, 176, 185, 0.42),
25 | spreadRadius: 0,
26 | blurRadius: 8,
27 | offset: Offset(0, 2), // changes position of shadow
28 | ),
29 | ],
30 | ),
31 | child: Center(
32 | child: Row(
33 | children: [
34 | Image.asset(
35 | this.imagePath,
36 | ),
37 | SizedBox(
38 | width: 10.0,
39 | ),
40 | Text(
41 | this.language,
42 | style: TextStyle(
43 | fontSize: 20.0,
44 | color: Color.fromRGBO(34, 40, 60, 1),
45 | fontWeight: FontWeight.w600,
46 | ),
47 | ),
48 | Spacer(),
49 | Container(
50 | child: isActive
51 | ? Icon(
52 | FlutterIcons.check_circle_mdi,
53 | color: Constants.primaryColor,
54 | )
55 | : SizedBox.shrink(),
56 | ),
57 | ],
58 | ),
59 | ),
60 | ),
61 | );
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/lib/widgets/lesson_card.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_icons/flutter_icons.dart';
3 | import 'package:flutter_screenutil/flutter_screenutil.dart';
4 | import 'package:language_learning_ui/constants.dart';
5 | import 'package:language_learning_ui/models/lesson_model.dart';
6 |
7 | class LessonCard extends StatelessWidget {
8 | final LessonModel lesson;
9 | LessonCard({this.lesson});
10 | @override
11 | Widget build(BuildContext context) {
12 | return InkWell(
13 | child: Container(
14 | margin: EdgeInsets.only(bottom: 10.0),
15 | padding: EdgeInsets.all(6.0),
16 | width: double.infinity,
17 | height: ScreenUtil().setHeight(65.0),
18 | decoration: BoxDecoration(
19 | color: Colors.white,
20 | borderRadius: BorderRadius.circular(8.0),
21 | boxShadow: [
22 | BoxShadow(
23 | color: Color.fromRGBO(169, 176, 185, 0.42),
24 | spreadRadius: 0,
25 | blurRadius: 8,
26 | offset: Offset(0, 2), // changes position of shadow
27 | ),
28 | ],
29 | ),
30 | child: Row(
31 | children: [
32 | Container(
33 | height: ScreenUtil().setHeight(55.0),
34 | width: ScreenUtil().setWidth(55.0),
35 | decoration: BoxDecoration(
36 | color: Color.fromRGBO(224, 230, 255, 1),
37 | ),
38 | child: Image.asset(this.lesson.imagePath),
39 | ),
40 | SizedBox(
41 | width: 25.0,
42 | ),
43 | Expanded(
44 | child: Column(
45 | mainAxisAlignment: MainAxisAlignment.center,
46 | crossAxisAlignment: CrossAxisAlignment.start,
47 | children: [
48 | Text(
49 | this.lesson.title,
50 | style: TextStyle(
51 | color: Constants.primaryTextColor,
52 | fontWeight: FontWeight.w600,
53 | fontSize: 14.0,
54 | ),
55 | ),
56 | SizedBox(
57 | height: 5.0,
58 | ),
59 | Text(
60 | this.lesson.duration,
61 | style: TextStyle(
62 | fontSize: 14.0,
63 | color: Constants.captionTextColor,
64 | ),
65 | ),
66 | ],
67 | ),
68 | ),
69 | Icon(
70 | FlutterIcons.play_circle_filled_mdi,
71 | color: Constants.primaryColor,
72 | ),
73 | SizedBox(
74 | width: 15.0,
75 | )
76 | ],
77 | ),
78 | ),
79 | );
80 | }
81 | }
82 |
--------------------------------------------------------------------------------
/lib/widgets/primary_button.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_screenutil/flutter_screenutil.dart';
3 | import 'package:google_fonts/google_fonts.dart';
4 | import 'package:language_learning_ui/constants.dart';
5 |
6 | class PrimaryButton extends StatelessWidget {
7 | final String text;
8 | final Function onPressed;
9 | PrimaryButton({this.text, this.onPressed});
10 | @override
11 | Widget build(BuildContext context) {
12 | return InkWell(
13 | onTap: this.onPressed,
14 | child: Container(
15 | width: double.infinity,
16 | height: ScreenUtil().setHeight(50.0),
17 | decoration: BoxDecoration(
18 | color: Constants.primaryColor,
19 | borderRadius: BorderRadius.circular(8.0),
20 | boxShadow: [
21 | BoxShadow(
22 | color: Color.fromRGBO(169, 176, 185, 0.42),
23 | spreadRadius: 0,
24 | blurRadius: 8,
25 | offset: Offset(0, 2), // changes position of shadow
26 | ),
27 | ],
28 | ),
29 | child: Center(
30 | child: Text(
31 | this.text,
32 | style: GoogleFonts.roboto(
33 | color: Colors.white,
34 | fontSize: 18.0,
35 | fontWeight: FontWeight.w600,
36 | ),
37 | ),
38 | ),
39 | ),
40 | );
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/lib/widgets/social_logins.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_icons/flutter_icons.dart';
3 | import 'package:flutter_screenutil/flutter_screenutil.dart';
4 | import 'package:flutter_svg/svg.dart';
5 |
6 | class SocialLogins extends StatelessWidget {
7 | @override
8 | Widget build(BuildContext context) {
9 | return Row(
10 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
11 | children: [
12 | Expanded(
13 | child: InkWell(
14 | child: Container(
15 | margin: EdgeInsets.only(right: 5.0),
16 | height: ScreenUtil().setHeight(36.0),
17 | padding: EdgeInsets.symmetric(horizontal: 13.0),
18 | decoration: BoxDecoration(
19 | color: Color.fromRGBO(59, 89, 153, 1),
20 | borderRadius: BorderRadius.circular(25.0),
21 | boxShadow: [
22 | BoxShadow(
23 | color: Color.fromRGBO(169, 176, 185, 0.42),
24 | spreadRadius: 0,
25 | blurRadius: 8,
26 | offset: Offset(0, 2), // changes position of shadow
27 | ),
28 | ],
29 | ),
30 | child: Row(
31 | mainAxisAlignment: MainAxisAlignment.center,
32 | children: [
33 | Icon(
34 | FlutterIcons.facebook_mco,
35 | color: Colors.white,
36 | ),
37 | Text(
38 | "Facebook",
39 | style: TextStyle(
40 | color: Colors.white,
41 | fontSize: 12.0,
42 | fontWeight: FontWeight.w600,
43 | ),
44 | ),
45 | ],
46 | ),
47 | ),
48 | ),
49 | ),
50 | Expanded(
51 | child: InkWell(
52 | child: Container(
53 | margin: EdgeInsets.only(right: 5.0),
54 | height: ScreenUtil().setHeight(36.0),
55 | padding: EdgeInsets.symmetric(horizontal: 13.0),
56 | decoration: BoxDecoration(
57 | color: Color.fromRGBO(255, 255, 255, 1),
58 | borderRadius: BorderRadius.circular(25.0),
59 | boxShadow: [
60 | BoxShadow(
61 | color: Color.fromRGBO(169, 176, 185, 0.42),
62 | spreadRadius: 0,
63 | blurRadius: 8,
64 | offset: Offset(0, 2), // changes position of shadow
65 | ),
66 | ],
67 | ),
68 | child: Row(
69 | mainAxisAlignment: MainAxisAlignment.center,
70 | children: [
71 | SvgPicture.asset(
72 | "assets/svg/google.svg",
73 | width: 15.0,
74 | ),
75 | Text(
76 | " Gmail",
77 | style: TextStyle(
78 | color: Color.fromRGBO(35, 38, 43, 1),
79 | fontSize: 12.0,
80 | fontWeight: FontWeight.w600,
81 | ),
82 | ),
83 | ],
84 | ),
85 | ),
86 | ),
87 | ),
88 | Expanded(
89 | child: InkWell(
90 | child: Container(
91 | height: ScreenUtil().setHeight(36.0),
92 | padding: EdgeInsets.symmetric(horizontal: 13.0),
93 | decoration: BoxDecoration(
94 | color: Color.fromRGBO(2, 171, 238, 1),
95 | borderRadius: BorderRadius.circular(25.0),
96 | boxShadow: [
97 | BoxShadow(
98 | color: Color.fromRGBO(169, 176, 185, 0.42),
99 | spreadRadius: 0,
100 | blurRadius: 8,
101 | offset: Offset(0, 2), // changes position of shadow
102 | ),
103 | ],
104 | ),
105 | child: Row(
106 | mainAxisAlignment: MainAxisAlignment.center,
107 | children: [
108 | Icon(
109 | FlutterIcons.twitter_mco,
110 | color: Colors.white,
111 | ),
112 | Text(
113 | " Twitter",
114 | style: TextStyle(
115 | fontSize: 12.0,
116 | color: Colors.white,
117 | fontWeight: FontWeight.w600,
118 | ),
119 | ),
120 | ],
121 | ),
122 | ),
123 | ),
124 | ),
125 | ],
126 | );
127 | }
128 | }
129 |
--------------------------------------------------------------------------------
/lib/widgets/topic_card.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_screenutil/flutter_screenutil.dart';
3 | import 'package:language_learning_ui/constants.dart';
4 | import 'package:language_learning_ui/models/topic_model.dart';
5 | import 'package:language_learning_ui/pages/lesson_screen.dart';
6 |
7 | class TopicCard extends StatelessWidget {
8 | final TopicModel topic;
9 | TopicCard({this.topic});
10 | @override
11 | Widget build(BuildContext context) {
12 | return GestureDetector(
13 | onTap: () {
14 | Navigator.of(context).push(
15 | MaterialPageRoute(builder: (BuildContext context) {
16 | return LessonScreen();
17 | }),
18 | );
19 | },
20 | child: Container(
21 | height: ScreenUtil().setHeight(136.0),
22 | width: ScreenUtil().setWidth(246.0),
23 | decoration: BoxDecoration(
24 | color: this.topic.color,
25 | borderRadius: BorderRadius.circular(8.0),
26 | boxShadow: this.topic.boxShadow,
27 | ),
28 | child: Row(
29 | children: [
30 | Expanded(
31 | child: Padding(
32 | padding: const EdgeInsets.all(12.0),
33 | child: Column(
34 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
35 | children: [
36 | Row(
37 | children: [
38 | Container(
39 | width: 30.0,
40 | height: 30.0,
41 | decoration: BoxDecoration(
42 | shape: BoxShape.circle,
43 | color: Colors.white,
44 | ),
45 | child: Center(
46 | child: Text(
47 | this.topic.points,
48 | style: TextStyle(
49 | color: Constants.primaryTextColor,
50 | fontWeight: FontWeight.w600,
51 | ),
52 | ),
53 | ),
54 | ),
55 | SizedBox(
56 | width: 10.0,
57 | ),
58 | Text(
59 | "Points",
60 | style: TextStyle(
61 | color: Colors.white,
62 | fontWeight: FontWeight.w600,
63 | fontSize: 14.0,
64 | ),
65 | )
66 | ],
67 | ),
68 | Text(
69 | this.topic.topic,
70 | style: TextStyle(
71 | color: Colors.white,
72 | fontWeight: FontWeight.w600,
73 | fontSize: 16.0,
74 | ),
75 | ),
76 | Text(
77 | "it takes ${this.topic.time}",
78 | style: TextStyle(
79 | color: Colors.white,
80 | fontSize: 14.0,
81 | ),
82 | )
83 | ],
84 | ),
85 | ),
86 | ),
87 | Expanded(
88 | child: Container(
89 | decoration: BoxDecoration(
90 | image: DecorationImage(
91 | fit: BoxFit.fill,
92 | image: AssetImage(
93 | this.topic.image,
94 | ),
95 | ),
96 | ),
97 | ),
98 | )
99 | ],
100 | ),
101 | ),
102 | );
103 | }
104 | }
105 |
--------------------------------------------------------------------------------
/lib/widgets/topics_list.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_screenutil/flutter_screenutil.dart';
3 | import 'package:language_learning_ui/constants.dart';
4 | import 'package:language_learning_ui/widgets/topic_card.dart';
5 |
6 | class TopicsList extends StatelessWidget {
7 | @override
8 | Widget build(BuildContext context) {
9 | return Container(
10 | height: ScreenUtil().setHeight(150.0),
11 | child: ListView.separated(
12 | separatorBuilder: (BuildContext context, int index) {
13 | return SizedBox(
14 | width: 15.0,
15 | );
16 | },
17 | scrollDirection: Axis.horizontal,
18 | itemCount: Constants.topics.length,
19 | itemBuilder: (BuildContext context, int index) {
20 | return TopicCard(
21 | topic: Constants.topics[index],
22 | );
23 | },
24 | ),
25 | );
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/lib/widgets/user_menu_bar.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_icons/flutter_icons.dart';
3 | import 'package:language_learning_ui/constants.dart';
4 |
5 | class UserMenuBar extends StatelessWidget {
6 | @override
7 | Widget build(BuildContext context) {
8 | return Row(
9 | children: [
10 | CircleAvatar(
11 | backgroundImage: AssetImage("assets/images/profile.png"),
12 | radius: 25.0,
13 | backgroundColor: Colors.transparent,
14 | ),
15 | SizedBox(
16 | width: 15.0,
17 | ),
18 | RichText(
19 | text: TextSpan(
20 | children: [
21 | TextSpan(
22 | text: "Hello,\n",
23 | style: TextStyle(
24 | fontSize: 14.0,
25 | color: Color.fromRGBO(152, 156, 173, 1),
26 | ),
27 | ),
28 | TextSpan(
29 | text: "Jennifer Lee",
30 | style: TextStyle(
31 | fontSize: 16.0,
32 | fontWeight: FontWeight.w600,
33 | color: Constants.primaryTextColor,
34 | ),
35 | ),
36 | ],
37 | ),
38 | ),
39 | Spacer(),
40 | IconButton(
41 | icon: Icon(
42 | FlutterIcons.bell_fea,
43 | color: Constants.primaryTextColor,
44 | ),
45 | onPressed: () {},
46 | )
47 | ],
48 | );
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/pubspec.lock:
--------------------------------------------------------------------------------
1 | # Generated by pub
2 | # See https://dart.dev/tools/pub/glossary#lockfile
3 | packages:
4 | async:
5 | dependency: transitive
6 | description:
7 | name: async
8 | url: "https://pub.dartlang.org"
9 | source: hosted
10 | version: "2.8.2"
11 | boolean_selector:
12 | dependency: transitive
13 | description:
14 | name: boolean_selector
15 | url: "https://pub.dartlang.org"
16 | source: hosted
17 | version: "2.1.0"
18 | characters:
19 | dependency: transitive
20 | description:
21 | name: characters
22 | url: "https://pub.dartlang.org"
23 | source: hosted
24 | version: "1.2.0"
25 | charcode:
26 | dependency: transitive
27 | description:
28 | name: charcode
29 | url: "https://pub.dartlang.org"
30 | source: hosted
31 | version: "1.3.1"
32 | clock:
33 | dependency: transitive
34 | description:
35 | name: clock
36 | url: "https://pub.dartlang.org"
37 | source: hosted
38 | version: "1.1.0"
39 | collection:
40 | dependency: transitive
41 | description:
42 | name: collection
43 | url: "https://pub.dartlang.org"
44 | source: hosted
45 | version: "1.15.0"
46 | cupertino_icons:
47 | dependency: "direct main"
48 | description:
49 | name: cupertino_icons
50 | url: "https://pub.dartlang.org"
51 | source: hosted
52 | version: "1.0.4"
53 | fake_async:
54 | dependency: transitive
55 | description:
56 | name: fake_async
57 | url: "https://pub.dartlang.org"
58 | source: hosted
59 | version: "1.2.0"
60 | flutter:
61 | dependency: "direct main"
62 | description: flutter
63 | source: sdk
64 | version: "0.0.0"
65 | flutter_lints:
66 | dependency: "direct dev"
67 | description:
68 | name: flutter_lints
69 | url: "https://pub.dartlang.org"
70 | source: hosted
71 | version: "1.0.4"
72 | flutter_test:
73 | dependency: "direct dev"
74 | description: flutter
75 | source: sdk
76 | version: "0.0.0"
77 | lints:
78 | dependency: transitive
79 | description:
80 | name: lints
81 | url: "https://pub.dartlang.org"
82 | source: hosted
83 | version: "1.0.1"
84 | matcher:
85 | dependency: transitive
86 | description:
87 | name: matcher
88 | url: "https://pub.dartlang.org"
89 | source: hosted
90 | version: "0.12.11"
91 | material_color_utilities:
92 | dependency: transitive
93 | description:
94 | name: material_color_utilities
95 | url: "https://pub.dartlang.org"
96 | source: hosted
97 | version: "0.1.3"
98 | meta:
99 | dependency: transitive
100 | description:
101 | name: meta
102 | url: "https://pub.dartlang.org"
103 | source: hosted
104 | version: "1.7.0"
105 | path:
106 | dependency: transitive
107 | description:
108 | name: path
109 | url: "https://pub.dartlang.org"
110 | source: hosted
111 | version: "1.8.0"
112 | sky_engine:
113 | dependency: transitive
114 | description: flutter
115 | source: sdk
116 | version: "0.0.99"
117 | source_span:
118 | dependency: transitive
119 | description:
120 | name: source_span
121 | url: "https://pub.dartlang.org"
122 | source: hosted
123 | version: "1.8.1"
124 | stack_trace:
125 | dependency: transitive
126 | description:
127 | name: stack_trace
128 | url: "https://pub.dartlang.org"
129 | source: hosted
130 | version: "1.10.0"
131 | stream_channel:
132 | dependency: transitive
133 | description:
134 | name: stream_channel
135 | url: "https://pub.dartlang.org"
136 | source: hosted
137 | version: "2.1.0"
138 | string_scanner:
139 | dependency: transitive
140 | description:
141 | name: string_scanner
142 | url: "https://pub.dartlang.org"
143 | source: hosted
144 | version: "1.1.0"
145 | term_glyph:
146 | dependency: transitive
147 | description:
148 | name: term_glyph
149 | url: "https://pub.dartlang.org"
150 | source: hosted
151 | version: "1.2.0"
152 | test_api:
153 | dependency: transitive
154 | description:
155 | name: test_api
156 | url: "https://pub.dartlang.org"
157 | source: hosted
158 | version: "0.4.8"
159 | typed_data:
160 | dependency: transitive
161 | description:
162 | name: typed_data
163 | url: "https://pub.dartlang.org"
164 | source: hosted
165 | version: "1.3.0"
166 | vector_math:
167 | dependency: transitive
168 | description:
169 | name: vector_math
170 | url: "https://pub.dartlang.org"
171 | source: hosted
172 | version: "2.1.1"
173 | sdks:
174 | dart: ">=2.16.0-134.0.dev <3.0.0"
175 |
--------------------------------------------------------------------------------
/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: language_learning_ui
2 | description: A new Flutter project.
3 |
4 | # The following line prevents the package from being accidentally published to
5 | # pub.dev using `pub publish`. This is preferred for private packages.
6 | publish_to: "none" # Remove this line if you wish to publish to pub.dev
7 |
8 | # The following defines the version and build number for your application.
9 | # A version number is three numbers separated by dots, like 1.2.43
10 | # followed by an optional build number separated by a +.
11 | # Both the version and the builder number may be overridden in flutter
12 | # build by specifying --build-name and --build-number, respectively.
13 | # In Android, build-name is used as versionName while build-number used as versionCode.
14 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
15 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
16 | # Read more about iOS versioning at
17 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
18 | version: 1.0.0+1
19 |
20 | environment:
21 | sdk: ">=2.7.0 <3.0.0"
22 |
23 | dependencies:
24 | flutter:
25 | sdk: flutter
26 | cupertino_icons: ^1.0.0
27 | flutter_icons: ^1.1.0
28 | flutter_screenutil: ^5.0.0+2
29 | flutter_svg: ^0.22.0
30 | google_fonts: ^2.1.0
31 |
32 | dev_dependencies:
33 | flutter_test:
34 | sdk: flutter
35 |
36 | # For information on the generic Dart part of this file, see the
37 | # following page: https://dart.dev/tools/pub/pubspec
38 | # The following section is specific to Flutter.
39 | flutter:
40 | # The following line ensures that the Material Icons font is
41 | # included with your application, so that you can use the icons in
42 | # the material Icons class.
43 | uses-material-design: true
44 |
45 | # To add assets to your application, add an assets section, like this:
46 | assets:
47 | - assets/images/
48 | - assets/svg/
49 | # - images/a_dot_ham.jpeg
50 | # An image asset can refer to one or more resolution-specific "variants", see
51 | # https://flutter.dev/assets-and-images/#resolution-aware.
52 | # For details regarding adding assets from package dependencies, see
53 | # https://flutter.dev/assets-and-images/#from-packages
54 | # To add custom fonts to your application, add a fonts section here,
55 | # in this "flutter" section. Each entry in this list should have a
56 | # "family" key with the font family name, and a "fonts" key with a
57 | # list giving the asset and other descriptors for the font. For
58 | # example:
59 | # fonts:
60 | # - family: Schyler
61 | # fonts:
62 | # - asset: fonts/Schyler-Regular.ttf
63 | # - asset: fonts/Schyler-Italic.ttf
64 | # style: italic
65 | # - family: Trajan Pro
66 | # fonts:
67 | # - asset: fonts/TrajanPro.ttf
68 | # - asset: fonts/TrajanPro_Bold.ttf
69 | # weight: 700
70 | #
71 | # For details regarding fonts from package dependencies,
72 | # see https://flutter.dev/custom-fonts/#from-packages
73 |
--------------------------------------------------------------------------------
/test/widget_test.dart:
--------------------------------------------------------------------------------
1 | // This is a basic Flutter widget test.
2 | //
3 | // To perform an interaction with a widget in your test, use the WidgetTester
4 | // utility that Flutter provides. For example, you can send tap and scroll
5 | // gestures. You can also use WidgetTester to find child widgets in the widget
6 | // tree, read text, and verify that the values of widget properties are correct.
7 |
8 | import 'package:flutter/material.dart';
9 | import 'package:flutter_test/flutter_test.dart';
10 |
11 | import 'package:aris_language_learning/main.dart';
12 |
13 | void main() {
14 | testWidgets('Counter increments smoke test', (WidgetTester tester) async {
15 | // Build our app and trigger a frame.
16 | await tester.pumpWidget(const MyApp());
17 |
18 | // Verify that our counter starts at 0.
19 | expect(find.text('0'), findsOneWidget);
20 | expect(find.text('1'), findsNothing);
21 |
22 | // Tap the '+' icon and trigger a frame.
23 | await tester.tap(find.byIcon(Icons.add));
24 | await tester.pump();
25 |
26 | // Verify that our counter has incremented.
27 | expect(find.text('0'), findsNothing);
28 | expect(find.text('1'), findsOneWidget);
29 | });
30 | }
31 |
--------------------------------------------------------------------------------
/web/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/web/favicon.png
--------------------------------------------------------------------------------
/web/icons/Icon-192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/web/icons/Icon-192.png
--------------------------------------------------------------------------------
/web/icons/Icon-512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/web/icons/Icon-512.png
--------------------------------------------------------------------------------
/web/icons/Icon-maskable-192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/web/icons/Icon-maskable-192.png
--------------------------------------------------------------------------------
/web/icons/Icon-maskable-512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ariscybertech/aris_language_learning/34ab934567f6ffdbf863d7e3d54bdbb9c3e5006f/web/icons/Icon-maskable-512.png
--------------------------------------------------------------------------------
/web/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 | aris_language_learning
33 |
34 |
35 |
36 |
39 |
103 |
104 |
105 |
--------------------------------------------------------------------------------
/web/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "aris_language_learning",
3 | "short_name": "aris_language_learning",
4 | "start_url": ".",
5 | "display": "standalone",
6 | "background_color": "#0175C2",
7 | "theme_color": "#0175C2",
8 | "description": "A new Flutter project.",
9 | "orientation": "portrait-primary",
10 | "prefer_related_applications": false,
11 | "icons": [
12 | {
13 | "src": "icons/Icon-192.png",
14 | "sizes": "192x192",
15 | "type": "image/png"
16 | },
17 | {
18 | "src": "icons/Icon-512.png",
19 | "sizes": "512x512",
20 | "type": "image/png"
21 | },
22 | {
23 | "src": "icons/Icon-maskable-192.png",
24 | "sizes": "192x192",
25 | "type": "image/png",
26 | "purpose": "maskable"
27 | },
28 | {
29 | "src": "icons/Icon-maskable-512.png",
30 | "sizes": "512x512",
31 | "type": "image/png",
32 | "purpose": "maskable"
33 | }
34 | ]
35 | }
36 |
--------------------------------------------------------------------------------