├── .gitignore ├── .metadata ├── LICENSE ├── README.md ├── android ├── .gitignore ├── app │ ├── build.gradle │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── kotlin │ │ │ └── com │ │ │ │ └── codinginfun │ │ │ │ └── flutter_tiktok_ui │ │ │ │ └── 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 ├── assets ├── effects.png └── gallery.png ├── ios ├── .gitignore ├── Flutter │ ├── AppFrameworkInfo.plist │ ├── Debug.xcconfig │ └── Release.xcconfig ├── Podfile ├── Podfile.lock ├── Runner.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ └── WorkspaceSettings.xcsettings │ └── xcshareddata │ │ └── xcschemes │ │ └── Runner.xcscheme ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── IDEWorkspaceChecks.plist │ │ └── WorkspaceSettings.xcsettings └── Runner │ ├── AppDelegate.swift │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ ├── Contents.json │ │ ├── Icon-App-1024x1024@1x.png │ │ ├── Icon-App-20x20@1x.png │ │ ├── Icon-App-20x20@2x.png │ │ ├── Icon-App-20x20@3x.png │ │ ├── Icon-App-29x29@1x.png │ │ ├── Icon-App-29x29@2x.png │ │ ├── Icon-App-29x29@3x.png │ │ ├── Icon-App-40x40@1x.png │ │ ├── Icon-App-40x40@2x.png │ │ ├── Icon-App-40x40@3x.png │ │ ├── Icon-App-60x60@2x.png │ │ ├── Icon-App-60x60@3x.png │ │ ├── Icon-App-76x76@1x.png │ │ ├── Icon-App-76x76@2x.png │ │ └── Icon-App-83.5x83.5@2x.png │ └── LaunchImage.imageset │ │ ├── Contents.json │ │ ├── LaunchImage.png │ │ ├── LaunchImage@2x.png │ │ ├── LaunchImage@3x.png │ │ └── README.md │ ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard │ ├── Info.plist │ └── Runner-Bridging-Header.h ├── lib ├── main.dart └── src │ ├── app.dart │ ├── middleware │ └── navigation.dart │ ├── model │ └── data_model.dart │ ├── repository │ └── fake_repository.dart │ └── screen │ ├── home_screen.dart │ └── pages │ ├── add_video_page.dart │ ├── home_page.dart │ └── widgets │ └── video_player.dart ├── pubspec.lock ├── pubspec.yaml ├── screenshots └── home.png └── test └── widget_test.dart /.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 | # Symbolication related 37 | app.*.symbols 38 | 39 | # Obfuscation related 40 | app.*.map.json 41 | 42 | # Exceptions to above rules. 43 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages 44 | -------------------------------------------------------------------------------- /.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: 8af6b2f038c1172e61d418869363a28dffec3cb4 8 | channel: stable 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Dao Hong Vinh 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## Flutter Tiktok Clone 2 | 3 | ### Description: 4 | - :rocket: This is mobile application using Flutter for develop Tiktok 5 | 6 | ### How I can run it? 7 | - :rocket: Clone this repo 8 | - :rocket: Run below code in terminal of project 9 | ```terminal 10 | flutter pub get 11 | flutter run 12 | ``` 13 | ### Screenshots 14 | 15 | -------------------------------------------------------------------------------- /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.codinginfun.flutter_tiktok_ui" 42 | minSdkVersion 21 43 | targetSdkVersion 28 44 | versionCode flutterVersionCode.toInteger() 45 | versionName flutterVersionName 46 | } 47 | 48 | buildTypes { 49 | release { 50 | // TODO: Add your own signing config for the release build. 51 | // Signing with the debug keys for now, so `flutter run --release` works. 52 | signingConfig signingConfigs.debug 53 | } 54 | } 55 | } 56 | 57 | flutter { 58 | source '../..' 59 | } 60 | 61 | dependencies { 62 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 63 | } 64 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 8 | 9 | 13 | 20 | 24 | 28 | 33 | 37 | 38 | 39 | 40 | 41 | 42 | 44 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /android/app/src/main/kotlin/com/codinginfun/flutter_tiktok_ui/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.codinginfun.flutter_tiktok_ui 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | class MainActivity: FlutterActivity() { 6 | } 7 | -------------------------------------------------------------------------------- /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/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.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 | // Copyright 2014 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | include ':app' 6 | 7 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties") 8 | def properties = new Properties() 9 | 10 | assert localPropertiesFile.exists() 11 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } 12 | 13 | def flutterSdkPath = properties.getProperty("flutter.sdk") 14 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 15 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" 16 | -------------------------------------------------------------------------------- /assets/effects.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/assets/effects.png -------------------------------------------------------------------------------- /assets/gallery.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/assets/gallery.png -------------------------------------------------------------------------------- /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 "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /ios/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment this line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency. 5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true' 6 | 7 | project 'Runner', { 8 | 'Debug' => :debug, 9 | 'Profile' => :release, 10 | 'Release' => :release, 11 | } 12 | 13 | def flutter_root 14 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) 15 | unless File.exist?(generated_xcode_build_settings_path) 16 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" 17 | end 18 | 19 | File.foreach(generated_xcode_build_settings_path) do |line| 20 | matches = line.match(/FLUTTER_ROOT\=(.*)/) 21 | return matches[1].strip if matches 22 | end 23 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" 24 | end 25 | 26 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) 27 | 28 | flutter_ios_podfile_setup 29 | 30 | target 'Runner' do 31 | use_frameworks! 32 | use_modular_headers! 33 | 34 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) 35 | end 36 | 37 | post_install do |installer| 38 | installer.pods_project.targets.each do |target| 39 | flutter_additional_ios_build_settings(target) 40 | end 41 | end 42 | -------------------------------------------------------------------------------- /ios/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - camera (0.0.1): 3 | - Flutter 4 | - Flutter (1.0.0) 5 | - video_player (0.0.1): 6 | - Flutter 7 | 8 | DEPENDENCIES: 9 | - camera (from `.symlinks/plugins/camera/ios`) 10 | - Flutter (from `Flutter`) 11 | - video_player (from `.symlinks/plugins/video_player/ios`) 12 | 13 | EXTERNAL SOURCES: 14 | camera: 15 | :path: ".symlinks/plugins/camera/ios" 16 | Flutter: 17 | :path: Flutter 18 | video_player: 19 | :path: ".symlinks/plugins/video_player/ios" 20 | 21 | SPEC CHECKSUMS: 22 | camera: 38cc83ae9a5667bb5a71c7d9edaf60a91920fd4e 23 | Flutter: 434fef37c0980e73bb6479ef766c45957d4b510c 24 | video_player: 9cc823b1d9da7e8427ee591e8438bfbcde500e6e 25 | 26 | PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c 27 | 28 | COCOAPODS: 1.10.1 29 | -------------------------------------------------------------------------------- /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 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 13 | 8AFAEAADF913BAEB38DA500B /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EA22F35A9FC0672427E4F18A /* Pods_Runner.framework */; }; 14 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 15 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 16 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXCopyFilesBuildPhase section */ 20 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 21 | isa = PBXCopyFilesBuildPhase; 22 | buildActionMask = 2147483647; 23 | dstPath = ""; 24 | dstSubfolderSpec = 10; 25 | files = ( 26 | ); 27 | name = "Embed Frameworks"; 28 | runOnlyForDeploymentPostprocessing = 0; 29 | }; 30 | /* End PBXCopyFilesBuildPhase section */ 31 | 32 | /* Begin PBXFileReference section */ 33 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 34 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 35 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 36 | 4DEC0D32726A754F03E97DE1 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; 37 | 6F1EA5858B64CD31877D8206 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; 38 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 39 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 40 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 41 | 7FAF1F76B79A7A7D86790F3E /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; 42 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 43 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 44 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 46 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 47 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 48 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 49 | EA22F35A9FC0672427E4F18A /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | 8AFAEAADF913BAEB38DA500B /* Pods_Runner.framework in Frameworks */, 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | /* End PBXFrameworksBuildPhase section */ 62 | 63 | /* Begin PBXGroup section */ 64 | 43539826987EB8010EF03BCE /* Frameworks */ = { 65 | isa = PBXGroup; 66 | children = ( 67 | EA22F35A9FC0672427E4F18A /* Pods_Runner.framework */, 68 | ); 69 | name = Frameworks; 70 | sourceTree = ""; 71 | }; 72 | 9740EEB11CF90186004384FC /* Flutter */ = { 73 | isa = PBXGroup; 74 | children = ( 75 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 76 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 77 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 78 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 79 | ); 80 | name = Flutter; 81 | sourceTree = ""; 82 | }; 83 | 97C146E51CF9000F007C117D = { 84 | isa = PBXGroup; 85 | children = ( 86 | 9740EEB11CF90186004384FC /* Flutter */, 87 | 97C146F01CF9000F007C117D /* Runner */, 88 | 97C146EF1CF9000F007C117D /* Products */, 89 | D259DAD4461C065C33701121 /* Pods */, 90 | 43539826987EB8010EF03BCE /* Frameworks */, 91 | ); 92 | sourceTree = ""; 93 | }; 94 | 97C146EF1CF9000F007C117D /* Products */ = { 95 | isa = PBXGroup; 96 | children = ( 97 | 97C146EE1CF9000F007C117D /* Runner.app */, 98 | ); 99 | name = Products; 100 | sourceTree = ""; 101 | }; 102 | 97C146F01CF9000F007C117D /* Runner */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 106 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 107 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 108 | 97C147021CF9000F007C117D /* Info.plist */, 109 | 97C146F11CF9000F007C117D /* Supporting Files */, 110 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 111 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 112 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, 113 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, 114 | ); 115 | path = Runner; 116 | sourceTree = ""; 117 | }; 118 | 97C146F11CF9000F007C117D /* Supporting Files */ = { 119 | isa = PBXGroup; 120 | children = ( 121 | ); 122 | name = "Supporting Files"; 123 | sourceTree = ""; 124 | }; 125 | D259DAD4461C065C33701121 /* Pods */ = { 126 | isa = PBXGroup; 127 | children = ( 128 | 7FAF1F76B79A7A7D86790F3E /* Pods-Runner.debug.xcconfig */, 129 | 6F1EA5858B64CD31877D8206 /* Pods-Runner.release.xcconfig */, 130 | 4DEC0D32726A754F03E97DE1 /* Pods-Runner.profile.xcconfig */, 131 | ); 132 | name = Pods; 133 | path = Pods; 134 | sourceTree = ""; 135 | }; 136 | /* End PBXGroup section */ 137 | 138 | /* Begin PBXNativeTarget section */ 139 | 97C146ED1CF9000F007C117D /* Runner */ = { 140 | isa = PBXNativeTarget; 141 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 142 | buildPhases = ( 143 | EF70354A914925B709E0C1B3 /* [CP] Check Pods Manifest.lock */, 144 | 9740EEB61CF901F6004384FC /* Run Script */, 145 | 97C146EA1CF9000F007C117D /* Sources */, 146 | 97C146EB1CF9000F007C117D /* Frameworks */, 147 | 97C146EC1CF9000F007C117D /* Resources */, 148 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 149 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 150 | 195EE580255F8EBE43FBF887 /* [CP] Embed Pods Frameworks */, 151 | ); 152 | buildRules = ( 153 | ); 154 | dependencies = ( 155 | ); 156 | name = Runner; 157 | productName = Runner; 158 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 159 | productType = "com.apple.product-type.application"; 160 | }; 161 | /* End PBXNativeTarget section */ 162 | 163 | /* Begin PBXProject section */ 164 | 97C146E61CF9000F007C117D /* Project object */ = { 165 | isa = PBXProject; 166 | attributes = { 167 | LastUpgradeCheck = 1020; 168 | ORGANIZATIONNAME = ""; 169 | TargetAttributes = { 170 | 97C146ED1CF9000F007C117D = { 171 | CreatedOnToolsVersion = 7.3.1; 172 | LastSwiftMigration = 1100; 173 | }; 174 | }; 175 | }; 176 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 177 | compatibilityVersion = "Xcode 9.3"; 178 | developmentRegion = en; 179 | hasScannedForEncodings = 0; 180 | knownRegions = ( 181 | en, 182 | Base, 183 | ); 184 | mainGroup = 97C146E51CF9000F007C117D; 185 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 186 | projectDirPath = ""; 187 | projectRoot = ""; 188 | targets = ( 189 | 97C146ED1CF9000F007C117D /* Runner */, 190 | ); 191 | }; 192 | /* End PBXProject section */ 193 | 194 | /* Begin PBXResourcesBuildPhase section */ 195 | 97C146EC1CF9000F007C117D /* Resources */ = { 196 | isa = PBXResourcesBuildPhase; 197 | buildActionMask = 2147483647; 198 | files = ( 199 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 200 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 201 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 202 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 203 | ); 204 | runOnlyForDeploymentPostprocessing = 0; 205 | }; 206 | /* End PBXResourcesBuildPhase section */ 207 | 208 | /* Begin PBXShellScriptBuildPhase section */ 209 | 195EE580255F8EBE43FBF887 /* [CP] Embed Pods Frameworks */ = { 210 | isa = PBXShellScriptBuildPhase; 211 | buildActionMask = 2147483647; 212 | files = ( 213 | ); 214 | inputFileListPaths = ( 215 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", 216 | ); 217 | name = "[CP] Embed Pods Frameworks"; 218 | outputFileListPaths = ( 219 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", 220 | ); 221 | runOnlyForDeploymentPostprocessing = 0; 222 | shellPath = /bin/sh; 223 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; 224 | showEnvVarsInLog = 0; 225 | }; 226 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 227 | isa = PBXShellScriptBuildPhase; 228 | buildActionMask = 2147483647; 229 | files = ( 230 | ); 231 | inputPaths = ( 232 | ); 233 | name = "Thin Binary"; 234 | outputPaths = ( 235 | ); 236 | runOnlyForDeploymentPostprocessing = 0; 237 | shellPath = /bin/sh; 238 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; 239 | }; 240 | 9740EEB61CF901F6004384FC /* Run Script */ = { 241 | isa = PBXShellScriptBuildPhase; 242 | buildActionMask = 2147483647; 243 | files = ( 244 | ); 245 | inputPaths = ( 246 | ); 247 | name = "Run Script"; 248 | outputPaths = ( 249 | ); 250 | runOnlyForDeploymentPostprocessing = 0; 251 | shellPath = /bin/sh; 252 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 253 | }; 254 | EF70354A914925B709E0C1B3 /* [CP] Check Pods Manifest.lock */ = { 255 | isa = PBXShellScriptBuildPhase; 256 | buildActionMask = 2147483647; 257 | files = ( 258 | ); 259 | inputFileListPaths = ( 260 | ); 261 | inputPaths = ( 262 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 263 | "${PODS_ROOT}/Manifest.lock", 264 | ); 265 | name = "[CP] Check Pods Manifest.lock"; 266 | outputFileListPaths = ( 267 | ); 268 | outputPaths = ( 269 | "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", 270 | ); 271 | runOnlyForDeploymentPostprocessing = 0; 272 | shellPath = /bin/sh; 273 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 274 | showEnvVarsInLog = 0; 275 | }; 276 | /* End PBXShellScriptBuildPhase section */ 277 | 278 | /* Begin PBXSourcesBuildPhase section */ 279 | 97C146EA1CF9000F007C117D /* Sources */ = { 280 | isa = PBXSourcesBuildPhase; 281 | buildActionMask = 2147483647; 282 | files = ( 283 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, 284 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 285 | ); 286 | runOnlyForDeploymentPostprocessing = 0; 287 | }; 288 | /* End PBXSourcesBuildPhase section */ 289 | 290 | /* Begin PBXVariantGroup section */ 291 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 292 | isa = PBXVariantGroup; 293 | children = ( 294 | 97C146FB1CF9000F007C117D /* Base */, 295 | ); 296 | name = Main.storyboard; 297 | sourceTree = ""; 298 | }; 299 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 300 | isa = PBXVariantGroup; 301 | children = ( 302 | 97C147001CF9000F007C117D /* Base */, 303 | ); 304 | name = LaunchScreen.storyboard; 305 | sourceTree = ""; 306 | }; 307 | /* End PBXVariantGroup section */ 308 | 309 | /* Begin XCBuildConfiguration section */ 310 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 311 | isa = XCBuildConfiguration; 312 | buildSettings = { 313 | ALWAYS_SEARCH_USER_PATHS = NO; 314 | CLANG_ANALYZER_NONNULL = YES; 315 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 316 | CLANG_CXX_LIBRARY = "libc++"; 317 | CLANG_ENABLE_MODULES = YES; 318 | CLANG_ENABLE_OBJC_ARC = YES; 319 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 320 | CLANG_WARN_BOOL_CONVERSION = YES; 321 | CLANG_WARN_COMMA = YES; 322 | CLANG_WARN_CONSTANT_CONVERSION = YES; 323 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 324 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 325 | CLANG_WARN_EMPTY_BODY = YES; 326 | CLANG_WARN_ENUM_CONVERSION = YES; 327 | CLANG_WARN_INFINITE_RECURSION = YES; 328 | CLANG_WARN_INT_CONVERSION = YES; 329 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 330 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 331 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 332 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 333 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 334 | CLANG_WARN_STRICT_PROTOTYPES = YES; 335 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 336 | CLANG_WARN_UNREACHABLE_CODE = YES; 337 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 338 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 339 | COPY_PHASE_STRIP = NO; 340 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 341 | ENABLE_NS_ASSERTIONS = NO; 342 | ENABLE_STRICT_OBJC_MSGSEND = YES; 343 | GCC_C_LANGUAGE_STANDARD = gnu99; 344 | GCC_NO_COMMON_BLOCKS = YES; 345 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 346 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 347 | GCC_WARN_UNDECLARED_SELECTOR = YES; 348 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 349 | GCC_WARN_UNUSED_FUNCTION = YES; 350 | GCC_WARN_UNUSED_VARIABLE = YES; 351 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 352 | MTL_ENABLE_DEBUG_INFO = NO; 353 | SDKROOT = iphoneos; 354 | SUPPORTED_PLATFORMS = iphoneos; 355 | TARGETED_DEVICE_FAMILY = "1,2"; 356 | VALIDATE_PRODUCT = YES; 357 | }; 358 | name = Profile; 359 | }; 360 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 361 | isa = XCBuildConfiguration; 362 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 363 | buildSettings = { 364 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 365 | CLANG_ENABLE_MODULES = YES; 366 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 367 | ENABLE_BITCODE = NO; 368 | FRAMEWORK_SEARCH_PATHS = ( 369 | "$(inherited)", 370 | "$(PROJECT_DIR)/Flutter", 371 | ); 372 | INFOPLIST_FILE = Runner/Info.plist; 373 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 374 | LIBRARY_SEARCH_PATHS = ( 375 | "$(inherited)", 376 | "$(PROJECT_DIR)/Flutter", 377 | ); 378 | PRODUCT_BUNDLE_IDENTIFIER = com.codinginfun.flutterTiktokUi; 379 | PRODUCT_NAME = "$(TARGET_NAME)"; 380 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 381 | SWIFT_VERSION = 5.0; 382 | VERSIONING_SYSTEM = "apple-generic"; 383 | }; 384 | name = Profile; 385 | }; 386 | 97C147031CF9000F007C117D /* Debug */ = { 387 | isa = XCBuildConfiguration; 388 | buildSettings = { 389 | ALWAYS_SEARCH_USER_PATHS = NO; 390 | CLANG_ANALYZER_NONNULL = YES; 391 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 392 | CLANG_CXX_LIBRARY = "libc++"; 393 | CLANG_ENABLE_MODULES = YES; 394 | CLANG_ENABLE_OBJC_ARC = YES; 395 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 396 | CLANG_WARN_BOOL_CONVERSION = YES; 397 | CLANG_WARN_COMMA = YES; 398 | CLANG_WARN_CONSTANT_CONVERSION = YES; 399 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 400 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 401 | CLANG_WARN_EMPTY_BODY = YES; 402 | CLANG_WARN_ENUM_CONVERSION = YES; 403 | CLANG_WARN_INFINITE_RECURSION = YES; 404 | CLANG_WARN_INT_CONVERSION = YES; 405 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 406 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 407 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 408 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 409 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 410 | CLANG_WARN_STRICT_PROTOTYPES = YES; 411 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 412 | CLANG_WARN_UNREACHABLE_CODE = YES; 413 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 414 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 415 | COPY_PHASE_STRIP = NO; 416 | DEBUG_INFORMATION_FORMAT = dwarf; 417 | ENABLE_STRICT_OBJC_MSGSEND = YES; 418 | ENABLE_TESTABILITY = YES; 419 | GCC_C_LANGUAGE_STANDARD = gnu99; 420 | GCC_DYNAMIC_NO_PIC = NO; 421 | GCC_NO_COMMON_BLOCKS = YES; 422 | GCC_OPTIMIZATION_LEVEL = 0; 423 | GCC_PREPROCESSOR_DEFINITIONS = ( 424 | "DEBUG=1", 425 | "$(inherited)", 426 | ); 427 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 428 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 429 | GCC_WARN_UNDECLARED_SELECTOR = YES; 430 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 431 | GCC_WARN_UNUSED_FUNCTION = YES; 432 | GCC_WARN_UNUSED_VARIABLE = YES; 433 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 434 | MTL_ENABLE_DEBUG_INFO = YES; 435 | ONLY_ACTIVE_ARCH = YES; 436 | SDKROOT = iphoneos; 437 | TARGETED_DEVICE_FAMILY = "1,2"; 438 | }; 439 | name = Debug; 440 | }; 441 | 97C147041CF9000F007C117D /* Release */ = { 442 | isa = XCBuildConfiguration; 443 | buildSettings = { 444 | ALWAYS_SEARCH_USER_PATHS = NO; 445 | CLANG_ANALYZER_NONNULL = YES; 446 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 447 | CLANG_CXX_LIBRARY = "libc++"; 448 | CLANG_ENABLE_MODULES = YES; 449 | CLANG_ENABLE_OBJC_ARC = YES; 450 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 451 | CLANG_WARN_BOOL_CONVERSION = YES; 452 | CLANG_WARN_COMMA = YES; 453 | CLANG_WARN_CONSTANT_CONVERSION = YES; 454 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 455 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 456 | CLANG_WARN_EMPTY_BODY = YES; 457 | CLANG_WARN_ENUM_CONVERSION = YES; 458 | CLANG_WARN_INFINITE_RECURSION = YES; 459 | CLANG_WARN_INT_CONVERSION = YES; 460 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 461 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 462 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 463 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 464 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 465 | CLANG_WARN_STRICT_PROTOTYPES = YES; 466 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 467 | CLANG_WARN_UNREACHABLE_CODE = YES; 468 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 469 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 470 | COPY_PHASE_STRIP = NO; 471 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 472 | ENABLE_NS_ASSERTIONS = NO; 473 | ENABLE_STRICT_OBJC_MSGSEND = YES; 474 | GCC_C_LANGUAGE_STANDARD = gnu99; 475 | GCC_NO_COMMON_BLOCKS = YES; 476 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 477 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 478 | GCC_WARN_UNDECLARED_SELECTOR = YES; 479 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 480 | GCC_WARN_UNUSED_FUNCTION = YES; 481 | GCC_WARN_UNUSED_VARIABLE = YES; 482 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 483 | MTL_ENABLE_DEBUG_INFO = NO; 484 | SDKROOT = iphoneos; 485 | SUPPORTED_PLATFORMS = iphoneos; 486 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 487 | TARGETED_DEVICE_FAMILY = "1,2"; 488 | VALIDATE_PRODUCT = YES; 489 | }; 490 | name = Release; 491 | }; 492 | 97C147061CF9000F007C117D /* Debug */ = { 493 | isa = XCBuildConfiguration; 494 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 495 | buildSettings = { 496 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 497 | CLANG_ENABLE_MODULES = YES; 498 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 499 | ENABLE_BITCODE = NO; 500 | FRAMEWORK_SEARCH_PATHS = ( 501 | "$(inherited)", 502 | "$(PROJECT_DIR)/Flutter", 503 | ); 504 | INFOPLIST_FILE = Runner/Info.plist; 505 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 506 | LIBRARY_SEARCH_PATHS = ( 507 | "$(inherited)", 508 | "$(PROJECT_DIR)/Flutter", 509 | ); 510 | PRODUCT_BUNDLE_IDENTIFIER = com.codinginfun.flutterTiktokUi; 511 | PRODUCT_NAME = "$(TARGET_NAME)"; 512 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 513 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 514 | SWIFT_VERSION = 5.0; 515 | VERSIONING_SYSTEM = "apple-generic"; 516 | }; 517 | name = Debug; 518 | }; 519 | 97C147071CF9000F007C117D /* Release */ = { 520 | isa = XCBuildConfiguration; 521 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 522 | buildSettings = { 523 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 524 | CLANG_ENABLE_MODULES = YES; 525 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 526 | ENABLE_BITCODE = NO; 527 | FRAMEWORK_SEARCH_PATHS = ( 528 | "$(inherited)", 529 | "$(PROJECT_DIR)/Flutter", 530 | ); 531 | INFOPLIST_FILE = Runner/Info.plist; 532 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 533 | LIBRARY_SEARCH_PATHS = ( 534 | "$(inherited)", 535 | "$(PROJECT_DIR)/Flutter", 536 | ); 537 | PRODUCT_BUNDLE_IDENTIFIER = com.codinginfun.flutterTiktokUi; 538 | PRODUCT_NAME = "$(TARGET_NAME)"; 539 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 540 | SWIFT_VERSION = 5.0; 541 | VERSIONING_SYSTEM = "apple-generic"; 542 | }; 543 | name = Release; 544 | }; 545 | /* End XCBuildConfiguration section */ 546 | 547 | /* Begin XCConfigurationList section */ 548 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 549 | isa = XCConfigurationList; 550 | buildConfigurations = ( 551 | 97C147031CF9000F007C117D /* Debug */, 552 | 97C147041CF9000F007C117D /* Release */, 553 | 249021D3217E4FDB00AE95B9 /* Profile */, 554 | ); 555 | defaultConfigurationIsVisible = 0; 556 | defaultConfigurationName = Release; 557 | }; 558 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 559 | isa = XCConfigurationList; 560 | buildConfigurations = ( 561 | 97C147061CF9000F007C117D /* Debug */, 562 | 97C147071CF9000F007C117D /* Release */, 563 | 249021D4217E4FDB00AE95B9 /* Profile */, 564 | ); 565 | defaultConfigurationIsVisible = 0; 566 | defaultConfigurationName = Release; 567 | }; 568 | /* End XCConfigurationList section */ 569 | }; 570 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 571 | } 572 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 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 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import Flutter 3 | 4 | @UIApplicationMain 5 | @objc class AppDelegate: FlutterAppDelegate { 6 | override func application( 7 | _ application: UIApplication, 8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? 9 | ) -> Bool { 10 | GeneratedPluginRegistrant.register(with: self) 11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "20x20", 5 | "idiom" : "iphone", 6 | "filename" : "Icon-App-20x20@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "20x20", 11 | "idiom" : "iphone", 12 | "filename" : "Icon-App-20x20@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "29x29", 17 | "idiom" : "iphone", 18 | "filename" : "Icon-App-29x29@1x.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "29x29", 23 | "idiom" : "iphone", 24 | "filename" : "Icon-App-29x29@2x.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "29x29", 29 | "idiom" : "iphone", 30 | "filename" : "Icon-App-29x29@3x.png", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "size" : "40x40", 35 | "idiom" : "iphone", 36 | "filename" : "Icon-App-40x40@2x.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "40x40", 41 | "idiom" : "iphone", 42 | "filename" : "Icon-App-40x40@3x.png", 43 | "scale" : "3x" 44 | }, 45 | { 46 | "size" : "60x60", 47 | "idiom" : "iphone", 48 | "filename" : "Icon-App-60x60@2x.png", 49 | "scale" : "2x" 50 | }, 51 | { 52 | "size" : "60x60", 53 | "idiom" : "iphone", 54 | "filename" : "Icon-App-60x60@3x.png", 55 | "scale" : "3x" 56 | }, 57 | { 58 | "size" : "20x20", 59 | "idiom" : "ipad", 60 | "filename" : "Icon-App-20x20@1x.png", 61 | "scale" : "1x" 62 | }, 63 | { 64 | "size" : "20x20", 65 | "idiom" : "ipad", 66 | "filename" : "Icon-App-20x20@2x.png", 67 | "scale" : "2x" 68 | }, 69 | { 70 | "size" : "29x29", 71 | "idiom" : "ipad", 72 | "filename" : "Icon-App-29x29@1x.png", 73 | "scale" : "1x" 74 | }, 75 | { 76 | "size" : "29x29", 77 | "idiom" : "ipad", 78 | "filename" : "Icon-App-29x29@2x.png", 79 | "scale" : "2x" 80 | }, 81 | { 82 | "size" : "40x40", 83 | "idiom" : "ipad", 84 | "filename" : "Icon-App-40x40@1x.png", 85 | "scale" : "1x" 86 | }, 87 | { 88 | "size" : "40x40", 89 | "idiom" : "ipad", 90 | "filename" : "Icon-App-40x40@2x.png", 91 | "scale" : "2x" 92 | }, 93 | { 94 | "size" : "76x76", 95 | "idiom" : "ipad", 96 | "filename" : "Icon-App-76x76@1x.png", 97 | "scale" : "1x" 98 | }, 99 | { 100 | "size" : "76x76", 101 | "idiom" : "ipad", 102 | "filename" : "Icon-App-76x76@2x.png", 103 | "scale" : "2x" 104 | }, 105 | { 106 | "size" : "83.5x83.5", 107 | "idiom" : "ipad", 108 | "filename" : "Icon-App-83.5x83.5@2x.png", 109 | "scale" : "2x" 110 | }, 111 | { 112 | "size" : "1024x1024", 113 | "idiom" : "ios-marketing", 114 | "filename" : "Icon-App-1024x1024@1x.png", 115 | "scale" : "1x" 116 | } 117 | ], 118 | "info" : { 119 | "version" : 1, 120 | "author" : "xcode" 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/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/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/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/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/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/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/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/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/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/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/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/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/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/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/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/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/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/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/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/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/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/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/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/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/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/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/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/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/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/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/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_tiktok_ui 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 | NSAppTransportSecurity 45 | 46 | NSAllowsArbitraryLoads 47 | 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_tiktok_ui/src/app.dart'; 3 | 4 | void main() => runApp(MyApp()); 5 | 6 | class MyApp extends StatelessWidget { 7 | @override 8 | Widget build(BuildContext context) { 9 | return MaterialApp( 10 | debugShowCheckedModeBanner: false, 11 | title: 'TikTok', 12 | theme: ThemeData.dark(), 13 | home: App(), 14 | ); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /lib/src/app.dart: -------------------------------------------------------------------------------- 1 | import 'dart:io'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:flutter/services.dart'; 4 | import 'package:flutter_tiktok_ui/src/screen/home_screen.dart'; 5 | 6 | class App extends StatefulWidget { 7 | @override 8 | State createState() => _AppState(); 9 | } 10 | 11 | class _AppState extends State with WidgetsBindingObserver { 12 | @override 13 | void initState() { 14 | SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle( 15 | statusBarColor: Colors.transparent, 16 | statusBarBrightness: Platform.isIOS ? Brightness.dark : Brightness.light, 17 | statusBarIconBrightness: 18 | Platform.isIOS ? Brightness.dark : Brightness.light, 19 | )); 20 | WidgetsBinding.instance.addObserver(this); 21 | SystemChrome.setPreferredOrientations([ 22 | DeviceOrientation.portraitDown, 23 | DeviceOrientation.portraitUp, 24 | ]); 25 | super.initState(); 26 | } 27 | 28 | @override 29 | Widget build(BuildContext context) { 30 | return HomeScreen(); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /lib/src/middleware/navigation.dart: -------------------------------------------------------------------------------- 1 | // Check permission and token 2 | -------------------------------------------------------------------------------- /lib/src/model/data_model.dart: -------------------------------------------------------------------------------- 1 | 2 | class DataModel{ 3 | final String name; 4 | final String likesCount; 5 | final String messagesCount; 6 | final String forwardCount; 7 | final String description; 8 | final String tags; 9 | final String musicName; 10 | final String profileUrl; 11 | 12 | DataModel({this.name, this.likesCount, this.messagesCount, this.forwardCount, this.description, this.tags, this.musicName,this.profileUrl}); 13 | } -------------------------------------------------------------------------------- /lib/src/repository/fake_repository.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter_tiktok_ui/src/model/data_model.dart'; 2 | 3 | class FakeRepository { 4 | static List data = [ 5 | DataModel( 6 | name: "@lambiengcode", 7 | description: 8 | "I know what you're thinking!! wait for it there is something", 9 | forwardCount: "10.2k", 10 | likesCount: "2.4k", 11 | messagesCount: "120.9k", 12 | musicName: "Music name is here", 13 | tags: "#mindreader, #magician #magictrick", 14 | profileUrl: 15 | "https://images.unsplash.com/photo-1516726817505-f5ed825624d8?ixid=MXwxMjA3fDB8MHxzZWFyY2h8Mnx8bW9kZWx8ZW58MHx8MHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60", 16 | ), 17 | DataModel( 18 | name: "@Nayan_551", 19 | description: 20 | "I know what you're thinking!! wait for it there is something", 21 | forwardCount: "6.2k", 22 | likesCount: "44.4k", 23 | messagesCount: "10.3k", 24 | musicName: "Flutter fun - original sounds - ", 25 | tags: "#fun #flutter #ui #openSource,", 26 | profileUrl: 27 | "https://images.unsplash.com/photo-1529626455594-4ff0802cfb7e?ixid=MXwxMjA3fDB8MHxzZWFyY2h8M3x8bW9kZWx8ZW58MHx8MHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60", 28 | ), 29 | DataModel( 30 | name: "@BenhanLie", 31 | description: 32 | "I know what you're thinking!! wait for it there is something", 33 | forwardCount: "60.12k", 34 | likesCount: "24.4k", 35 | messagesCount: "110.3k", 36 | musicName: "Music name is here riyaz-xyz music name", 37 | tags: "#greenscreen, #magician #magictrick", 38 | profileUrl: 39 | "https://images.unsplash.com/photo-1508606572321-901ea443707f?ixid=MXwxMjA3fDB8MHxzZWFyY2h8NDB8fG1vZGVsfGVufDB8fDB8&ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60", 40 | ), 41 | ]; 42 | static List dataList = ["60s", "15s", "Templates"]; 43 | static List imageData = [ 44 | "https://static.vecteezy.com/system/resources/previews/000/523/046/non_2x/vector-mobile-app-development-concept.jpg", 45 | "https://www.yourteaminindia.com/blog/wp-content/uploads/2020/06/Online-Exclusive-3.jpg", 46 | ]; 47 | static List assetData = [ 48 | "assets/profile1.jpg", 49 | "assets/profile2.jpeg", 50 | "assets/profile3.jpeg", 51 | "assets/profile1.jpg", 52 | "assets/profile2.jpeg", 53 | "assets/profile3.jpeg", 54 | "assets/profile1.jpg", 55 | "assets/profile2.jpeg", 56 | "assets/profile3.jpeg", 57 | ]; 58 | static List imageData2 = [ 59 | 'https://images.unsplash.com/photo-1520342868574-5fa3804e551c?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=6ff92caffcdd63681a35134a6770ed3b&auto=format&fit=crop&w=1951&q=80', 60 | 'https://images.unsplash.com/photo-1522205408450-add114ad53fe?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=368f45b0888aeb0b7b08e3a1084d3ede&auto=format&fit=crop&w=1950&q=80', 61 | 'https://images.unsplash.com/photo-1519125323398-675f0ddb6308?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=94a1e718d89ca60a6337a6008341ca50&auto=format&fit=crop&w=1950&q=80', 62 | 'https://images.unsplash.com/photo-1523205771623-e0faa4d2813d?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=89719a0d55dd05e2deae4120227e6efc&auto=format&fit=crop&w=1953&q=80', 63 | 'https://images.unsplash.com/photo-1508704019882-f9cf40e475b4?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=8c6e5e3aba713b17aa1fe71ab4f0ae5b&auto=format&fit=crop&w=1352&q=80', 64 | 'https://images.unsplash.com/photo-1519985176271-adb1088fa94c?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=a0c8d632e977f94e5d312d9893258f59&auto=format&fit=crop&w=1355&q=80' 65 | ]; 66 | } 67 | -------------------------------------------------------------------------------- /lib/src/screen/home_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/cupertino.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:flutter_tiktok_ui/src/screen/pages/add_video_page.dart'; 4 | import 'package:flutter_tiktok_ui/src/screen/pages/home_page.dart'; 5 | import 'package:responsive_builder/responsive_builder.dart'; 6 | 7 | class HomeScreen extends StatefulWidget { 8 | @override 9 | _HomeScreenState createState() => _HomeScreenState(); 10 | } 11 | 12 | class _HomeScreenState extends State { 13 | int _pageController = 0; 14 | 15 | List _pages = [HomePage(), Container(), Container(), Container()]; 16 | 17 | @override 18 | Widget build(BuildContext context) { 19 | return ResponsiveBuilder( 20 | builder: (BuildContext context, SizingInformation sizingInformation) { 21 | return Scaffold( 22 | bottomNavigationBar: Container( 23 | color: Colors.black, 24 | height: sizingInformation.localWidgetSize.height * 0.088, 25 | child: Row( 26 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 27 | children: [ 28 | Expanded( 29 | child: InkWell( 30 | onTap: () { 31 | setState(() { 32 | _pageController = 0; 33 | }); 34 | }, 35 | child: _navBarItem( 36 | title: "Home", 37 | icon: Icons.home, 38 | ), 39 | ), 40 | ), 41 | Expanded( 42 | child: InkWell( 43 | onTap: () { 44 | setState(() { 45 | _pageController = 1; 46 | }); 47 | }, 48 | child: _navBarItem( 49 | title: "Discover", 50 | icon: Icons.search, 51 | ), 52 | ), 53 | ), 54 | _buildAddButton(sizingInformation), 55 | Expanded( 56 | child: InkWell( 57 | onTap: () { 58 | setState(() { 59 | _pageController = 2; 60 | }); 61 | }, 62 | child: _navBarItem( 63 | title: "Inbox", 64 | icon: Icons.message, 65 | ), 66 | ), 67 | ), 68 | Expanded( 69 | child: InkWell( 70 | onTap: () { 71 | setState(() { 72 | _pageController = 3; 73 | }); 74 | }, 75 | child: _navBarItem( 76 | title: "Me", 77 | icon: Icons.person, 78 | ), 79 | ), 80 | ), 81 | ], 82 | ), 83 | ), 84 | body: _pages[_pageController], 85 | ); 86 | }, 87 | ); 88 | } 89 | 90 | Widget _navBarItem({String title, IconData icon}) { 91 | return Column( 92 | mainAxisAlignment: MainAxisAlignment.center, 93 | children: [ 94 | Icon(icon), 95 | SizedBox(height: 4.0), 96 | Text( 97 | title, 98 | style: TextStyle( 99 | fontSize: 12.0, 100 | ), 101 | ) 102 | ], 103 | ); 104 | } 105 | 106 | Widget _buildAddButton(sizingInformation) { 107 | return Padding( 108 | padding: EdgeInsets.symmetric(horizontal: 12.0), 109 | child: InkWell( 110 | onTap: () { 111 | Navigator.push( 112 | context, 113 | MaterialPageRoute( 114 | builder: (_) => AddVideoPage(), 115 | ), 116 | ); 117 | }, 118 | child: Container( 119 | margin: EdgeInsets.only(top: 16.0), 120 | width: 64, 121 | height: sizingInformation.localWidgetSize.height * 0.07, 122 | child: Stack( 123 | children: [ 124 | Align( 125 | alignment: Alignment.topLeft, 126 | child: Container( 127 | width: 22, 128 | height: sizingInformation.localWidgetSize.height * 0.045, 129 | decoration: BoxDecoration( 130 | borderRadius: BorderRadius.all(Radius.circular(10)), 131 | color: Colors.blue), 132 | ), 133 | ), 134 | Align( 135 | alignment: Alignment.topRight, 136 | child: Container( 137 | width: 22, 138 | height: sizingInformation.localWidgetSize.height * 0.045, 139 | decoration: BoxDecoration( 140 | borderRadius: BorderRadius.all(Radius.circular(10)), 141 | color: Colors.red), 142 | ), 143 | ), 144 | Align( 145 | alignment: Alignment.topCenter, 146 | child: Container( 147 | width: 52, 148 | height: sizingInformation.localWidgetSize.height * 0.045, 149 | decoration: BoxDecoration( 150 | borderRadius: BorderRadius.all(Radius.circular(10)), 151 | color: Colors.white), 152 | child: Icon( 153 | Icons.add, 154 | color: Colors.black, 155 | ), 156 | ), 157 | ) 158 | ], 159 | ), 160 | ), 161 | ), 162 | ); 163 | } 164 | } 165 | -------------------------------------------------------------------------------- /lib/src/screen/pages/add_video_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:camera/camera.dart'; 2 | import 'package:flutter/cupertino.dart'; 3 | import 'package:flutter/material.dart'; 4 | import 'package:flutter_tiktok_ui/src/repository/fake_repository.dart'; 5 | import 'package:responsive_builder/responsive_builder.dart'; 6 | 7 | class AddVideoPage extends StatefulWidget { 8 | @override 9 | _AddVideoPageState createState() => _AddVideoPageState(); 10 | } 11 | 12 | class _AddVideoPageState extends State { 13 | CameraController _cameraController; 14 | List cameras; 15 | 16 | TextStyle _textStyle = TextStyle(fontSize: 11); 17 | int _pageSelectedIndex = 1; 18 | 19 | @override 20 | void initState() { 21 | _initializedCamera(); 22 | super.initState(); 23 | } 24 | 25 | _initializedCamera() async { 26 | cameras = await availableCameras(); 27 | _cameraController = CameraController(cameras[0], ResolutionPreset.medium); 28 | _cameraController.initialize().then((value) { 29 | if (!mounted) return; 30 | setState(() {}); 31 | }); 32 | } 33 | 34 | @override 35 | Widget build(BuildContext context) { 36 | return ResponsiveBuilder( 37 | builder: (BuildContext context, SizingInformation sizingInformation) { 38 | return Scaffold( 39 | body: Stack( 40 | children: [ 41 | _cameraController.value.isInitialized 42 | ? Container( 43 | child: CameraPreview(_cameraController), 44 | ) 45 | : Container(), 46 | _topRowWidget(), 47 | _rightColumnWidgets(), 48 | _bottomRowWidget(), 49 | _bottomWidget(), 50 | ], 51 | ), 52 | ); 53 | }, 54 | ); 55 | } 56 | 57 | Widget _topRowWidget() { 58 | return Positioned( 59 | top: 30.0, 60 | left: 10.0, 61 | right: 8.0, 62 | child: Container( 63 | margin: EdgeInsets.symmetric(horizontal: 10), 64 | child: Row( 65 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 66 | children: [ 67 | InkWell( 68 | onTap: () { 69 | Navigator.pop(context); 70 | }, 71 | child: Icon(Icons.close)), 72 | Container( 73 | child: Row( 74 | children: [ 75 | Icon(Icons.music_note), 76 | Text("Sounds"), 77 | ], 78 | ), 79 | ), 80 | Column( 81 | children: [ 82 | Icon(Icons.flip), 83 | Text( 84 | "flip", 85 | style: _textStyle, 86 | ) 87 | ], 88 | ), 89 | ], 90 | ), 91 | ), 92 | ); 93 | } 94 | 95 | Widget _rightColumnWidgets() { 96 | return Positioned( 97 | right: 8.0, 98 | top: 80, 99 | child: Column( 100 | children: [ 101 | Container( 102 | child: Column( 103 | children: [ 104 | Icon(Icons.shutter_speed), 105 | Text( 106 | "Speed", 107 | style: _textStyle, 108 | ) 109 | ], 110 | ), 111 | ), 112 | SizedBox( 113 | height: 15, 114 | ), 115 | Container( 116 | child: Column( 117 | children: [ 118 | Icon(Icons.filter_tilt_shift), 119 | Text( 120 | "filters", 121 | style: _textStyle, 122 | ) 123 | ], 124 | ), 125 | ), 126 | SizedBox( 127 | height: 15, 128 | ), 129 | Container( 130 | child: Column( 131 | children: [ 132 | Icon(Icons.color_lens), 133 | Text( 134 | "beautify", 135 | style: _textStyle, 136 | ) 137 | ], 138 | ), 139 | ), 140 | SizedBox( 141 | height: 15, 142 | ), 143 | Container( 144 | child: Column( 145 | children: [ 146 | Icon(Icons.av_timer), 147 | Text( 148 | "Timer", 149 | style: _textStyle, 150 | ) 151 | ], 152 | ), 153 | ), 154 | SizedBox( 155 | height: 15, 156 | ), 157 | Container( 158 | child: Column( 159 | children: [ 160 | Icon(Icons.flash_off), 161 | Text( 162 | "Flash", 163 | style: _textStyle, 164 | ) 165 | ], 166 | ), 167 | ) 168 | ], 169 | ), 170 | ); 171 | } 172 | 173 | Widget _bottomRowWidget() { 174 | return Positioned( 175 | bottom: 60, 176 | left: 10, 177 | right: 10, 178 | child: Container( 179 | margin: EdgeInsets.symmetric(horizontal: 10), 180 | child: Row( 181 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 182 | children: [ 183 | Container( 184 | child: Column( 185 | children: [ 186 | Container( 187 | padding: EdgeInsets.symmetric(horizontal: 2, vertical: 2), 188 | height: 30, 189 | width: 30, 190 | decoration: BoxDecoration( 191 | gradient: LinearGradient(colors: [ 192 | Colors.purple.withOpacity(.4), 193 | Colors.blue.withOpacity(.4) 194 | ]), 195 | borderRadius: BorderRadius.all(Radius.circular(10)), 196 | ), 197 | child: Image.asset("assets/effects.png"), 198 | ), 199 | SizedBox( 200 | height: 4, 201 | ), 202 | Text( 203 | "Effects", 204 | style: _textStyle, 205 | ) 206 | ], 207 | ), 208 | ), 209 | Container( 210 | padding: EdgeInsets.all(10), 211 | height: 80, 212 | width: 80, 213 | decoration: BoxDecoration( 214 | color: Colors.red.withOpacity(.4), 215 | borderRadius: BorderRadius.all(Radius.circular(50)), 216 | ), 217 | child: Container( 218 | height: 60, 219 | width: 60, 220 | decoration: BoxDecoration( 221 | color: Colors.red, 222 | borderRadius: BorderRadius.all(Radius.circular(50)), 223 | border: Border.all(color: Colors.black, width: 1.5), 224 | ), 225 | ), 226 | ), 227 | Container( 228 | child: Column( 229 | children: [ 230 | Container( 231 | padding: EdgeInsets.symmetric(horizontal: 2, vertical: 2), 232 | height: 30, 233 | width: 30, 234 | decoration: BoxDecoration( 235 | border: Border.all(color: Colors.white, width: 2), 236 | borderRadius: BorderRadius.all(Radius.circular(10)), 237 | ), 238 | child: Image.asset("assets/gallery.png"), 239 | ), 240 | SizedBox( 241 | height: 4, 242 | ), 243 | Text( 244 | "Upload", 245 | style: _textStyle, 246 | ) 247 | ], 248 | ), 249 | ) 250 | ], 251 | ), 252 | ), 253 | ); 254 | } 255 | 256 | Widget _bottomWidget() { 257 | return Positioned( 258 | bottom: 0, 259 | left: 0, 260 | right: 0, 261 | child: Container( 262 | height: 50, 263 | width: 100, 264 | decoration: BoxDecoration( 265 | color: Colors.black, 266 | ), 267 | child: Stack( 268 | children: [ 269 | PageView.builder( 270 | itemCount: FakeRepository.dataList.length, 271 | onPageChanged: (int index) { 272 | setState(() { 273 | _pageSelectedIndex = index; 274 | }); 275 | }, 276 | scrollDirection: Axis.horizontal, 277 | controller: PageController( 278 | initialPage: 1, keepPage: true, viewportFraction: 0.2), 279 | itemBuilder: (BuildContext context, int index) { 280 | return Container( 281 | alignment: Alignment.center, 282 | child: Text( 283 | "${FakeRepository.dataList[index]}", 284 | style: TextStyle( 285 | color: _pageSelectedIndex == index 286 | ? Colors.white 287 | : Colors.grey), 288 | ), 289 | ); 290 | }, 291 | ), 292 | Positioned( 293 | child: Align( 294 | alignment: Alignment.bottomCenter, 295 | child: Container( 296 | width: 8, 297 | height: 8, 298 | decoration: BoxDecoration( 299 | color: Colors.white, 300 | borderRadius: BorderRadius.all(Radius.circular(10))), 301 | ), 302 | ), 303 | ) 304 | ], 305 | )), 306 | ); 307 | } 308 | 309 | @override 310 | void dispose() { 311 | _cameraController.dispose(); 312 | super.dispose(); 313 | } 314 | } 315 | -------------------------------------------------------------------------------- /lib/src/screen/pages/home_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_tiktok_ui/src/repository/fake_repository.dart'; 3 | import 'package:flutter_tiktok_ui/src/screen/pages/widgets/video_player.dart'; 4 | import 'package:responsive_builder/responsive_builder.dart'; 5 | 6 | class HomePage extends StatefulWidget { 7 | @override 8 | _HomePageState createState() => _HomePageState(); 9 | } 10 | 11 | class _HomePageState extends State { 12 | int _followingForYouController = 0; 13 | 14 | @override 15 | Widget build(BuildContext context) { 16 | return ResponsiveBuilder( 17 | builder: (BuildContext context, SizingInformation sizingInformation) { 18 | return Scaffold( 19 | body: Stack( 20 | children: [ 21 | PageView.builder( 22 | physics: ClampingScrollPhysics(), 23 | scrollDirection: Axis.vertical, 24 | itemCount: FakeRepository.data.length, 25 | itemBuilder: (BuildContext context, int index) { 26 | return VideoTiktokPlayer( 27 | index: index, 28 | ); 29 | }, 30 | ), 31 | _topWidgetFollowingAndForYou(), 32 | ], 33 | ), 34 | ); 35 | }, 36 | ); 37 | } 38 | 39 | Widget _topWidgetFollowingAndForYou() { 40 | return Align( 41 | alignment: Alignment.topCenter, 42 | child: Container( 43 | margin: EdgeInsets.only(top: 40.0), 44 | child: Row( 45 | mainAxisAlignment: MainAxisAlignment.center, 46 | children: [ 47 | GestureDetector( 48 | onTap: () { 49 | setState(() { 50 | _followingForYouController = 0; 51 | }); 52 | }, 53 | child: Text("Following", 54 | style: _textStyleFollowingForYou( 55 | _followingForYouController == 0 56 | ? Colors.white 57 | : Colors.white60))), 58 | SizedBox( 59 | width: 15, 60 | ), 61 | GestureDetector( 62 | onTap: () { 63 | setState(() { 64 | _followingForYouController = 1; 65 | }); 66 | }, 67 | child: Text("For you", 68 | style: _textStyleFollowingForYou( 69 | _followingForYouController == 1 70 | ? Colors.white 71 | : Colors.white60))) 72 | ], 73 | ), 74 | ), 75 | ); 76 | } 77 | 78 | TextStyle _textStyleFollowingForYou(Color color) { 79 | return TextStyle(fontSize: 18, color: color, fontWeight: FontWeight.w500); 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /lib/src/screen/pages/widgets/video_player.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_tiktok_ui/src/repository/fake_repository.dart'; 3 | import 'package:font_awesome_flutter/font_awesome_flutter.dart'; 4 | import 'package:marquee/marquee.dart'; 5 | import 'package:responsive_builder/responsive_builder.dart'; 6 | import 'package:video_player/video_player.dart'; 7 | 8 | class VideoTiktokPlayer extends StatefulWidget { 9 | final int index; 10 | VideoTiktokPlayer({this.index}); 11 | @override 12 | State createState() => _VideoTiktokPlayerState(); 13 | } 14 | 15 | class _VideoTiktokPlayerState extends State 16 | with SingleTickerProviderStateMixin { 17 | VideoPlayerController _videoPlayerController; 18 | AnimationController _animationController; 19 | bool _isPlaying = false; 20 | 21 | @override 22 | void initState() { 23 | _videoPlayerController = VideoPlayerController.network( 24 | 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4', 25 | ) 26 | ..initialize() 27 | ..setLooping(true) 28 | ..play().then((value) { 29 | setState(() { 30 | _isPlaying = true; 31 | }); 32 | }); 33 | _animationController = 34 | AnimationController(vsync: this, duration: Duration(seconds: 1)); 35 | _animationController.repeat(); 36 | super.initState(); 37 | } 38 | 39 | @override 40 | void dispose() { 41 | _animationController.dispose(); 42 | _videoPlayerController.dispose(); 43 | super.dispose(); 44 | } 45 | 46 | @override 47 | Widget build(BuildContext context) { 48 | return ResponsiveBuilder( 49 | builder: (BuildContext context, SizingInformation sizingInformation) { 50 | return Stack( 51 | children: [ 52 | _videoPlayerController.value.isPlaying 53 | ? Container( 54 | child: InkWell( 55 | onTap: () { 56 | setState(() { 57 | if (_videoPlayerController.value.isPlaying) { 58 | _isPlaying = false; 59 | _videoPlayerController.pause(); 60 | } else { 61 | _isPlaying = true; 62 | _videoPlayerController.play(); 63 | } 64 | }); 65 | }, 66 | child: VideoPlayer(_videoPlayerController), 67 | ), 68 | ) 69 | : Container(), 70 | _isPlaying == false 71 | ? Align( 72 | alignment: Alignment.center, 73 | child: Container( 74 | padding: 75 | EdgeInsets.symmetric(horizontal: 10, vertical: 10), 76 | decoration: BoxDecoration( 77 | color: Colors.black.withOpacity(.4), 78 | borderRadius: BorderRadius.all( 79 | Radius.circular(10), 80 | ), 81 | ), 82 | child: Icon( 83 | Icons.play_arrow, 84 | size: 95, 85 | ), 86 | ), 87 | ) 88 | : Container(), 89 | _rightSideButtonsWidgets(widget.index), 90 | _textDataWidgetBottom(sizingInformation, widget.index), 91 | ], 92 | ); 93 | }, 94 | ); 95 | } 96 | 97 | Widget _rightSideButtonsWidgets(int index) { 98 | return Positioned( 99 | right: 10, 100 | bottom: 40, 101 | child: Column( 102 | children: [ 103 | Container( 104 | height: 60, 105 | child: Stack( 106 | children: [ 107 | Container( 108 | height: 50, 109 | width: 50, 110 | decoration: BoxDecoration( 111 | border: Border.all(color: Colors.white, width: 0.80), 112 | color: Colors.black, 113 | borderRadius: BorderRadius.all(Radius.circular(50))), 114 | child: ClipRRect( 115 | borderRadius: BorderRadius.all(Radius.circular(50)), 116 | child: Image.network( 117 | FakeRepository.data[index].profileUrl, 118 | fit: BoxFit.cover, 119 | ), 120 | ), 121 | ), 122 | Positioned( 123 | bottom: 4, 124 | right: 13, 125 | child: Container( 126 | alignment: Alignment.center, 127 | padding: EdgeInsets.symmetric(horizontal: 5), 128 | height: 20, 129 | width: 20, 130 | decoration: BoxDecoration( 131 | color: Colors.red, 132 | borderRadius: BorderRadius.all(Radius.circular(50))), 133 | child: Text( 134 | "+", 135 | style: 136 | TextStyle(fontWeight: FontWeight.bold, fontSize: 16), 137 | ), 138 | ), 139 | ), 140 | ], 141 | ), 142 | ), 143 | SizedBox( 144 | height: 15, 145 | ), 146 | Container( 147 | child: Column( 148 | children: [ 149 | Icon( 150 | FontAwesomeIcons.solidHeart, 151 | size: 38, 152 | ), 153 | SizedBox( 154 | height: 5, 155 | ), 156 | Text("${FakeRepository.data[index].likesCount}") 157 | ], 158 | ), 159 | ), 160 | SizedBox( 161 | height: 25, 162 | ), 163 | Container( 164 | child: Column( 165 | children: [ 166 | Icon(Icons.message, size: 38), 167 | SizedBox( 168 | height: 5, 169 | ), 170 | Text("${FakeRepository.data[index].messagesCount}") 171 | ], 172 | ), 173 | ), 174 | SizedBox( 175 | height: 25, 176 | ), 177 | Container( 178 | child: Icon(FontAwesomeIcons.share, size: 38), 179 | ), 180 | SizedBox( 181 | height: 25, 182 | ), 183 | AnimatedBuilder( 184 | builder: (BuildContext context, Widget child) { 185 | return Transform.rotate( 186 | angle: _animationController.value * 6.3, 187 | child: child, 188 | ); 189 | }, 190 | animation: _animationController, 191 | child: Container( 192 | height: 50, 193 | width: 50, 194 | padding: EdgeInsets.all(10), 195 | decoration: BoxDecoration( 196 | color: Colors.black45, 197 | borderRadius: BorderRadius.all(Radius.circular(50))), 198 | child: Container( 199 | height: 30, 200 | width: 30, 201 | decoration: BoxDecoration( 202 | color: Colors.green, 203 | borderRadius: BorderRadius.all(Radius.circular(50)), 204 | ), 205 | child: ClipRRect( 206 | borderRadius: BorderRadius.all(Radius.circular(50)), 207 | child: Image.network( 208 | FakeRepository.data[index].profileUrl, 209 | fit: BoxFit.cover, 210 | )), 211 | ), 212 | ), 213 | ), 214 | ], 215 | ), 216 | ); 217 | } 218 | 219 | Widget _textDataWidgetBottom(SizingInformation sizingInformation, int index) { 220 | return Positioned( 221 | bottom: 20, 222 | left: 10, 223 | child: Column( 224 | crossAxisAlignment: CrossAxisAlignment.start, 225 | children: [ 226 | Container( 227 | padding: EdgeInsets.symmetric(horizontal: 5, vertical: 5), 228 | decoration: BoxDecoration( 229 | color: Colors.black38, 230 | borderRadius: BorderRadius.all( 231 | Radius.circular(8), 232 | ), 233 | ), 234 | child: Row( 235 | children: [ 236 | Container( 237 | padding: EdgeInsets.symmetric(horizontal: 4, vertical: 4), 238 | decoration: BoxDecoration( 239 | color: Colors.black, 240 | borderRadius: BorderRadius.all( 241 | Radius.circular(30), 242 | ), 243 | ), 244 | child: Icon( 245 | Icons.play_arrow, 246 | size: 15, 247 | )), 248 | SizedBox( 249 | width: 10, 250 | ), 251 | Text("Double Exposure") 252 | ], 253 | ), 254 | ), 255 | SizedBox( 256 | height: 10, 257 | ), 258 | Text( 259 | "${FakeRepository.data[index].name}", 260 | style: TextStyle(fontWeight: FontWeight.w500, fontSize: 18), 261 | ), 262 | SizedBox( 263 | height: 10, 264 | ), 265 | Container( 266 | width: sizingInformation.localWidgetSize.width * 0.80, 267 | child: Text( 268 | "${FakeRepository.data[index].description}", 269 | overflow: TextOverflow.ellipsis, 270 | style: TextStyle(fontSize: 14), 271 | ), 272 | ), 273 | SizedBox( 274 | height: 10, 275 | ), 276 | Container( 277 | width: sizingInformation.localWidgetSize.width * 0.70, 278 | child: Text("${FakeRepository.data[index].tags}")), 279 | SizedBox( 280 | height: 10, 281 | ), 282 | Container( 283 | child: Row( 284 | crossAxisAlignment: CrossAxisAlignment.center, 285 | children: [ 286 | Icon( 287 | Icons.music_note, 288 | color: Colors.white, 289 | size: 20, 290 | ), 291 | SizedBox( 292 | width: 5, 293 | ), 294 | Container( 295 | height: 25, 296 | width: sizingInformation.localWidgetSize.width * 0.40, 297 | child: Marquee( 298 | text: "${FakeRepository.data[index].musicName}", 299 | pauseAfterRound: Duration(seconds: 1), 300 | startPadding: 10.0, 301 | accelerationDuration: Duration(seconds: 1), 302 | accelerationCurve: Curves.linear, 303 | decelerationDuration: Duration(seconds: 1), 304 | decelerationCurve: Curves.easeOut, 305 | scrollAxis: Axis.horizontal, 306 | crossAxisAlignment: CrossAxisAlignment.start, 307 | blankSpace: 20.0, 308 | velocity: 100.0, 309 | ), 310 | ), 311 | ], 312 | ), 313 | ), 314 | ], 315 | ), 316 | ); 317 | } 318 | } 319 | -------------------------------------------------------------------------------- /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.5.0-nullsafety.3" 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-nullsafety.3" 18 | camera: 19 | dependency: "direct main" 20 | description: 21 | name: camera 22 | url: "https://pub.dartlang.org" 23 | source: hosted 24 | version: "0.5.8+2" 25 | carousel_slider: 26 | dependency: "direct main" 27 | description: 28 | name: carousel_slider 29 | url: "https://pub.dartlang.org" 30 | source: hosted 31 | version: "2.2.1" 32 | characters: 33 | dependency: transitive 34 | description: 35 | name: characters 36 | url: "https://pub.dartlang.org" 37 | source: hosted 38 | version: "1.1.0-nullsafety.5" 39 | charcode: 40 | dependency: transitive 41 | description: 42 | name: charcode 43 | url: "https://pub.dartlang.org" 44 | source: hosted 45 | version: "1.2.0-nullsafety.3" 46 | clock: 47 | dependency: transitive 48 | description: 49 | name: clock 50 | url: "https://pub.dartlang.org" 51 | source: hosted 52 | version: "1.1.0-nullsafety.3" 53 | collection: 54 | dependency: transitive 55 | description: 56 | name: collection 57 | url: "https://pub.dartlang.org" 58 | source: hosted 59 | version: "1.15.0-nullsafety.5" 60 | cupertino_icons: 61 | dependency: "direct main" 62 | description: 63 | name: cupertino_icons 64 | url: "https://pub.dartlang.org" 65 | source: hosted 66 | version: "0.1.3" 67 | fading_edge_scrollview: 68 | dependency: transitive 69 | description: 70 | name: fading_edge_scrollview 71 | url: "https://pub.dartlang.org" 72 | source: hosted 73 | version: "1.1.4" 74 | fake_async: 75 | dependency: transitive 76 | description: 77 | name: fake_async 78 | url: "https://pub.dartlang.org" 79 | source: hosted 80 | version: "1.2.0-nullsafety.3" 81 | flutter: 82 | dependency: "direct main" 83 | description: flutter 84 | source: sdk 85 | version: "0.0.0" 86 | flutter_test: 87 | dependency: "direct dev" 88 | description: flutter 89 | source: sdk 90 | version: "0.0.0" 91 | flutter_web_plugins: 92 | dependency: transitive 93 | description: flutter 94 | source: sdk 95 | version: "0.0.0" 96 | font_awesome_flutter: 97 | dependency: "direct main" 98 | description: 99 | name: font_awesome_flutter 100 | url: "https://pub.dartlang.org" 101 | source: hosted 102 | version: "8.8.1" 103 | js: 104 | dependency: transitive 105 | description: 106 | name: js 107 | url: "https://pub.dartlang.org" 108 | source: hosted 109 | version: "0.6.3-nullsafety.3" 110 | marquee: 111 | dependency: "direct main" 112 | description: 113 | name: marquee 114 | url: "https://pub.dartlang.org" 115 | source: hosted 116 | version: "1.5.2" 117 | matcher: 118 | dependency: transitive 119 | description: 120 | name: matcher 121 | url: "https://pub.dartlang.org" 122 | source: hosted 123 | version: "0.12.10-nullsafety.3" 124 | meta: 125 | dependency: transitive 126 | description: 127 | name: meta 128 | url: "https://pub.dartlang.org" 129 | source: hosted 130 | version: "1.3.0-nullsafety.6" 131 | path: 132 | dependency: transitive 133 | description: 134 | name: path 135 | url: "https://pub.dartlang.org" 136 | source: hosted 137 | version: "1.8.0-nullsafety.3" 138 | responsive_builder: 139 | dependency: "direct main" 140 | description: 141 | name: responsive_builder 142 | url: "https://pub.dartlang.org" 143 | source: hosted 144 | version: "0.2.0+2" 145 | sky_engine: 146 | dependency: transitive 147 | description: flutter 148 | source: sdk 149 | version: "0.0.99" 150 | source_span: 151 | dependency: transitive 152 | description: 153 | name: source_span 154 | url: "https://pub.dartlang.org" 155 | source: hosted 156 | version: "1.8.0-nullsafety.4" 157 | stack_trace: 158 | dependency: transitive 159 | description: 160 | name: stack_trace 161 | url: "https://pub.dartlang.org" 162 | source: hosted 163 | version: "1.10.0-nullsafety.6" 164 | stream_channel: 165 | dependency: transitive 166 | description: 167 | name: stream_channel 168 | url: "https://pub.dartlang.org" 169 | source: hosted 170 | version: "2.1.0-nullsafety.3" 171 | string_scanner: 172 | dependency: transitive 173 | description: 174 | name: string_scanner 175 | url: "https://pub.dartlang.org" 176 | source: hosted 177 | version: "1.1.0-nullsafety.3" 178 | term_glyph: 179 | dependency: transitive 180 | description: 181 | name: term_glyph 182 | url: "https://pub.dartlang.org" 183 | source: hosted 184 | version: "1.2.0-nullsafety.3" 185 | test_api: 186 | dependency: transitive 187 | description: 188 | name: test_api 189 | url: "https://pub.dartlang.org" 190 | source: hosted 191 | version: "0.2.19-nullsafety.6" 192 | typed_data: 193 | dependency: transitive 194 | description: 195 | name: typed_data 196 | url: "https://pub.dartlang.org" 197 | source: hosted 198 | version: "1.3.0-nullsafety.5" 199 | vector_math: 200 | dependency: transitive 201 | description: 202 | name: vector_math 203 | url: "https://pub.dartlang.org" 204 | source: hosted 205 | version: "2.1.0-nullsafety.5" 206 | video_player: 207 | dependency: "direct main" 208 | description: 209 | name: video_player 210 | url: "https://pub.dartlang.org" 211 | source: hosted 212 | version: "0.10.11+2" 213 | video_player_platform_interface: 214 | dependency: transitive 215 | description: 216 | name: video_player_platform_interface 217 | url: "https://pub.dartlang.org" 218 | source: hosted 219 | version: "2.0.2" 220 | video_player_web: 221 | dependency: transitive 222 | description: 223 | name: video_player_web 224 | url: "https://pub.dartlang.org" 225 | source: hosted 226 | version: "0.1.3+2" 227 | sdks: 228 | dart: ">=2.12.0-0.0 <3.0.0" 229 | flutter: ">=1.12.13+hotfix.5 <2.0.0" 230 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: flutter_tiktok_ui 2 | description: A new Flutter application. 3 | 4 | # The following line prevents the package from being accidentally published to 5 | # pub.dev using `pub publish`. This is preferred for private packages. 6 | publish_to: 'none' # Remove this line if you wish to publish to pub.dev 7 | 8 | # The following defines the version and build number for your application. 9 | # A version number is three numbers separated by dots, like 1.2.43 10 | # followed by an optional build number separated by a +. 11 | # Both the version and the builder number may be overridden in flutter 12 | # build by specifying --build-name and --build-number, respectively. 13 | # In Android, build-name is used as versionName while build-number used as versionCode. 14 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning 15 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. 16 | # Read more about iOS versioning at 17 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html 18 | version: 1.0.0+1 19 | 20 | environment: 21 | sdk: ">=2.7.0 <3.0.0" 22 | 23 | dependencies: 24 | flutter: 25 | sdk: flutter 26 | responsive_builder: ^0.2.0+2 27 | font_awesome_flutter: ^8.8.1 28 | video_player: ^0.10.11+2 29 | marquee: ^1.5.2 30 | camera: ^0.5.8+2 31 | carousel_slider: ^2.2.1 32 | 33 | # The following adds the Cupertino Icons font to your application. 34 | # Use with the CupertinoIcons class for iOS style icons. 35 | cupertino_icons: ^0.1.3 36 | 37 | dev_dependencies: 38 | flutter_test: 39 | sdk: flutter 40 | 41 | # For information on the generic Dart part of this file, see the 42 | # following page: https://dart.dev/tools/pub/pubspec 43 | 44 | # The following section is specific to Flutter. 45 | flutter: 46 | 47 | # The following line ensures that the Material Icons font is 48 | # included with your application, so that you can use the icons in 49 | # the material Icons class. 50 | uses-material-design: true 51 | 52 | # To add assets to your application, add an assets section, like this: 53 | assets: 54 | - assets/. 55 | # - images/a_dot_ham.jpeg 56 | 57 | # An image asset can refer to one or more resolution-specific "variants", see 58 | # https://flutter.dev/assets-and-images/#resolution-aware. 59 | 60 | # For details regarding adding assets from package dependencies, see 61 | # https://flutter.dev/assets-and-images/#from-packages 62 | 63 | # To add custom fonts to your application, add a fonts section here, 64 | # in this "flutter" section. Each entry in this list should have a 65 | # "family" key with the font family name, and a "fonts" key with a 66 | # list giving the asset and other descriptors for the font. For 67 | # example: 68 | # fonts: 69 | # - family: Schyler 70 | # fonts: 71 | # - asset: fonts/Schyler-Regular.ttf 72 | # - asset: fonts/Schyler-Italic.ttf 73 | # style: italic 74 | # - family: Trajan Pro 75 | # fonts: 76 | # - asset: fonts/TrajanPro.ttf 77 | # - asset: fonts/TrajanPro_Bold.ttf 78 | # weight: 700 79 | # 80 | # For details regarding fonts from package dependencies, 81 | # see https://flutter.dev/custom-fonts/#from-packages 82 | -------------------------------------------------------------------------------- /screenshots/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambiengcode/flutter-tiktok-clone/5056b909106fe6f443992931c664184897922f25/screenshots/home.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_tiktok_ui/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 | --------------------------------------------------------------------------------