├── .github ├── FUNDING.yml └── workflows │ └── dart.yml ├── .gitignore ├── .metadata ├── LICENSE ├── README.md ├── android ├── .gitignore ├── app │ ├── build.gradle │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── kotlin │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── flutter_smart_course │ │ │ │ └── MainActivity.kt │ │ └── res │ │ │ ├── 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 │ │ │ └── styles.xml │ │ └── profile │ │ └── AndroidManifest.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── ios ├── .gitignore ├── Flutter │ ├── AppFrameworkInfo.plist │ ├── Debug.xcconfig │ └── Release.xcconfig ├── Runner.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── Runner.xcscheme ├── Runner.xcworkspace │ └── contents.xcworkspacedata └── 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 ├── main.dart └── src │ ├── helper │ ├── courseModel.dart │ └── quad_clipper.dart │ ├── pages │ ├── home_page.dart │ └── recomended_page.dart │ └── theme │ ├── color │ └── light_color.dart │ └── theme.dart ├── pubspec.lock ├── pubspec.yaml ├── screenshots ├── screenshot_1.jpg ├── screenshot_2.jpg ├── screenshot_ios_1.png └── screenshot_ios_2.png └── test └── widget_test.dart /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [thealphamerc] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: ['https://www.paypal.me/TheAlphamerc', 'https://www.buymeacoffee.com/thealphamerc'] 13 | -------------------------------------------------------------------------------- /.github/workflows/dart.yml: -------------------------------------------------------------------------------- 1 | name: Dart CI 2 | 3 | on: [push] 4 | 5 | jobs: 6 | build-and-test: 7 | runs-on: ubuntu-latest 8 | steps: 9 | - uses: actions/checkout@v1 10 | - uses: actions/setup-java@v1 11 | with: 12 | java-version: '12.x' 13 | - uses: subosito/flutter-action@v1 14 | with: 15 | channel: 'stable' 16 | # Get flutter packages 17 | - run: flutter pub get 18 | # Build :D 19 | - run: flutter build aot 20 | -------------------------------------------------------------------------------- /.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 | .dart_tool/ 26 | .flutter-plugins 27 | .flutter-plugins-dependencies 28 | .packages 29 | .pub-cache/ 30 | .pub/ 31 | /build/ 32 | 33 | # Web related 34 | lib/generated_plugin_registrant.dart 35 | 36 | # Exceptions to above rules. 37 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages 38 | -------------------------------------------------------------------------------- /.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: 0b8abb4724aa590dd0f429683339b1e045a1594d 8 | channel: stable 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | BSD 2-Clause License 2 | 3 | Copyright (c) 2020, Sonu Sharma 4 | All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions are met: 8 | 9 | 1. Redistributions of source code must retain the above copyright notice, this 10 | list of conditions and the following disclaimer. 11 | 12 | 2. Redistributions in binary form must reproduce the above copyright notice, 13 | this list of conditions and the following disclaimer in the documentation 14 | and/or other materials provided with the distribution. 15 | 16 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 19 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 20 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 22 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 23 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 24 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## flutter_smart_course ![Twitter URL](https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Ftwitter.com%2Fthealphamerc) [![GitHub stars](https://img.shields.io/github/stars/Thealphamerc/flutter_smart_course?style=social)](https://github.com/login?return_to=%2FTheAlphamerc%flutter_smart_course) ![GitHub forks](https://img.shields.io/github/forks/TheAlphamerc/flutter_smart_course?style=social) ![GitHub last commit](https://img.shields.io/github/last-commit/Thealphamerc/flutter_smart_course) ![Dart CI](https://github.com/TheAlphamerc/flutter_smart_course/workflows/Dart%20CI/badge.svg) [![Open Source Love](https://badges.frapsoft.com/os/v2/open-source.svg?v=103)](https://github.com/Thealphamerc/flutter_smart_course) 2 | 3 | Smart course app is built in flutter. App design is based on [Smart Course](https://dribbble.com/shots/10090738-SmartCourse) designed by [Nugraha Jati Utama](https://dribbble.com/nugrahajatiutama) 4 | 5 | 6 | 7 | 8 | ## Screenshots 9 | 10 | Android HomePage | Android Recommend Page 11 | :-------------------------:|:-------------------------: 12 | ![](https://github.com/TheAlphamerc/flutter_smart_course/blob/master/screenshots/screenshot_1.jpg?raw=true)|![](https://github.com/TheAlphamerc/flutter_smart_course/blob/master/screenshots/screenshot_2.jpg?raw=true) 13 | 14 | iOS HomePage | iOS Recommend Page 15 | :-------------------------:|:-------------------------: 16 | ![](https://github.com/TheAlphamerc/flutter_smart_course/blob/master/screenshots/screenshot_ios_1.png?raw=true)|![](https://github.com/TheAlphamerc/flutter_smart_course/blob/master/screenshots/screenshot_ios_2.png?raw=true) 17 | 18 | ## Pull Requests 19 | 20 | I welcome and encourage all pull requests. It usually will take me within 24-48 hours to respond to any issue or request. 21 | 22 | ## Created & Maintained By 23 | 24 | [Sonu Sharma](https://github.com/TheAlphamerc) ([Twitter](https://www.twitter.com/TheAlphamerc)) ([Youtube](https://www.youtube.com/user/sonusharma045sonu/)) 25 | ([Insta](https://www.instagram.com/_sonu_sharma__)) ![Twitter Follow](https://img.shields.io/twitter/follow/thealphamerc?style=social) 26 | 27 | > If you found this project helpful or you learned something from the source code and want to thank me, consider buying me a cup of :coffee: 28 | > 29 | > * [PayPal](https://www.paypal.me/TheAlphamerc/) 30 | 31 | > You can also nominate me for Github Star developer program 32 | > https://stars.github.com/nominate 33 | 34 | ## Visitors Count 35 | 36 | Loading 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | /.gradle 3 | /captures/ 4 | /gradlew 5 | /gradlew.bat 6 | /local.properties 7 | GeneratedPluginRegistrant.java 8 | -------------------------------------------------------------------------------- /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 28 30 | 31 | sourceSets { 32 | main.java.srcDirs += 'src/main/kotlin' 33 | } 34 | 35 | lintOptions { 36 | disable 'InvalidPackage' 37 | } 38 | 39 | defaultConfig { 40 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 41 | applicationId "com.example.flutter_smart_course" 42 | minSdkVersion 16 43 | targetSdkVersion 28 44 | versionCode flutterVersionCode.toInteger() 45 | versionName flutterVersionName 46 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 47 | } 48 | 49 | buildTypes { 50 | release { 51 | // TODO: Add your own signing config for the release build. 52 | // Signing with the debug keys for now, so `flutter run --release` works. 53 | signingConfig signingConfigs.debug 54 | } 55 | } 56 | } 57 | 58 | flutter { 59 | source '../..' 60 | } 61 | 62 | dependencies { 63 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 64 | testImplementation 'junit:junit:4.12' 65 | androidTestImplementation 'androidx.test:runner:1.1.1' 66 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1' 67 | } 68 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 8 | 12 | 19 | 20 | 21 | 22 | 23 | 24 | 26 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /android/app/src/main/kotlin/com/example/flutter_smart_course/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.flutter_smart_course 2 | 3 | import androidx.annotation.NonNull; 4 | import io.flutter.embedding.android.FlutterActivity 5 | import io.flutter.embedding.engine.FlutterEngine 6 | import io.flutter.plugins.GeneratedPluginRegistrant 7 | 8 | class MainActivity: FlutterActivity() { 9 | override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) { 10 | GeneratedPluginRegistrant.registerWith(flutterEngine); 11 | } 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/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.3.50' 3 | repositories { 4 | google() 5 | jcenter() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:3.5.0' 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | } 12 | } 13 | 14 | allprojects { 15 | repositories { 16 | google() 17 | jcenter() 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.enableR8=true 3 | android.useAndroidX=true 4 | android.enableJetifier=true 5 | -------------------------------------------------------------------------------- /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-5.6.2-all.zip 7 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def flutterProjectRoot = rootProject.projectDir.parentFile.toPath() 4 | 5 | def plugins = new Properties() 6 | def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins') 7 | if (pluginsFile.exists()) { 8 | pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) } 9 | } 10 | 11 | plugins.each { name, path -> 12 | def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile() 13 | include ":$name" 14 | project(":$name").projectDir = pluginDirectory 15 | } 16 | -------------------------------------------------------------------------------- /ios/.gitignore: -------------------------------------------------------------------------------- 1 | *.mode1v3 2 | *.mode2v3 3 | *.moved-aside 4 | *.pbxuser 5 | *.perspectivev3 6 | **/*sync/ 7 | .sconsign.dblite 8 | .tags* 9 | **/.vagrant/ 10 | **/DerivedData/ 11 | Icon? 12 | **/Pods/ 13 | **/.symlinks/ 14 | profile 15 | xcuserdata 16 | **/.generated/ 17 | Flutter/App.framework 18 | Flutter/Flutter.framework 19 | Flutter/Flutter.podspec 20 | Flutter/Generated.xcconfig 21 | Flutter/app.flx 22 | Flutter/app.zip 23 | Flutter/flutter_assets/ 24 | Flutter/flutter_export_environment.sh 25 | ServiceDefinitions.json 26 | Runner/GeneratedPluginRegistrant.* 27 | 28 | # Exceptions to above rules. 29 | !default.mode1v3 30 | !default.mode2v3 31 | !default.pbxuser 32 | !default.perspectivev3 33 | -------------------------------------------------------------------------------- /ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 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 | 8.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 = 46; 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 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; }; 13 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 14 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 15 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; }; 16 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 17 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 18 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 19 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 20 | /* End PBXBuildFile section */ 21 | 22 | /* Begin PBXCopyFilesBuildPhase section */ 23 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 24 | isa = PBXCopyFilesBuildPhase; 25 | buildActionMask = 2147483647; 26 | dstPath = ""; 27 | dstSubfolderSpec = 10; 28 | files = ( 29 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */, 30 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */, 31 | ); 32 | name = "Embed Frameworks"; 33 | runOnlyForDeploymentPostprocessing = 0; 34 | }; 35 | /* End PBXCopyFilesBuildPhase section */ 36 | 37 | /* Begin PBXFileReference section */ 38 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 39 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 40 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 41 | 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; }; 42 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 43 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 44 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 45 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 46 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 47 | 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; }; 48 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 50 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 51 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 52 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 53 | /* End PBXFileReference section */ 54 | 55 | /* Begin PBXFrameworksBuildPhase section */ 56 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 57 | isa = PBXFrameworksBuildPhase; 58 | buildActionMask = 2147483647; 59 | files = ( 60 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */, 61 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */, 62 | ); 63 | runOnlyForDeploymentPostprocessing = 0; 64 | }; 65 | /* End PBXFrameworksBuildPhase section */ 66 | 67 | /* Begin PBXGroup section */ 68 | 9740EEB11CF90186004384FC /* Flutter */ = { 69 | isa = PBXGroup; 70 | children = ( 71 | 3B80C3931E831B6300D905FE /* App.framework */, 72 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 73 | 9740EEBA1CF902C7004384FC /* Flutter.framework */, 74 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 75 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 76 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 77 | ); 78 | name = Flutter; 79 | sourceTree = ""; 80 | }; 81 | 97C146E51CF9000F007C117D = { 82 | isa = PBXGroup; 83 | children = ( 84 | 9740EEB11CF90186004384FC /* Flutter */, 85 | 97C146F01CF9000F007C117D /* Runner */, 86 | 97C146EF1CF9000F007C117D /* Products */, 87 | ); 88 | sourceTree = ""; 89 | }; 90 | 97C146EF1CF9000F007C117D /* Products */ = { 91 | isa = PBXGroup; 92 | children = ( 93 | 97C146EE1CF9000F007C117D /* Runner.app */, 94 | ); 95 | name = Products; 96 | sourceTree = ""; 97 | }; 98 | 97C146F01CF9000F007C117D /* Runner */ = { 99 | isa = PBXGroup; 100 | children = ( 101 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 102 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 103 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 104 | 97C147021CF9000F007C117D /* Info.plist */, 105 | 97C146F11CF9000F007C117D /* Supporting Files */, 106 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 107 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 108 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, 109 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, 110 | ); 111 | path = Runner; 112 | sourceTree = ""; 113 | }; 114 | 97C146F11CF9000F007C117D /* Supporting Files */ = { 115 | isa = PBXGroup; 116 | children = ( 117 | ); 118 | name = "Supporting Files"; 119 | sourceTree = ""; 120 | }; 121 | /* End PBXGroup section */ 122 | 123 | /* Begin PBXNativeTarget section */ 124 | 97C146ED1CF9000F007C117D /* Runner */ = { 125 | isa = PBXNativeTarget; 126 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 127 | buildPhases = ( 128 | 9740EEB61CF901F6004384FC /* Run Script */, 129 | 97C146EA1CF9000F007C117D /* Sources */, 130 | 97C146EB1CF9000F007C117D /* Frameworks */, 131 | 97C146EC1CF9000F007C117D /* Resources */, 132 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 133 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 134 | ); 135 | buildRules = ( 136 | ); 137 | dependencies = ( 138 | ); 139 | name = Runner; 140 | productName = Runner; 141 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 142 | productType = "com.apple.product-type.application"; 143 | }; 144 | /* End PBXNativeTarget section */ 145 | 146 | /* Begin PBXProject section */ 147 | 97C146E61CF9000F007C117D /* Project object */ = { 148 | isa = PBXProject; 149 | attributes = { 150 | LastUpgradeCheck = 1020; 151 | ORGANIZATIONNAME = "The Chromium Authors"; 152 | TargetAttributes = { 153 | 97C146ED1CF9000F007C117D = { 154 | CreatedOnToolsVersion = 7.3.1; 155 | LastSwiftMigration = 1100; 156 | }; 157 | }; 158 | }; 159 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 160 | compatibilityVersion = "Xcode 3.2"; 161 | developmentRegion = en; 162 | hasScannedForEncodings = 0; 163 | knownRegions = ( 164 | en, 165 | Base, 166 | ); 167 | mainGroup = 97C146E51CF9000F007C117D; 168 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 169 | projectDirPath = ""; 170 | projectRoot = ""; 171 | targets = ( 172 | 97C146ED1CF9000F007C117D /* Runner */, 173 | ); 174 | }; 175 | /* End PBXProject section */ 176 | 177 | /* Begin PBXResourcesBuildPhase section */ 178 | 97C146EC1CF9000F007C117D /* Resources */ = { 179 | isa = PBXResourcesBuildPhase; 180 | buildActionMask = 2147483647; 181 | files = ( 182 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 183 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 184 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 185 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 186 | ); 187 | runOnlyForDeploymentPostprocessing = 0; 188 | }; 189 | /* End PBXResourcesBuildPhase section */ 190 | 191 | /* Begin PBXShellScriptBuildPhase section */ 192 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 193 | isa = PBXShellScriptBuildPhase; 194 | buildActionMask = 2147483647; 195 | files = ( 196 | ); 197 | inputPaths = ( 198 | ); 199 | name = "Thin Binary"; 200 | outputPaths = ( 201 | ); 202 | runOnlyForDeploymentPostprocessing = 0; 203 | shellPath = /bin/sh; 204 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin"; 205 | }; 206 | 9740EEB61CF901F6004384FC /* Run Script */ = { 207 | isa = PBXShellScriptBuildPhase; 208 | buildActionMask = 2147483647; 209 | files = ( 210 | ); 211 | inputPaths = ( 212 | ); 213 | name = "Run Script"; 214 | outputPaths = ( 215 | ); 216 | runOnlyForDeploymentPostprocessing = 0; 217 | shellPath = /bin/sh; 218 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 219 | }; 220 | /* End PBXShellScriptBuildPhase section */ 221 | 222 | /* Begin PBXSourcesBuildPhase section */ 223 | 97C146EA1CF9000F007C117D /* Sources */ = { 224 | isa = PBXSourcesBuildPhase; 225 | buildActionMask = 2147483647; 226 | files = ( 227 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, 228 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 229 | ); 230 | runOnlyForDeploymentPostprocessing = 0; 231 | }; 232 | /* End PBXSourcesBuildPhase section */ 233 | 234 | /* Begin PBXVariantGroup section */ 235 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 236 | isa = PBXVariantGroup; 237 | children = ( 238 | 97C146FB1CF9000F007C117D /* Base */, 239 | ); 240 | name = Main.storyboard; 241 | sourceTree = ""; 242 | }; 243 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 244 | isa = PBXVariantGroup; 245 | children = ( 246 | 97C147001CF9000F007C117D /* Base */, 247 | ); 248 | name = LaunchScreen.storyboard; 249 | sourceTree = ""; 250 | }; 251 | /* End PBXVariantGroup section */ 252 | 253 | /* Begin XCBuildConfiguration section */ 254 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 255 | isa = XCBuildConfiguration; 256 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 257 | buildSettings = { 258 | ALWAYS_SEARCH_USER_PATHS = NO; 259 | CLANG_ANALYZER_NONNULL = YES; 260 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 261 | CLANG_CXX_LIBRARY = "libc++"; 262 | CLANG_ENABLE_MODULES = YES; 263 | CLANG_ENABLE_OBJC_ARC = YES; 264 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 265 | CLANG_WARN_BOOL_CONVERSION = YES; 266 | CLANG_WARN_COMMA = YES; 267 | CLANG_WARN_CONSTANT_CONVERSION = YES; 268 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 269 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 270 | CLANG_WARN_EMPTY_BODY = YES; 271 | CLANG_WARN_ENUM_CONVERSION = YES; 272 | CLANG_WARN_INFINITE_RECURSION = YES; 273 | CLANG_WARN_INT_CONVERSION = YES; 274 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 275 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 276 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 277 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 278 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 279 | CLANG_WARN_STRICT_PROTOTYPES = YES; 280 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 281 | CLANG_WARN_UNREACHABLE_CODE = YES; 282 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 283 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 284 | COPY_PHASE_STRIP = NO; 285 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 286 | ENABLE_NS_ASSERTIONS = NO; 287 | ENABLE_STRICT_OBJC_MSGSEND = YES; 288 | GCC_C_LANGUAGE_STANDARD = gnu99; 289 | GCC_NO_COMMON_BLOCKS = YES; 290 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 291 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 292 | GCC_WARN_UNDECLARED_SELECTOR = YES; 293 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 294 | GCC_WARN_UNUSED_FUNCTION = YES; 295 | GCC_WARN_UNUSED_VARIABLE = YES; 296 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 297 | MTL_ENABLE_DEBUG_INFO = NO; 298 | SDKROOT = iphoneos; 299 | SUPPORTED_PLATFORMS = iphoneos; 300 | TARGETED_DEVICE_FAMILY = "1,2"; 301 | VALIDATE_PRODUCT = YES; 302 | }; 303 | name = Profile; 304 | }; 305 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 306 | isa = XCBuildConfiguration; 307 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 308 | buildSettings = { 309 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 310 | CLANG_ENABLE_MODULES = YES; 311 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 312 | ENABLE_BITCODE = NO; 313 | FRAMEWORK_SEARCH_PATHS = ( 314 | "$(inherited)", 315 | "$(PROJECT_DIR)/Flutter", 316 | ); 317 | INFOPLIST_FILE = Runner/Info.plist; 318 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 319 | LIBRARY_SEARCH_PATHS = ( 320 | "$(inherited)", 321 | "$(PROJECT_DIR)/Flutter", 322 | ); 323 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterSmartCourse; 324 | PRODUCT_NAME = "$(TARGET_NAME)"; 325 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 326 | SWIFT_VERSION = 5.0; 327 | VERSIONING_SYSTEM = "apple-generic"; 328 | }; 329 | name = Profile; 330 | }; 331 | 97C147031CF9000F007C117D /* Debug */ = { 332 | isa = XCBuildConfiguration; 333 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 334 | buildSettings = { 335 | ALWAYS_SEARCH_USER_PATHS = NO; 336 | CLANG_ANALYZER_NONNULL = YES; 337 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 338 | CLANG_CXX_LIBRARY = "libc++"; 339 | CLANG_ENABLE_MODULES = YES; 340 | CLANG_ENABLE_OBJC_ARC = YES; 341 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 342 | CLANG_WARN_BOOL_CONVERSION = YES; 343 | CLANG_WARN_COMMA = YES; 344 | CLANG_WARN_CONSTANT_CONVERSION = YES; 345 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 346 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 347 | CLANG_WARN_EMPTY_BODY = YES; 348 | CLANG_WARN_ENUM_CONVERSION = YES; 349 | CLANG_WARN_INFINITE_RECURSION = YES; 350 | CLANG_WARN_INT_CONVERSION = YES; 351 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 352 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 353 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 354 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 355 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 356 | CLANG_WARN_STRICT_PROTOTYPES = YES; 357 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 358 | CLANG_WARN_UNREACHABLE_CODE = YES; 359 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 360 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 361 | COPY_PHASE_STRIP = NO; 362 | DEBUG_INFORMATION_FORMAT = dwarf; 363 | ENABLE_STRICT_OBJC_MSGSEND = YES; 364 | ENABLE_TESTABILITY = YES; 365 | GCC_C_LANGUAGE_STANDARD = gnu99; 366 | GCC_DYNAMIC_NO_PIC = NO; 367 | GCC_NO_COMMON_BLOCKS = YES; 368 | GCC_OPTIMIZATION_LEVEL = 0; 369 | GCC_PREPROCESSOR_DEFINITIONS = ( 370 | "DEBUG=1", 371 | "$(inherited)", 372 | ); 373 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 374 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 375 | GCC_WARN_UNDECLARED_SELECTOR = YES; 376 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 377 | GCC_WARN_UNUSED_FUNCTION = YES; 378 | GCC_WARN_UNUSED_VARIABLE = YES; 379 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 380 | MTL_ENABLE_DEBUG_INFO = YES; 381 | ONLY_ACTIVE_ARCH = YES; 382 | SDKROOT = iphoneos; 383 | TARGETED_DEVICE_FAMILY = "1,2"; 384 | }; 385 | name = Debug; 386 | }; 387 | 97C147041CF9000F007C117D /* Release */ = { 388 | isa = XCBuildConfiguration; 389 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 390 | buildSettings = { 391 | ALWAYS_SEARCH_USER_PATHS = NO; 392 | CLANG_ANALYZER_NONNULL = YES; 393 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 394 | CLANG_CXX_LIBRARY = "libc++"; 395 | CLANG_ENABLE_MODULES = YES; 396 | CLANG_ENABLE_OBJC_ARC = YES; 397 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 398 | CLANG_WARN_BOOL_CONVERSION = YES; 399 | CLANG_WARN_COMMA = YES; 400 | CLANG_WARN_CONSTANT_CONVERSION = YES; 401 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 402 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 403 | CLANG_WARN_EMPTY_BODY = YES; 404 | CLANG_WARN_ENUM_CONVERSION = YES; 405 | CLANG_WARN_INFINITE_RECURSION = YES; 406 | CLANG_WARN_INT_CONVERSION = YES; 407 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 408 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 409 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 410 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 411 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 412 | CLANG_WARN_STRICT_PROTOTYPES = YES; 413 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 414 | CLANG_WARN_UNREACHABLE_CODE = YES; 415 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 416 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 417 | COPY_PHASE_STRIP = NO; 418 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 419 | ENABLE_NS_ASSERTIONS = NO; 420 | ENABLE_STRICT_OBJC_MSGSEND = YES; 421 | GCC_C_LANGUAGE_STANDARD = gnu99; 422 | GCC_NO_COMMON_BLOCKS = YES; 423 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 424 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 425 | GCC_WARN_UNDECLARED_SELECTOR = YES; 426 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 427 | GCC_WARN_UNUSED_FUNCTION = YES; 428 | GCC_WARN_UNUSED_VARIABLE = YES; 429 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 430 | MTL_ENABLE_DEBUG_INFO = NO; 431 | SDKROOT = iphoneos; 432 | SUPPORTED_PLATFORMS = iphoneos; 433 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 434 | TARGETED_DEVICE_FAMILY = "1,2"; 435 | VALIDATE_PRODUCT = YES; 436 | }; 437 | name = Release; 438 | }; 439 | 97C147061CF9000F007C117D /* Debug */ = { 440 | isa = XCBuildConfiguration; 441 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 442 | buildSettings = { 443 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 444 | CLANG_ENABLE_MODULES = YES; 445 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 446 | ENABLE_BITCODE = NO; 447 | FRAMEWORK_SEARCH_PATHS = ( 448 | "$(inherited)", 449 | "$(PROJECT_DIR)/Flutter", 450 | ); 451 | INFOPLIST_FILE = Runner/Info.plist; 452 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 453 | LIBRARY_SEARCH_PATHS = ( 454 | "$(inherited)", 455 | "$(PROJECT_DIR)/Flutter", 456 | ); 457 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterSmartCourse; 458 | PRODUCT_NAME = "$(TARGET_NAME)"; 459 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 460 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 461 | SWIFT_VERSION = 5.0; 462 | VERSIONING_SYSTEM = "apple-generic"; 463 | }; 464 | name = Debug; 465 | }; 466 | 97C147071CF9000F007C117D /* Release */ = { 467 | isa = XCBuildConfiguration; 468 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 469 | buildSettings = { 470 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 471 | CLANG_ENABLE_MODULES = YES; 472 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 473 | ENABLE_BITCODE = NO; 474 | FRAMEWORK_SEARCH_PATHS = ( 475 | "$(inherited)", 476 | "$(PROJECT_DIR)/Flutter", 477 | ); 478 | INFOPLIST_FILE = Runner/Info.plist; 479 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 480 | LIBRARY_SEARCH_PATHS = ( 481 | "$(inherited)", 482 | "$(PROJECT_DIR)/Flutter", 483 | ); 484 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterSmartCourse; 485 | PRODUCT_NAME = "$(TARGET_NAME)"; 486 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 487 | SWIFT_VERSION = 5.0; 488 | VERSIONING_SYSTEM = "apple-generic"; 489 | }; 490 | name = Release; 491 | }; 492 | /* End XCBuildConfiguration section */ 493 | 494 | /* Begin XCConfigurationList section */ 495 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 496 | isa = XCConfigurationList; 497 | buildConfigurations = ( 498 | 97C147031CF9000F007C117D /* Debug */, 499 | 97C147041CF9000F007C117D /* Release */, 500 | 249021D3217E4FDB00AE95B9 /* Profile */, 501 | ); 502 | defaultConfigurationIsVisible = 0; 503 | defaultConfigurationName = Release; 504 | }; 505 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 506 | isa = XCConfigurationList; 507 | buildConfigurations = ( 508 | 97C147061CF9000F007C117D /* Debug */, 509 | 97C147071CF9000F007C117D /* Release */, 510 | 249021D4217E4FDB00AE95B9 /* Profile */, 511 | ); 512 | defaultConfigurationIsVisible = 0; 513 | defaultConfigurationName = Release; 514 | }; 515 | /* End XCConfigurationList section */ 516 | }; 517 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 518 | } 519 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 43 | 44 | 54 | 56 | 62 | 63 | 64 | 65 | 66 | 67 | 73 | 75 | 81 | 82 | 83 | 84 | 86 | 87 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /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/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/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/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/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/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/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/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/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/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/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/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/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/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/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/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/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/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/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/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/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/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/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/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/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/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/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/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/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/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/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/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/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 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | flutter_smart_course 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | $(FLUTTER_BUILD_NAME) 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UISupportedInterfaceOrientations 30 | 31 | UIInterfaceOrientationPortrait 32 | UIInterfaceOrientationLandscapeLeft 33 | UIInterfaceOrientationLandscapeRight 34 | 35 | UISupportedInterfaceOrientations~ipad 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationPortraitUpsideDown 39 | UIInterfaceOrientationLandscapeLeft 40 | UIInterfaceOrientationLandscapeRight 41 | 42 | UIViewControllerBasedStatusBarAppearance 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import 'src/pages/home_page.dart'; 4 | import 'src/theme/theme.dart'; 5 | 6 | void main() => runApp(MyApp()); 7 | 8 | class MyApp extends StatelessWidget { 9 | // This widget is the root of your application. 10 | @override 11 | Widget build(BuildContext context) { 12 | return MaterialApp( 13 | theme: AppTheme.lightTheme, 14 | home: HomePage(), 15 | debugShowCheckedModeBanner: false, 16 | ); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /lib/src/helper/courseModel.dart: -------------------------------------------------------------------------------- 1 | class CourseModel { 2 | String name; 3 | String description; 4 | String university; 5 | String noOfCource; 6 | String tag1; 7 | String tag2; 8 | 9 | CourseModel( 10 | {this.name, 11 | this.description, 12 | this.noOfCource, 13 | this.university, 14 | this.tag1, 15 | this.tag2}); 16 | } 17 | 18 | class CourseList { 19 | static List list = [ 20 | CourseModel( 21 | name: "Data Science", 22 | description: 23 | "Launch your career in data science. A sweet-cource introduction to data science, develop and taught by leading professors.", 24 | university: "Jons Hopkins University", 25 | noOfCource: "17 courses", 26 | tag1: "Data science", 27 | tag2: "Machine Learning"), 28 | CourseModel( 29 | name: "Machine Learning", 30 | description: 31 | "This specialization from leading researchers at university of washington introduce to you to the exciting high-demand field of machine learning ", 32 | university: "University of washington", 33 | noOfCource: "8 courses", 34 | tag1: "Machine Learning", 35 | tag2: "Decision Tree"), 36 | CourseModel( 37 | name: "Big Data", 38 | description: 39 | "Drive better bussiness decision with an overview OF how big data is organised and intepreted. Apply insight to real-world problems and question", 40 | university: "Us San Diego", 41 | noOfCource: "10 courses", 42 | tag1: "Data Data", 43 | tag2: "Apache Spark"), 44 | ]; 45 | } 46 | -------------------------------------------------------------------------------- /lib/src/helper/quad_clipper.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class QuadClipper extends CustomClipper { 4 | @override 5 | Rect getClip(Size size) { 6 | Rect rect = Rect.fromLTRB(0.0, 0.0, size.width / 2, size.height / 2); 7 | return rect; 8 | } 9 | 10 | @override 11 | bool shouldReclip(CustomClipper oldClipper) { 12 | return true; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /lib/src/pages/home_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_smart_course/src/helper/quad_clipper.dart'; 3 | import 'package:flutter_smart_course/src/pages/recomended_page.dart'; 4 | import 'package:flutter_smart_course/src/theme/color/light_color.dart'; 5 | 6 | class HomePage extends StatelessWidget { 7 | const HomePage({Key key}) : super(key: key); 8 | 9 | Widget _header(BuildContext context) { 10 | var width = MediaQuery.of(context).size.width; 11 | return ClipRRect( 12 | borderRadius: BorderRadius.only( 13 | bottomLeft: Radius.circular(50), bottomRight: Radius.circular(50)), 14 | child: Container( 15 | height: 200, 16 | width: width, 17 | decoration: BoxDecoration( 18 | color: LightColor.purple, 19 | ), 20 | child: Stack( 21 | fit: StackFit.expand, 22 | alignment: Alignment.center, 23 | children: [ 24 | Positioned( 25 | top: 30, 26 | right: -100, 27 | child: _circularContainer(300, LightColor.lightpurple)), 28 | Positioned( 29 | top: -100, 30 | left: -45, 31 | child: _circularContainer(width * .5, LightColor.darkpurple)), 32 | Positioned( 33 | top: -180, 34 | right: -30, 35 | child: _circularContainer(width * .7, Colors.transparent, 36 | borderColor: Colors.white38)), 37 | Positioned( 38 | top: 40, 39 | left: 0, 40 | child: Container( 41 | width: width, 42 | padding: EdgeInsets.symmetric(horizontal: 20), 43 | child: Column( 44 | crossAxisAlignment: CrossAxisAlignment.start, 45 | children: [ 46 | Icon( 47 | Icons.keyboard_arrow_left, 48 | color: Colors.white, 49 | size: 40, 50 | ), 51 | SizedBox(height: 10), 52 | Row( 53 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 54 | children: [ 55 | Text( 56 | "Search courses", 57 | style: TextStyle( 58 | color: Colors.white, 59 | fontWeight: FontWeight.w500), 60 | ), 61 | Icon( 62 | Icons.search, 63 | color: Colors.white, 64 | size: 30, 65 | ) 66 | ], 67 | ), 68 | SizedBox(height: 20), 69 | Text( 70 | "Type Something...", 71 | style: TextStyle( 72 | color: Colors.white54, 73 | fontSize: 30, 74 | fontWeight: FontWeight.w500), 75 | ) 76 | ], 77 | ))) 78 | ], 79 | )), 80 | ); 81 | } 82 | 83 | Widget _circularContainer(double height, Color color, 84 | {Color borderColor = Colors.transparent, double borderWidth = 2}) { 85 | return Container( 86 | height: height, 87 | width: height, 88 | decoration: BoxDecoration( 89 | shape: BoxShape.circle, 90 | color: color, 91 | border: Border.all(color: borderColor, width: borderWidth), 92 | ), 93 | ); 94 | } 95 | 96 | Widget _categoryRow( 97 | String title, 98 | Color primary, 99 | Color textColor, 100 | ) { 101 | return Container( 102 | margin: EdgeInsets.symmetric(horizontal: 20), 103 | height: 30, 104 | child: Row( 105 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 106 | children: [ 107 | Text( 108 | title, 109 | style: TextStyle( 110 | color: LightColor.titleTextColor, fontWeight: FontWeight.bold), 111 | ), 112 | _chip("See all", primary) 113 | ], 114 | ), 115 | ); 116 | } 117 | 118 | Widget _featuredRowA(BuildContext context) { 119 | return SingleChildScrollView( 120 | scrollDirection: Axis.horizontal, 121 | child: Container( 122 | child: Row( 123 | mainAxisAlignment: MainAxisAlignment.start, 124 | crossAxisAlignment: CrossAxisAlignment.end, 125 | children: [ 126 | _card(context, 127 | primary: LightColor.orange, 128 | backWidget: 129 | _decorationContainerA(LightColor.lightOrange, 50, -30), 130 | chipColor: LightColor.orange, 131 | chipText1: "Find the right degree for you", 132 | chipText2: "8 Cources", 133 | isPrimaryCard: true, 134 | imgPath: 135 | "https://d1mo3tzxttab3n.cloudfront.net/static/img/shop/560x580/vint0080.jpg"), 136 | _card(context, 137 | primary: Colors.white, 138 | chipColor: LightColor.seeBlue, 139 | backWidget: _decorationContainerB(Colors.white, 90, -40), 140 | chipText1: "Become a data scientist", 141 | chipText2: "8 Cources", 142 | imgPath: 143 | "https://hips.hearstapps.com/esquireuk.cdnds.net/16/39/980x980/square-1475143834-david-gandy.jpg?resize=480:*"), 144 | _card(context, 145 | primary: Colors.white, 146 | chipColor: LightColor.lightOrange, 147 | backWidget: _decorationContainerC(Colors.white, 50, -30), 148 | chipText1: "Become a digital marketer", 149 | chipText2: "8 Cources", 150 | imgPath: 151 | "https://www.visafranchise.com/wp-content/uploads/2019/05/patrick-findaro-visa-franchise-square.jpg"), 152 | _card(context, 153 | primary: Colors.white, 154 | chipColor: LightColor.seeBlue, 155 | backWidget: _decorationContainerD(LightColor.seeBlue, -50, 30, 156 | secondary: LightColor.lightseeBlue, 157 | secondaryAccent: LightColor.darkseeBlue), 158 | chipText1: "Become a machine learner", 159 | chipText2: "8 Cources", 160 | imgPath: 161 | "https://d1mo3tzxttab3n.cloudfront.net/static/img/shop/560x580/vint0080.jpg"), 162 | ], 163 | ), 164 | ), 165 | ); 166 | } 167 | 168 | Widget _featuredRowB(BuildContext context) { 169 | return SingleChildScrollView( 170 | scrollDirection: Axis.horizontal, 171 | child: Container( 172 | child: Row( 173 | mainAxisAlignment: MainAxisAlignment.start, 174 | crossAxisAlignment: CrossAxisAlignment.end, 175 | children: [ 176 | _card(context, 177 | primary: LightColor.seeBlue, 178 | chipColor: LightColor.seeBlue, 179 | backWidget: _decorationContainerD( 180 | LightColor.darkseeBlue, -100, -65, 181 | secondary: LightColor.lightseeBlue, 182 | secondaryAccent: LightColor.seeBlue), 183 | chipText1: "English for career development ", 184 | chipText2: "8 Cources", 185 | isPrimaryCard: true, 186 | imgPath: 187 | "https://www.reiss.com/media/product/946/218/silk-paisley-printed-pocket-square-mens-morocco-in-pink-red-20.jpg?format=jpeg&auto=webp&quality=85&width=1200&height=1200&fit=bounds"), 188 | _card(context, 189 | primary: Colors.white, 190 | chipColor: LightColor.lightpurple, 191 | backWidget: _decorationContainerE( 192 | LightColor.lightpurple, 193 | 90, 194 | -40, 195 | secondary: LightColor.lightseeBlue, 196 | ), 197 | chipText1: "Bussiness foundation", 198 | chipText2: "8 Cources", 199 | imgPath: 200 | "https://i.dailymail.co.uk/i/pix/2016/08/05/19/36E9139400000578-3725856-image-a-58_1470422921868.jpg"), 201 | _card(context, 202 | primary: Colors.white, 203 | chipColor: LightColor.lightOrange, 204 | backWidget: _decorationContainerF( 205 | LightColor.lightOrange, LightColor.orange, 50, -30), 206 | chipText1: "Excel skill for business", 207 | chipText2: "8 Cources", 208 | imgPath: 209 | "https://www.reiss.com/media/product/945/066/03-2.jpg?format=jpeg&auto=webp&quality=85&width=632&height=725&fit=bounds"), 210 | _card(context, 211 | primary: Colors.white, 212 | chipColor: LightColor.seeBlue, 213 | backWidget: _decorationContainerA( 214 | Colors.white, 215 | -50, 216 | 30, 217 | ), 218 | chipText1: "Beacame a data analyst", 219 | chipText2: "8 Cources", 220 | imgPath: 221 | "https://d1mo3tzxttab3n.cloudfront.net/static/img/shop/560x580/vint0080.jpg"), 222 | ], 223 | ), 224 | ), 225 | ); 226 | } 227 | 228 | Widget _card(BuildContext context, 229 | {Color primary = Colors.redAccent, 230 | String imgPath, 231 | String chipText1 = '', 232 | String chipText2 = '', 233 | Widget backWidget, 234 | Color chipColor = LightColor.orange, 235 | bool isPrimaryCard = false}) { 236 | final width = MediaQuery.of(context).size.width; 237 | ; 238 | return Container( 239 | height: isPrimaryCard ? 190 : 180, 240 | width: isPrimaryCard ? width * .32 : width * .32, 241 | margin: EdgeInsets.symmetric(horizontal: 10, vertical: 20), 242 | decoration: BoxDecoration( 243 | color: primary.withAlpha(200), 244 | borderRadius: BorderRadius.all(Radius.circular(20)), 245 | boxShadow: [ 246 | BoxShadow( 247 | offset: Offset(0, 5), 248 | blurRadius: 10, 249 | color: LightColor.lightpurple.withAlpha(20)) 250 | ]), 251 | child: ClipRRect( 252 | borderRadius: BorderRadius.all(Radius.circular(20)), 253 | child: Container( 254 | child: Stack( 255 | children: [ 256 | backWidget, 257 | Positioned( 258 | top: 20, 259 | left: 10, 260 | child: CircleAvatar( 261 | backgroundColor: Colors.grey.shade300, 262 | backgroundImage: NetworkImage(imgPath), 263 | )), 264 | Positioned( 265 | bottom: 10, 266 | left: 10, 267 | child: _cardInfo(context, chipText1, chipText2, 268 | LightColor.titleTextColor, chipColor, 269 | isPrimaryCard: isPrimaryCard), 270 | ) 271 | ], 272 | ), 273 | ), 274 | )); 275 | } 276 | 277 | Widget _cardInfo(BuildContext context, String title, String courses, 278 | Color textColor, Color primary, 279 | {bool isPrimaryCard = false}) { 280 | return Align( 281 | alignment: Alignment.bottomLeft, 282 | child: Column( 283 | crossAxisAlignment: CrossAxisAlignment.start, 284 | children: [ 285 | Container( 286 | padding: EdgeInsets.only(right: 10), 287 | width: MediaQuery.of(context).size.width * .32, 288 | alignment: Alignment.topCenter, 289 | child: Text( 290 | title, 291 | style: TextStyle( 292 | fontSize: 13, 293 | fontWeight: FontWeight.bold, 294 | color: isPrimaryCard ? Colors.white : textColor, 295 | ), 296 | ), 297 | ), 298 | SizedBox(height: 5), 299 | _chip(courses, primary, height: 5, isPrimaryCard: isPrimaryCard) 300 | ], 301 | ), 302 | ); 303 | } 304 | 305 | Widget _chip(String text, Color textColor, 306 | {double height = 0, bool isPrimaryCard = false}) { 307 | return Container( 308 | alignment: Alignment.center, 309 | padding: EdgeInsets.symmetric(horizontal: 10, vertical: height), 310 | decoration: BoxDecoration( 311 | borderRadius: BorderRadius.all(Radius.circular(15)), 312 | color: textColor.withAlpha(isPrimaryCard ? 200 : 50), 313 | ), 314 | child: Text( 315 | text, 316 | style: TextStyle( 317 | color: isPrimaryCard ? Colors.white : textColor, fontSize: 12), 318 | ), 319 | ); 320 | } 321 | 322 | Widget _decorationContainerA(Color primary, double top, double left) { 323 | return Stack( 324 | children: [ 325 | Positioned( 326 | top: top, 327 | left: left, 328 | child: CircleAvatar( 329 | radius: 100, 330 | backgroundColor: primary.withAlpha(255), 331 | ), 332 | ), 333 | _smallContainer(primary, 20, 40), 334 | Positioned( 335 | top: 20, 336 | right: -30, 337 | child: _circularContainer(80, Colors.transparent, 338 | borderColor: Colors.white), 339 | ) 340 | ], 341 | ); 342 | } 343 | 344 | Widget _decorationContainerB(Color primary, double top, double left) { 345 | return Stack( 346 | children: [ 347 | Positioned( 348 | top: -65, 349 | right: -65, 350 | child: CircleAvatar( 351 | radius: 70, 352 | backgroundColor: Colors.blue.shade100, 353 | child: CircleAvatar(radius: 30, backgroundColor: primary), 354 | ), 355 | ), 356 | Positioned( 357 | top: 35, 358 | right: -40, 359 | child: ClipRect( 360 | clipper: QuadClipper(), 361 | child: CircleAvatar( 362 | backgroundColor: LightColor.lightseeBlue, radius: 40))) 363 | ], 364 | ); 365 | } 366 | 367 | Widget _decorationContainerC(Color primary, double top, double left) { 368 | return Stack( 369 | children: [ 370 | Positioned( 371 | top: -105, 372 | left: -35, 373 | child: CircleAvatar( 374 | radius: 70, 375 | backgroundColor: LightColor.orange.withAlpha(100), 376 | ), 377 | ), 378 | Positioned( 379 | top: 35, 380 | right: -40, 381 | child: ClipRect( 382 | clipper: QuadClipper(), 383 | child: CircleAvatar( 384 | backgroundColor: LightColor.orange, radius: 40))), 385 | _smallContainer( 386 | LightColor.yellow, 387 | 35, 388 | 70, 389 | ) 390 | ], 391 | ); 392 | } 393 | 394 | Widget _decorationContainerD(Color primary, double top, double left, 395 | {Color secondary, Color secondaryAccent}) { 396 | return Stack( 397 | children: [ 398 | Positioned( 399 | top: top, 400 | left: left, 401 | child: CircleAvatar( 402 | radius: 100, 403 | backgroundColor: secondary, 404 | ), 405 | ), 406 | _smallContainer(LightColor.yellow, 18, 35, radius: 12), 407 | Positioned( 408 | top: 130, 409 | left: -50, 410 | child: CircleAvatar( 411 | radius: 80, 412 | backgroundColor: primary, 413 | child: CircleAvatar(radius: 50, backgroundColor: secondaryAccent), 414 | ), 415 | ), 416 | Positioned( 417 | top: -30, 418 | right: -40, 419 | child: _circularContainer(80, Colors.transparent, 420 | borderColor: Colors.white), 421 | ) 422 | ], 423 | ); 424 | } 425 | 426 | Widget _decorationContainerE(Color primary, double top, double left, 427 | {Color secondary}) { 428 | return Stack( 429 | children: [ 430 | Positioned( 431 | top: -105, 432 | left: -35, 433 | child: CircleAvatar( 434 | radius: 70, 435 | backgroundColor: primary.withAlpha(100), 436 | ), 437 | ), 438 | Positioned( 439 | top: 40, 440 | right: -25, 441 | child: ClipRect( 442 | clipper: QuadClipper(), 443 | child: CircleAvatar(backgroundColor: primary, radius: 40))), 444 | Positioned( 445 | top: 45, 446 | right: -50, 447 | child: ClipRect( 448 | clipper: QuadClipper(), 449 | child: CircleAvatar(backgroundColor: secondary, radius: 50))), 450 | _smallContainer(LightColor.yellow, 15, 90, radius: 5) 451 | ], 452 | ); 453 | } 454 | 455 | Widget _decorationContainerF( 456 | Color primary, Color secondary, double top, double left) { 457 | return Stack( 458 | children: [ 459 | Positioned( 460 | top: 25, 461 | right: -20, 462 | child: RotatedBox( 463 | quarterTurns: 1, 464 | child: ClipRect( 465 | clipper: QuadClipper(), 466 | child: CircleAvatar( 467 | backgroundColor: primary.withAlpha(100), radius: 50)), 468 | )), 469 | Positioned( 470 | top: 34, 471 | right: -8, 472 | child: ClipRect( 473 | clipper: QuadClipper(), 474 | child: CircleAvatar( 475 | backgroundColor: secondary.withAlpha(100), radius: 40))), 476 | _smallContainer(LightColor.yellow, 15, 90, radius: 5) 477 | ], 478 | ); 479 | } 480 | 481 | Positioned _smallContainer(Color primary, double top, double left, 482 | {double radius = 10}) { 483 | return Positioned( 484 | top: top, 485 | left: left, 486 | child: CircleAvatar( 487 | radius: radius, 488 | backgroundColor: primary.withAlpha(255), 489 | )); 490 | } 491 | 492 | BottomNavigationBarItem _bottomIcons(IconData icon) { 493 | return BottomNavigationBarItem(icon: Icon(icon), label: ""); 494 | } 495 | 496 | @override 497 | Widget build(BuildContext context) { 498 | return Scaffold( 499 | bottomNavigationBar: BottomNavigationBar( 500 | showSelectedLabels: false, 501 | showUnselectedLabels: false, 502 | selectedItemColor: LightColor.purple, 503 | unselectedItemColor: Colors.grey.shade300, 504 | type: BottomNavigationBarType.fixed, 505 | backgroundColor: Colors.white, 506 | currentIndex: 0, 507 | items: [ 508 | _bottomIcons(Icons.home), 509 | _bottomIcons(Icons.star_border), 510 | _bottomIcons(Icons.book), 511 | _bottomIcons(Icons.person), 512 | ], 513 | onTap: (index) { 514 | Navigator.pushReplacement( 515 | context, 516 | MaterialPageRoute( 517 | builder: (context) => RecomendedPage(), 518 | ), 519 | ); 520 | }, 521 | ), 522 | body: SingleChildScrollView( 523 | child: Container( 524 | child: Column( 525 | children: [ 526 | _header(context), 527 | SizedBox(height: 20), 528 | _categoryRow("Featured", LightColor.orange, LightColor.orange), 529 | _featuredRowA(context), 530 | SizedBox(height: 0), 531 | _categoryRow( 532 | "Featured", LightColor.purple, LightColor.darkpurple), 533 | _featuredRowB(context) 534 | ], 535 | ), 536 | ), 537 | ), 538 | ); 539 | } 540 | } 541 | -------------------------------------------------------------------------------- /lib/src/pages/recomended_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_smart_course/src/helper/courseModel.dart'; 3 | import 'package:flutter_smart_course/src/helper/quad_clipper.dart'; 4 | import 'package:flutter_smart_course/src/pages/home_page.dart'; 5 | import 'package:flutter_smart_course/src/theme/color/light_color.dart'; 6 | import 'package:flutter_smart_course/src/theme/theme.dart'; 7 | 8 | class RecomendedPage extends StatelessWidget { 9 | const RecomendedPage({Key key}) : super(key: key); 10 | 11 | Widget _header(BuildContext context) { 12 | var width = MediaQuery.of(context).size.width; 13 | return ClipRRect( 14 | borderRadius: BorderRadius.only( 15 | bottomLeft: Radius.circular(50), bottomRight: Radius.circular(50)), 16 | child: Container( 17 | height: 120, 18 | width: width, 19 | decoration: BoxDecoration( 20 | color: LightColor.orange, 21 | ), 22 | child: Stack( 23 | fit: StackFit.expand, 24 | alignment: Alignment.center, 25 | children: [ 26 | Positioned( 27 | top: 10, 28 | right: -120, 29 | child: _circularContainer(300, LightColor.lightOrange2)), 30 | Positioned( 31 | top: -60, 32 | left: -65, 33 | child: _circularContainer(width * .5, LightColor.darkOrange)), 34 | Positioned( 35 | top: -230, 36 | right: -30, 37 | child: _circularContainer(width * .7, Colors.transparent, 38 | borderColor: Colors.white38)), 39 | Positioned( 40 | top: 50, 41 | left: 0, 42 | child: Container( 43 | width: width, 44 | padding: EdgeInsets.symmetric(horizontal: 20), 45 | child: Stack( 46 | children: [ 47 | Icon( 48 | Icons.keyboard_arrow_left, 49 | color: Colors.white, 50 | size: 40, 51 | ), 52 | Align( 53 | alignment: Alignment.center, 54 | child: Text( 55 | "Recomended", 56 | style: TextStyle( 57 | color: Colors.white, 58 | fontSize: 30, 59 | fontWeight: FontWeight.w500), 60 | )) 61 | ], 62 | ))), 63 | ], 64 | )), 65 | ); 66 | } 67 | 68 | Widget _circularContainer(double height, Color color, 69 | {Color borderColor = Colors.transparent, double borderWidth = 2}) { 70 | return Container( 71 | height: height, 72 | width: height, 73 | decoration: BoxDecoration( 74 | shape: BoxShape.circle, 75 | color: color, 76 | border: Border.all(color: borderColor, width: borderWidth), 77 | ), 78 | ); 79 | } 80 | 81 | Widget _categoryRow(BuildContext context, String title) { 82 | return Container( 83 | // margin: EdgeInsets.symmetric(horizontal: 20), 84 | height: 68, 85 | child: Column( 86 | crossAxisAlignment: CrossAxisAlignment.start, 87 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 88 | children: [ 89 | Padding( 90 | padding: EdgeInsets.symmetric(horizontal: 20), 91 | child: Text( 92 | title, 93 | style: TextStyle( 94 | color: LightColor.extraDarkPurple, 95 | fontWeight: FontWeight.bold), 96 | ), 97 | ), 98 | SizedBox( 99 | height: 10, 100 | ), 101 | Container( 102 | width: MediaQuery.of(context).size.width, 103 | height: 30, 104 | child: ListView( 105 | scrollDirection: Axis.horizontal, 106 | children: [ 107 | SizedBox(width: 20), 108 | _chip("Data Scientist", LightColor.yellow, height: 5), 109 | SizedBox(width: 10), 110 | _chip("Data Analyst", LightColor.seeBlue, height: 5), 111 | SizedBox(width: 10), 112 | _chip("Data Engineer", LightColor.orange, height: 5), 113 | SizedBox(width: 10), 114 | _chip("Data Scientist", LightColor.lightBlue, height: 5), 115 | ], 116 | )), 117 | SizedBox(height: 10) 118 | ], 119 | ), 120 | ); 121 | } 122 | 123 | Widget _courseList(BuildContext context) { 124 | return SingleChildScrollView( 125 | scrollDirection: Axis.vertical, 126 | child: Container( 127 | child: Column( 128 | mainAxisAlignment: MainAxisAlignment.start, 129 | children: [ 130 | _courceInfo(context, CourseList.list[0], 131 | _decorationContainerA(Colors.redAccent, -110, -85), 132 | background: LightColor.seeBlue), 133 | Divider( 134 | thickness: 1, 135 | endIndent: 20, 136 | indent: 20, 137 | ), 138 | _courceInfo(context, CourseList.list[1], _decorationContainerB(), 139 | background: LightColor.darkOrange), 140 | Divider( 141 | thickness: 1, 142 | endIndent: 20, 143 | indent: 20, 144 | ), 145 | _courceInfo(context, CourseList.list[2], _decorationContainerC(), 146 | background: LightColor.lightOrange2), 147 | ], 148 | ), 149 | ), 150 | ); 151 | } 152 | 153 | Widget _card(BuildContext context, 154 | {Color primaryColor = Colors.redAccent, Widget backWidget}) { 155 | return Container( 156 | height: 190, 157 | width: MediaQuery.of(context).size.width * .34, 158 | margin: EdgeInsets.symmetric(horizontal: 10, vertical: 10), 159 | decoration: BoxDecoration( 160 | color: primaryColor, 161 | borderRadius: BorderRadius.all(Radius.circular(20)), 162 | boxShadow: [ 163 | BoxShadow( 164 | offset: Offset(0, 5), blurRadius: 10, color: Color(0x12000000)) 165 | ]), 166 | child: ClipRRect( 167 | borderRadius: BorderRadius.all(Radius.circular(20)), 168 | child: backWidget, 169 | ), 170 | ); 171 | } 172 | 173 | Widget _courceInfo(BuildContext context, CourseModel model, Widget decoration, 174 | {Color background}) { 175 | return Container( 176 | height: 170, 177 | width: MediaQuery.of(context).size.width - 20, 178 | child: Row( 179 | children: [ 180 | AspectRatio( 181 | aspectRatio: .7, 182 | child: _card(context, 183 | primaryColor: background, backWidget: decoration), 184 | ), 185 | Expanded( 186 | child: Column( 187 | crossAxisAlignment: CrossAxisAlignment.start, 188 | children: [ 189 | SizedBox(height: 15), 190 | Container( 191 | child: Row( 192 | mainAxisSize: MainAxisSize.max, 193 | children: [ 194 | Expanded( 195 | child: Text(model.name, 196 | style: TextStyle( 197 | color: LightColor.purple, 198 | fontSize: 16, 199 | fontWeight: FontWeight.bold)), 200 | ), 201 | CircleAvatar( 202 | radius: 3, 203 | backgroundColor: background, 204 | ), 205 | SizedBox( 206 | width: 5, 207 | ), 208 | Text(model.noOfCource, 209 | style: TextStyle( 210 | color: LightColor.grey, 211 | fontSize: 14, 212 | )), 213 | SizedBox(width: 10) 214 | ], 215 | ), 216 | ), 217 | Text(model.university, 218 | style: AppTheme.h6Style.copyWith( 219 | fontSize: 12, 220 | color: LightColor.grey, 221 | )), 222 | SizedBox(height: 15), 223 | Text(model.description, 224 | style: AppTheme.h6Style.copyWith( 225 | fontSize: 12, color: LightColor.extraDarkPurple)), 226 | SizedBox(height: 15), 227 | Row( 228 | children: [ 229 | _chip(model.tag1, LightColor.darkOrange, height: 5), 230 | SizedBox( 231 | width: 10, 232 | ), 233 | _chip(model.tag2, LightColor.seeBlue, height: 5), 234 | ], 235 | ) 236 | ], 237 | )) 238 | ], 239 | )); 240 | } 241 | 242 | Widget _chip(String text, Color textColor, 243 | {double height = 0, bool isPrimaryCard = false}) { 244 | return Container( 245 | alignment: Alignment.center, 246 | padding: EdgeInsets.symmetric(horizontal: 10, vertical: height), 247 | decoration: BoxDecoration( 248 | borderRadius: BorderRadius.all(Radius.circular(15)), 249 | color: textColor.withAlpha(isPrimaryCard ? 200 : 50), 250 | ), 251 | child: Text( 252 | text, 253 | style: TextStyle( 254 | color: isPrimaryCard ? Colors.white : textColor, fontSize: 12), 255 | ), 256 | ); 257 | } 258 | 259 | Widget _decorationContainerA(Color primaryColor, double top, double left) { 260 | return Stack( 261 | children: [ 262 | Positioned( 263 | top: top, 264 | left: left, 265 | child: CircleAvatar( 266 | radius: 100, 267 | backgroundColor: LightColor.darkseeBlue, 268 | ), 269 | ), 270 | _smallContainer(LightColor.yellow, 40, 20), 271 | Positioned( 272 | top: -30, 273 | right: -10, 274 | child: _circularContainer(80, Colors.transparent, 275 | borderColor: Colors.white), 276 | ), 277 | Positioned( 278 | top: 110, 279 | right: -50, 280 | child: CircleAvatar( 281 | radius: 60, 282 | backgroundColor: LightColor.darkseeBlue, 283 | child: 284 | CircleAvatar(radius: 40, backgroundColor: LightColor.seeBlue), 285 | ), 286 | ), 287 | ], 288 | ); 289 | } 290 | 291 | Widget _decorationContainerB() { 292 | return Stack( 293 | children: [ 294 | Positioned( 295 | top: -65, 296 | left: -65, 297 | child: CircleAvatar( 298 | radius: 70, 299 | backgroundColor: LightColor.lightOrange2, 300 | child: CircleAvatar( 301 | radius: 30, backgroundColor: LightColor.darkOrange), 302 | ), 303 | ), 304 | Positioned( 305 | bottom: -35, 306 | right: -40, 307 | child: 308 | CircleAvatar(backgroundColor: LightColor.yellow, radius: 40)), 309 | Positioned( 310 | top: 50, 311 | left: -40, 312 | child: _circularContainer(70, Colors.transparent, 313 | borderColor: Colors.white), 314 | ), 315 | ], 316 | ); 317 | } 318 | 319 | Widget _decorationContainerC() { 320 | return Stack( 321 | children: [ 322 | Positioned( 323 | bottom: -65, 324 | left: -35, 325 | child: CircleAvatar( 326 | radius: 70, 327 | backgroundColor: Color(0xfffeeaea), 328 | ), 329 | ), 330 | Positioned( 331 | bottom: -30, 332 | right: -25, 333 | child: ClipRect( 334 | clipper: QuadClipper(), 335 | child: CircleAvatar( 336 | backgroundColor: LightColor.yellow, radius: 40))), 337 | _smallContainer( 338 | Colors.yellow, 339 | 35, 340 | 70, 341 | ), 342 | ], 343 | ); 344 | } 345 | 346 | Positioned _smallContainer(Color primaryColor, double top, double left, 347 | {double radius = 10}) { 348 | return Positioned( 349 | top: top, 350 | left: left, 351 | child: CircleAvatar( 352 | radius: radius, 353 | backgroundColor: primaryColor.withAlpha(255), 354 | )); 355 | } 356 | 357 | BottomNavigationBarItem _bottomIcons(IconData icon) { 358 | return BottomNavigationBarItem( 359 | // backgroundColor: Colors.blue, 360 | icon: Icon(icon), 361 | label: ''); 362 | } 363 | 364 | @override 365 | Widget build(BuildContext context) { 366 | return Scaffold( 367 | bottomNavigationBar: BottomNavigationBar( 368 | backgroundColor: LightColor.background, 369 | showSelectedLabels: false, 370 | showUnselectedLabels: false, 371 | selectedItemColor: LightColor.purple, 372 | unselectedItemColor: Colors.grey.shade300, 373 | type: BottomNavigationBarType.fixed, 374 | currentIndex: 1, 375 | items: [ 376 | _bottomIcons(Icons.home), 377 | _bottomIcons(Icons.star_border), 378 | _bottomIcons(Icons.book), 379 | _bottomIcons(Icons.person), 380 | ], 381 | onTap: (index) { 382 | Navigator.pushReplacement( 383 | context, MaterialPageRoute(builder: (context) => HomePage())); 384 | }, 385 | ), 386 | body: SingleChildScrollView( 387 | child: Container( 388 | child: Column( 389 | children: [ 390 | _header(context), 391 | SizedBox(height: 20), 392 | _categoryRow(context, "Start a new career"), 393 | _courseList(context) 394 | ], 395 | ), 396 | ), 397 | ), 398 | ); 399 | } 400 | } 401 | -------------------------------------------------------------------------------- /lib/src/theme/color/light_color.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class LightColor { 4 | static const Color background = Color(0XFFFFFFFF); 5 | 6 | static const Color titleTextColor = const Color(0xff5a5d85); 7 | static const Color subTitleTextColor = const Color(0xff797878); 8 | 9 | static const Color bottonTitleTextColor = const Color(0xffd4d4ea); 10 | 11 | static const Color grey = Color(0xff9D99A7); 12 | static const Color darkgrey = Color(0xff625f6a); 13 | 14 | static const Color yellow = Color(0xfffbbd5c); 15 | 16 | static const Color orange = Color(0xfff96d5b); 17 | static const Color darkOrange = Color(0xfff46352); 18 | static const Color lightOrange = Color(0xfffa8e5c); 19 | static const Color lightOrange2 = Color(0xfff97d6d); 20 | 21 | static const Color purple = Color(0xff7a81dd); 22 | static const Color lightpurple = Color(0xff898edf); 23 | static const Color darkpurple = Color(0xff7178d3); 24 | static const Color extraDarkPurple = Color(0xff494c79); 25 | 26 | static const Color seeBlue = Color(0xff73d4dd); 27 | static const Color darkseeBlue = Color(0xff63c4cf); 28 | static const Color lightseeBlue = Color(0xffb9e6fc); 29 | 30 | static const Color brighter = Color(0xff3754aa); 31 | static const Color Darker = Color(0xffffffff); 32 | static const Color black = Color(0xff040405); 33 | static const Color lightblack = Color(0xff3E404D); 34 | static const Color lightGrey = Color(0xffDFE7DD); 35 | static const Color darkBlue = Color(0xff13165A); 36 | static const Color lightBlue = Color(0xff203387); 37 | } 38 | -------------------------------------------------------------------------------- /lib/src/theme/theme.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'color/light_color.dart'; 3 | 4 | class AppTheme { 5 | const AppTheme(); 6 | static ThemeData lightTheme = ThemeData.light().copyWith( 7 | // primarySwatch: Colors.blue, 8 | backgroundColor: LightColor.background, 9 | scaffoldBackgroundColor: LightColor.background, 10 | primaryColor: LightColor.purple, 11 | primaryColorDark: LightColor.Darker, 12 | primaryColorLight: LightColor.brighter, 13 | cardTheme: CardTheme(color: LightColor.background), 14 | // textTheme: TextTheme(display1: TextStyle(color: LightColor.black)), 15 | iconTheme: IconThemeData(color: LightColor.lightblack), 16 | bottomAppBarColor: LightColor.background, 17 | dividerColor: LightColor.lightGrey, 18 | colorScheme: ColorScheme( 19 | primary: LightColor.purple, 20 | primaryVariant: LightColor.purple, 21 | secondary: LightColor.lightBlue, 22 | secondaryVariant: LightColor.darkBlue, 23 | surface: LightColor.background, 24 | background: LightColor.background, 25 | error: Colors.red, 26 | onPrimary: LightColor.Darker, 27 | onSecondary: LightColor.background, 28 | onSurface: LightColor.Darker, 29 | onBackground: LightColor.titleTextColor, 30 | onError: LightColor.titleTextColor, 31 | brightness: Brightness.dark), 32 | ); 33 | 34 | static TextStyle titleStyle = 35 | const TextStyle(color: LightColor.titleTextColor, fontSize: 16); 36 | static TextStyle subTitleStyle = 37 | const TextStyle(color: LightColor.subTitleTextColor, fontSize: 12); 38 | 39 | static TextStyle h1Style = 40 | const TextStyle(fontSize: 24, fontWeight: FontWeight.bold); 41 | static TextStyle h2Style = const TextStyle(fontSize: 22); 42 | static TextStyle h3Style = const TextStyle(fontSize: 20); 43 | static TextStyle h4Style = const TextStyle(fontSize: 18); 44 | static TextStyle h5Style = const TextStyle(fontSize: 16); 45 | static TextStyle h6Style = const TextStyle(fontSize: 14); 46 | } 47 | -------------------------------------------------------------------------------- /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: "0.1.3" 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_test: 66 | dependency: "direct dev" 67 | description: flutter 68 | source: sdk 69 | version: "0.0.0" 70 | matcher: 71 | dependency: transitive 72 | description: 73 | name: matcher 74 | url: "https://pub.dartlang.org" 75 | source: hosted 76 | version: "0.12.11" 77 | meta: 78 | dependency: transitive 79 | description: 80 | name: meta 81 | url: "https://pub.dartlang.org" 82 | source: hosted 83 | version: "1.7.0" 84 | path: 85 | dependency: transitive 86 | description: 87 | name: path 88 | url: "https://pub.dartlang.org" 89 | source: hosted 90 | version: "1.8.0" 91 | sky_engine: 92 | dependency: transitive 93 | description: flutter 94 | source: sdk 95 | version: "0.0.99" 96 | source_span: 97 | dependency: transitive 98 | description: 99 | name: source_span 100 | url: "https://pub.dartlang.org" 101 | source: hosted 102 | version: "1.8.1" 103 | stack_trace: 104 | dependency: transitive 105 | description: 106 | name: stack_trace 107 | url: "https://pub.dartlang.org" 108 | source: hosted 109 | version: "1.10.0" 110 | stream_channel: 111 | dependency: transitive 112 | description: 113 | name: stream_channel 114 | url: "https://pub.dartlang.org" 115 | source: hosted 116 | version: "2.1.0" 117 | string_scanner: 118 | dependency: transitive 119 | description: 120 | name: string_scanner 121 | url: "https://pub.dartlang.org" 122 | source: hosted 123 | version: "1.1.0" 124 | term_glyph: 125 | dependency: transitive 126 | description: 127 | name: term_glyph 128 | url: "https://pub.dartlang.org" 129 | source: hosted 130 | version: "1.2.0" 131 | test_api: 132 | dependency: transitive 133 | description: 134 | name: test_api 135 | url: "https://pub.dartlang.org" 136 | source: hosted 137 | version: "0.4.3" 138 | typed_data: 139 | dependency: transitive 140 | description: 141 | name: typed_data 142 | url: "https://pub.dartlang.org" 143 | source: hosted 144 | version: "1.3.0" 145 | vector_math: 146 | dependency: transitive 147 | description: 148 | name: vector_math 149 | url: "https://pub.dartlang.org" 150 | source: hosted 151 | version: "2.1.1" 152 | sdks: 153 | dart: ">=2.14.0 <3.0.0" 154 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: flutter_smart_course 2 | description: A new Flutter project. 3 | 4 | # The following defines the version and build number for your application. 5 | # A version number is three numbers separated by dots, like 1.2.43 6 | # followed by an optional build number separated by a +. 7 | # Both the version and the builder number may be overridden in flutter 8 | # build by specifying --build-name and --build-number, respectively. 9 | # In Android, build-name is used as versionName while build-number used as versionCode. 10 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning 11 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. 12 | # Read more about iOS versioning at 13 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html 14 | version: 1.0.0+1 15 | 16 | environment: 17 | sdk: ">=2.1.0 <3.0.0" 18 | 19 | dependencies: 20 | flutter: 21 | sdk: flutter 22 | 23 | # The following adds the Cupertino Icons font to your application. 24 | # Use with the CupertinoIcons class for iOS style icons. 25 | cupertino_icons: ^0.1.2 26 | 27 | dev_dependencies: 28 | flutter_test: 29 | sdk: flutter 30 | 31 | 32 | # For information on the generic Dart part of this file, see the 33 | # following page: https://dart.dev/tools/pub/pubspec 34 | 35 | # The following section is specific to Flutter. 36 | flutter: 37 | 38 | # The following line ensures that the Material Icons font is 39 | # included with your application, so that you can use the icons in 40 | # the material Icons class. 41 | uses-material-design: true 42 | 43 | # To add assets to your application, add an assets section, like this: 44 | # assets: 45 | # - images/a_dot_burr.jpeg 46 | # - images/a_dot_ham.jpeg 47 | 48 | # An image asset can refer to one or more resolution-specific "variants", see 49 | # https://flutter.dev/assets-and-images/#resolution-aware. 50 | 51 | # For details regarding adding assets from package dependencies, see 52 | # https://flutter.dev/assets-and-images/#from-packages 53 | 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 | -------------------------------------------------------------------------------- /screenshots/screenshot_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/screenshots/screenshot_1.jpg -------------------------------------------------------------------------------- /screenshots/screenshot_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/screenshots/screenshot_2.jpg -------------------------------------------------------------------------------- /screenshots/screenshot_ios_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/screenshots/screenshot_ios_1.png -------------------------------------------------------------------------------- /screenshots/screenshot_ios_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheAlphamerc/flutter_smart_course/511741c1db9f8b9693a66dd1c07bde02d36eab71/screenshots/screenshot_ios_2.png -------------------------------------------------------------------------------- /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:flutter_smart_course/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(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 | --------------------------------------------------------------------------------