├── .gitignore
├── .metadata
├── README.md
├── android
├── .gitignore
├── app
│ ├── build.gradle
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── example
│ │ │ └── mockaweme
│ │ │ └── MainActivity.java
│ │ └── 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
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
├── images
├── a5d.jpg
├── a5e.jpg
├── a5f.jpg
├── a5g.jpg
├── a5h.jpg
├── a5i.jpg
├── a5j.jpg
├── a5k.jpg
├── a5l.jpg
├── a5m.jpg
├── a5n.jpg
├── a5o.jpg
├── a5p.jpg
├── a5q.jpg
├── a5r.jpg
├── a5s.jpg
├── a5t.jpg
├── a5u.jpg
├── a5v.jpg
├── a5w.jpg
├── a5x.jpg
├── a5y.jpg
├── a5z.jpg
├── a60.jpg
├── a61.jpg
├── a62.jpg
├── a63.jpg
├── a64.jpg
├── a65.jpg
├── a66.jpg
├── a67.jpg
├── a68.jpg
├── a7e.png
├── a8j.png
├── a8x.png
├── a95.png
├── a98.png
├── a9b.png
├── a9g.png
├── q8.png
├── qt.png
├── r_.png
├── ra.png
├── rb.png
├── rc.png
├── rp.png
├── s3.png
├── s5.png
├── sc.png
├── sd.png
├── so.png
├── sr.png
├── tu.png
├── v6.png
├── we.png
└── ww.png
├── ios
├── .gitignore
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── Podfile
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ └── contents.xcworkspacedata
└── Runner
│ ├── AppDelegate.h
│ ├── AppDelegate.m
│ ├── 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
│ └── main.m
├── lib
├── main.dart
├── pages
│ ├── bottom_nav.dart
│ ├── home_page.dart
│ ├── main_page.dart
│ ├── profile_page.dart
│ └── video_play_page.dart
└── repo
│ └── repo.dart
├── mockaweme.iml
├── mockaweme_android.iml
├── pubspec.lock
├── pubspec.yaml
└── test
└── widget_test.dart
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | .atom/
3 | .dart_tool/
4 | .idea
5 | .vscode/
6 | .packages
7 | .pub/
8 | build/
9 | ios/.generated/
10 | packages
11 | .flutter-plugins
12 |
--------------------------------------------------------------------------------
/.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: fe334e16520e820fc99bf8a4d10b5ca18b9109fd
8 | channel: master
9 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # mockaweme
2 |
3 | A new Flutter project.
4 |
5 | ## Getting Started
6 |
7 | For help getting started with Flutter, view our online
8 | [documentation](https://flutter.io/).
9 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | *.class
3 | .gradle
4 | /local.properties
5 | /.idea/workspace.xml
6 | /.idea/libraries
7 | .DS_Store
8 | /build
9 | /captures
10 | GeneratedPluginRegistrant.java
11 |
--------------------------------------------------------------------------------
/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 | apply plugin: 'com.android.application'
15 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
16 |
17 | android {
18 | compileSdkVersion 27
19 |
20 | lintOptions {
21 | disable 'InvalidPackage'
22 | }
23 |
24 | defaultConfig {
25 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
26 | applicationId "com.example.mockaweme"
27 | minSdkVersion 16
28 | targetSdkVersion 27
29 | versionCode 1
30 | versionName "1.0"
31 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
32 | }
33 |
34 | buildTypes {
35 | release {
36 | // TODO: Add your own signing config for the release build.
37 | // Signing with the debug keys for now, so `flutter run --release` works.
38 | signingConfig signingConfigs.debug
39 | }
40 | }
41 | }
42 |
43 | flutter {
44 | source '../..'
45 | }
46 |
47 | dependencies {
48 | testImplementation 'junit:junit:4.12'
49 | androidTestImplementation 'com.android.support.test:runner:1.0.1'
50 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
51 | }
52 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
8 |
9 |
10 |
15 |
19 |
26 |
30 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/example/mockaweme/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.example.mockaweme;
2 |
3 | import android.os.Bundle;
4 |
5 | import io.flutter.app.FlutterActivity;
6 | import io.flutter.plugins.GeneratedPluginRegistrant;
7 |
8 | public class MainActivity extends FlutterActivity {
9 | @Override
10 | protected void onCreate(Bundle savedInstanceState) {
11 | super.onCreate(savedInstanceState);
12 | GeneratedPluginRegistrant.registerWith(this);
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/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/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | repositories {
3 | google()
4 | jcenter()
5 | }
6 |
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:3.0.1'
9 | }
10 | }
11 |
12 | allprojects {
13 | repositories {
14 | google()
15 | jcenter()
16 | }
17 | }
18 |
19 | rootProject.buildDir = '../build'
20 | subprojects {
21 | project.buildDir = "${rootProject.buildDir}/${project.name}"
22 | }
23 | subprojects {
24 | project.evaluationDependsOn(':app')
25 | }
26 |
27 | task clean(type: Delete) {
28 | delete rootProject.buildDir
29 | }
30 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/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-4.1-all.zip
7 |
--------------------------------------------------------------------------------
/android/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ##############################################################################
4 | ##
5 | ## Gradle start up script for UN*X
6 | ##
7 | ##############################################################################
8 |
9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
10 | DEFAULT_JVM_OPTS=""
11 |
12 | APP_NAME="Gradle"
13 | APP_BASE_NAME=`basename "$0"`
14 |
15 | # Use the maximum available, or set MAX_FD != -1 to use that value.
16 | MAX_FD="maximum"
17 |
18 | warn ( ) {
19 | echo "$*"
20 | }
21 |
22 | die ( ) {
23 | echo
24 | echo "$*"
25 | echo
26 | exit 1
27 | }
28 |
29 | # OS specific support (must be 'true' or 'false').
30 | cygwin=false
31 | msys=false
32 | darwin=false
33 | case "`uname`" in
34 | CYGWIN* )
35 | cygwin=true
36 | ;;
37 | Darwin* )
38 | darwin=true
39 | ;;
40 | MINGW* )
41 | msys=true
42 | ;;
43 | esac
44 |
45 | # Attempt to set APP_HOME
46 | # Resolve links: $0 may be a link
47 | PRG="$0"
48 | # Need this for relative symlinks.
49 | while [ -h "$PRG" ] ; do
50 | ls=`ls -ld "$PRG"`
51 | link=`expr "$ls" : '.*-> \(.*\)$'`
52 | if expr "$link" : '/.*' > /dev/null; then
53 | PRG="$link"
54 | else
55 | PRG=`dirname "$PRG"`"/$link"
56 | fi
57 | done
58 | SAVED="`pwd`"
59 | cd "`dirname \"$PRG\"`/" >/dev/null
60 | APP_HOME="`pwd -P`"
61 | cd "$SAVED" >/dev/null
62 |
63 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
64 |
65 | # Determine the Java command to use to start the JVM.
66 | if [ -n "$JAVA_HOME" ] ; then
67 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
68 | # IBM's JDK on AIX uses strange locations for the executables
69 | JAVACMD="$JAVA_HOME/jre/sh/java"
70 | else
71 | JAVACMD="$JAVA_HOME/bin/java"
72 | fi
73 | if [ ! -x "$JAVACMD" ] ; then
74 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
75 |
76 | Please set the JAVA_HOME variable in your environment to match the
77 | location of your Java installation."
78 | fi
79 | else
80 | JAVACMD="java"
81 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
82 |
83 | Please set the JAVA_HOME variable in your environment to match the
84 | location of your Java installation."
85 | fi
86 |
87 | # Increase the maximum file descriptors if we can.
88 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
89 | MAX_FD_LIMIT=`ulimit -H -n`
90 | if [ $? -eq 0 ] ; then
91 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
92 | MAX_FD="$MAX_FD_LIMIT"
93 | fi
94 | ulimit -n $MAX_FD
95 | if [ $? -ne 0 ] ; then
96 | warn "Could not set maximum file descriptor limit: $MAX_FD"
97 | fi
98 | else
99 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
100 | fi
101 | fi
102 |
103 | # For Darwin, add options to specify how the application appears in the dock
104 | if $darwin; then
105 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
106 | fi
107 |
108 | # For Cygwin, switch paths to Windows format before running java
109 | if $cygwin ; then
110 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
111 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
112 | JAVACMD=`cygpath --unix "$JAVACMD"`
113 |
114 | # We build the pattern for arguments to be converted via cygpath
115 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
116 | SEP=""
117 | for dir in $ROOTDIRSRAW ; do
118 | ROOTDIRS="$ROOTDIRS$SEP$dir"
119 | SEP="|"
120 | done
121 | OURCYGPATTERN="(^($ROOTDIRS))"
122 | # Add a user-defined pattern to the cygpath arguments
123 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then
124 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
125 | fi
126 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
127 | i=0
128 | for arg in "$@" ; do
129 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
130 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
131 |
132 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
133 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
134 | else
135 | eval `echo args$i`="\"$arg\""
136 | fi
137 | i=$((i+1))
138 | done
139 | case $i in
140 | (0) set -- ;;
141 | (1) set -- "$args0" ;;
142 | (2) set -- "$args0" "$args1" ;;
143 | (3) set -- "$args0" "$args1" "$args2" ;;
144 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
145 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
146 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
147 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
148 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
149 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
150 | esac
151 | fi
152 |
153 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
154 | function splitJvmOpts() {
155 | JVM_OPTS=("$@")
156 | }
157 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
158 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
159 |
160 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
161 |
--------------------------------------------------------------------------------
/android/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12 | set DEFAULT_JVM_OPTS=
13 |
14 | set DIRNAME=%~dp0
15 | if "%DIRNAME%" == "" set DIRNAME=.
16 | set APP_BASE_NAME=%~n0
17 | set APP_HOME=%DIRNAME%
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windowz variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 | if "%@eval[2+2]" == "4" goto 4NT_args
53 |
54 | :win9xME_args
55 | @rem Slurp the command line arguments.
56 | set CMD_LINE_ARGS=
57 | set _SKIP=2
58 |
59 | :win9xME_args_slurp
60 | if "x%~1" == "x" goto execute
61 |
62 | set CMD_LINE_ARGS=%*
63 | goto execute
64 |
65 | :4NT_args
66 | @rem Get arguments from the 4NT Shell from JP Software
67 | set CMD_LINE_ARGS=%$
68 |
69 | :execute
70 | @rem Setup the command line
71 |
72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73 |
74 | @rem Execute Gradle
75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
76 |
77 | :end
78 | @rem End local scope for the variables with windows NT shell
79 | if "%ERRORLEVEL%"=="0" goto mainEnd
80 |
81 | :fail
82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83 | rem the _cmd.exe /c_ return code!
84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
85 | exit /b 1
86 |
87 | :mainEnd
88 | if "%OS%"=="Windows_NT" endlocal
89 |
90 | :omega
91 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()
4 |
5 | def plugins = new Properties()
6 | def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
7 | if (pluginsFile.exists()) {
8 | pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) }
9 | }
10 |
11 | plugins.each { name, path ->
12 | def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
13 | include ":$name"
14 | project(":$name").projectDir = pluginDirectory
15 | }
16 |
--------------------------------------------------------------------------------
/images/a5d.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a5d.jpg
--------------------------------------------------------------------------------
/images/a5e.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a5e.jpg
--------------------------------------------------------------------------------
/images/a5f.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a5f.jpg
--------------------------------------------------------------------------------
/images/a5g.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a5g.jpg
--------------------------------------------------------------------------------
/images/a5h.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a5h.jpg
--------------------------------------------------------------------------------
/images/a5i.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a5i.jpg
--------------------------------------------------------------------------------
/images/a5j.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a5j.jpg
--------------------------------------------------------------------------------
/images/a5k.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a5k.jpg
--------------------------------------------------------------------------------
/images/a5l.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a5l.jpg
--------------------------------------------------------------------------------
/images/a5m.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a5m.jpg
--------------------------------------------------------------------------------
/images/a5n.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a5n.jpg
--------------------------------------------------------------------------------
/images/a5o.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a5o.jpg
--------------------------------------------------------------------------------
/images/a5p.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a5p.jpg
--------------------------------------------------------------------------------
/images/a5q.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a5q.jpg
--------------------------------------------------------------------------------
/images/a5r.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a5r.jpg
--------------------------------------------------------------------------------
/images/a5s.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a5s.jpg
--------------------------------------------------------------------------------
/images/a5t.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a5t.jpg
--------------------------------------------------------------------------------
/images/a5u.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a5u.jpg
--------------------------------------------------------------------------------
/images/a5v.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a5v.jpg
--------------------------------------------------------------------------------
/images/a5w.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a5w.jpg
--------------------------------------------------------------------------------
/images/a5x.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a5x.jpg
--------------------------------------------------------------------------------
/images/a5y.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a5y.jpg
--------------------------------------------------------------------------------
/images/a5z.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a5z.jpg
--------------------------------------------------------------------------------
/images/a60.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a60.jpg
--------------------------------------------------------------------------------
/images/a61.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a61.jpg
--------------------------------------------------------------------------------
/images/a62.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a62.jpg
--------------------------------------------------------------------------------
/images/a63.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a63.jpg
--------------------------------------------------------------------------------
/images/a64.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a64.jpg
--------------------------------------------------------------------------------
/images/a65.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a65.jpg
--------------------------------------------------------------------------------
/images/a66.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a66.jpg
--------------------------------------------------------------------------------
/images/a67.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a67.jpg
--------------------------------------------------------------------------------
/images/a68.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a68.jpg
--------------------------------------------------------------------------------
/images/a7e.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a7e.png
--------------------------------------------------------------------------------
/images/a8j.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a8j.png
--------------------------------------------------------------------------------
/images/a8x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a8x.png
--------------------------------------------------------------------------------
/images/a95.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a95.png
--------------------------------------------------------------------------------
/images/a98.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a98.png
--------------------------------------------------------------------------------
/images/a9b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a9b.png
--------------------------------------------------------------------------------
/images/a9g.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/a9g.png
--------------------------------------------------------------------------------
/images/q8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/q8.png
--------------------------------------------------------------------------------
/images/qt.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/qt.png
--------------------------------------------------------------------------------
/images/r_.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/r_.png
--------------------------------------------------------------------------------
/images/ra.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/ra.png
--------------------------------------------------------------------------------
/images/rb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/rb.png
--------------------------------------------------------------------------------
/images/rc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/rc.png
--------------------------------------------------------------------------------
/images/rp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/rp.png
--------------------------------------------------------------------------------
/images/s3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/s3.png
--------------------------------------------------------------------------------
/images/s5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/s5.png
--------------------------------------------------------------------------------
/images/sc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/sc.png
--------------------------------------------------------------------------------
/images/sd.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/sd.png
--------------------------------------------------------------------------------
/images/so.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/so.png
--------------------------------------------------------------------------------
/images/sr.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/sr.png
--------------------------------------------------------------------------------
/images/tu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/tu.png
--------------------------------------------------------------------------------
/images/v6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/v6.png
--------------------------------------------------------------------------------
/images/we.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/we.png
--------------------------------------------------------------------------------
/images/ww.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/images/ww.png
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/
2 | .vagrant/
3 | .sconsign.dblite
4 | .svn/
5 |
6 | .DS_Store
7 | *.swp
8 | profile
9 |
10 | DerivedData/
11 | build/
12 | GeneratedPluginRegistrant.h
13 | GeneratedPluginRegistrant.m
14 |
15 | *.pbxuser
16 | *.mode1v3
17 | *.mode2v3
18 | *.perspectivev3
19 |
20 | !default.pbxuser
21 | !default.mode1v3
22 | !default.mode2v3
23 | !default.perspectivev3
24 |
25 | xcuserdata
26 |
27 | *.moved-aside
28 |
29 | *.pyc
30 | *sync/
31 | Icon?
32 | .tags*
33 |
34 | /Flutter/app.flx
35 | /Flutter/app.zip
36 | /Flutter/flutter_assets/
37 | /Flutter/App.framework
38 | /Flutter/Flutter.framework
39 | /Flutter/Generated.xcconfig
40 | /ServiceDefinitions.json
41 |
42 | Pods/
43 |
--------------------------------------------------------------------------------
/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | UIRequiredDeviceCapabilities
24 |
25 | arm64
26 |
27 | MinimumOSVersion
28 | 8.0
29 |
30 |
31 |
--------------------------------------------------------------------------------
/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 | def parse_KV_file(file, separator='=')
8 | file_abs_path = File.expand_path(file)
9 | if !File.exists? file_abs_path
10 | return [];
11 | end
12 | pods_ary = []
13 | skip_line_start_symbols = ["#", "/"]
14 | File.foreach(file_abs_path) { |line|
15 | next if skip_line_start_symbols.any? { |symbol| line =~ /^\s*#{symbol}/ }
16 | plugin = line.split(pattern=separator)
17 | if plugin.length == 2
18 | podname = plugin[0].strip()
19 | path = plugin[1].strip()
20 | podpath = File.expand_path("#{path}", file_abs_path)
21 | pods_ary.push({:name => podname, :path => podpath});
22 | else
23 | puts "Invalid plugin specification: #{line}"
24 | end
25 | }
26 | return pods_ary
27 | end
28 |
29 | target 'Runner' do
30 | # Prepare symlinks folder. We use symlinks to avoid having Podfile.lock
31 | # referring to absolute paths on developers' machines.
32 | system('rm -rf Pods/.symlinks')
33 | system('mkdir -p Pods/.symlinks/flutter')
34 | system('mkdir -p Pods/.symlinks/plugins')
35 |
36 | # Flutter Pods
37 | generated_xcode_build_settings = parse_KV_file('./Flutter/Generated.xcconfig')
38 | if generated_xcode_build_settings.empty?
39 | puts "Generated.xcconfig must exist. If you're running pod install manually, make sure flutter packages get is executed first."
40 | end
41 | generated_xcode_build_settings.map { |p|
42 | if p[:name] == 'FLUTTER_FRAMEWORK_DIR'
43 | symlink = File.join('Pods', '.symlinks', 'flutter', File.basename(p[:path]))
44 | File.symlink(p[:path], symlink)
45 | pod 'Flutter', :path => symlink
46 | end
47 | }
48 |
49 | # Plugin Pods
50 | plugin_pods = parse_KV_file('../.flutter-plugins')
51 | plugin_pods.map { |p|
52 | symlink = File.join('Pods', '.symlinks', 'plugins', File.basename(p[:path]))
53 | File.symlink(p[:path], symlink)
54 | pod p[:name], :path => File.join(symlink, 'ios')
55 | }
56 | end
57 |
58 | post_install do |installer|
59 | installer.pods_project.targets.each do |target|
60 | target.build_configurations.each do |config|
61 | config.build_settings['ENABLE_BITCODE'] = 'NO'
62 | end
63 | end
64 | end
65 |
--------------------------------------------------------------------------------
/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 | 2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */ = {isa = PBXBuildFile; fileRef = 2D5378251FAA1A9400D5DBA9 /* flutter_assets */; };
12 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
13 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; };
14 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
15 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; };
16 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
17 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; };
18 | 9740EEB51CF90195004384FC /* Generated.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB31CF90195004384FC /* Generated.xcconfig */; };
19 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; };
20 | 97C146F31CF9000F007C117D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 97C146F21CF9000F007C117D /* main.m */; };
21 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
22 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
23 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
24 | /* End PBXBuildFile section */
25 |
26 | /* Begin PBXCopyFilesBuildPhase section */
27 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
28 | isa = PBXCopyFilesBuildPhase;
29 | buildActionMask = 2147483647;
30 | dstPath = "";
31 | dstSubfolderSpec = 10;
32 | files = (
33 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */,
34 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */,
35 | );
36 | name = "Embed Frameworks";
37 | runOnlyForDeploymentPostprocessing = 0;
38 | };
39 | /* End PBXCopyFilesBuildPhase section */
40 |
41 | /* Begin PBXFileReference section */
42 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
43 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
44 | 2D5378251FAA1A9400D5DBA9 /* flutter_assets */ = {isa = PBXFileReference; lastKnownFileType = folder; name = flutter_assets; path = Flutter/flutter_assets; sourceTree = SOURCE_ROOT; };
45 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
46 | 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; };
47 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
48 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
49 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
50 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
51 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
52 | 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; };
53 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
54 | 97C146F21CF9000F007C117D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
55 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
56 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
57 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
58 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
59 | /* End PBXFileReference section */
60 |
61 | /* Begin PBXFrameworksBuildPhase section */
62 | 97C146EB1CF9000F007C117D /* Frameworks */ = {
63 | isa = PBXFrameworksBuildPhase;
64 | buildActionMask = 2147483647;
65 | files = (
66 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */,
67 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */,
68 | );
69 | runOnlyForDeploymentPostprocessing = 0;
70 | };
71 | /* End PBXFrameworksBuildPhase section */
72 |
73 | /* Begin PBXGroup section */
74 | 9740EEB11CF90186004384FC /* Flutter */ = {
75 | isa = PBXGroup;
76 | children = (
77 | 2D5378251FAA1A9400D5DBA9 /* flutter_assets */,
78 | 3B80C3931E831B6300D905FE /* App.framework */,
79 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
80 | 9740EEBA1CF902C7004384FC /* Flutter.framework */,
81 | 9740EEB21CF90195004384FC /* Debug.xcconfig */,
82 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
83 | 9740EEB31CF90195004384FC /* Generated.xcconfig */,
84 | );
85 | name = Flutter;
86 | sourceTree = "";
87 | };
88 | 97C146E51CF9000F007C117D = {
89 | isa = PBXGroup;
90 | children = (
91 | 9740EEB11CF90186004384FC /* Flutter */,
92 | 97C146F01CF9000F007C117D /* Runner */,
93 | 97C146EF1CF9000F007C117D /* Products */,
94 | CF3B75C9A7D2FA2A4C99F110 /* Frameworks */,
95 | );
96 | sourceTree = "";
97 | };
98 | 97C146EF1CF9000F007C117D /* Products */ = {
99 | isa = PBXGroup;
100 | children = (
101 | 97C146EE1CF9000F007C117D /* Runner.app */,
102 | );
103 | name = Products;
104 | sourceTree = "";
105 | };
106 | 97C146F01CF9000F007C117D /* Runner */ = {
107 | isa = PBXGroup;
108 | children = (
109 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */,
110 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */,
111 | 97C146FA1CF9000F007C117D /* Main.storyboard */,
112 | 97C146FD1CF9000F007C117D /* Assets.xcassets */,
113 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
114 | 97C147021CF9000F007C117D /* Info.plist */,
115 | 97C146F11CF9000F007C117D /* Supporting Files */,
116 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
117 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
118 | );
119 | path = Runner;
120 | sourceTree = "";
121 | };
122 | 97C146F11CF9000F007C117D /* Supporting Files */ = {
123 | isa = PBXGroup;
124 | children = (
125 | 97C146F21CF9000F007C117D /* main.m */,
126 | );
127 | name = "Supporting Files";
128 | sourceTree = "";
129 | };
130 | /* End PBXGroup section */
131 |
132 | /* Begin PBXNativeTarget section */
133 | 97C146ED1CF9000F007C117D /* Runner */ = {
134 | isa = PBXNativeTarget;
135 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
136 | buildPhases = (
137 | 9740EEB61CF901F6004384FC /* Run Script */,
138 | 97C146EA1CF9000F007C117D /* Sources */,
139 | 97C146EB1CF9000F007C117D /* Frameworks */,
140 | 97C146EC1CF9000F007C117D /* Resources */,
141 | 9705A1C41CF9048500538489 /* Embed Frameworks */,
142 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
143 | );
144 | buildRules = (
145 | );
146 | dependencies = (
147 | );
148 | name = Runner;
149 | productName = Runner;
150 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
151 | productType = "com.apple.product-type.application";
152 | };
153 | /* End PBXNativeTarget section */
154 |
155 | /* Begin PBXProject section */
156 | 97C146E61CF9000F007C117D /* Project object */ = {
157 | isa = PBXProject;
158 | attributes = {
159 | LastUpgradeCheck = 0910;
160 | ORGANIZATIONNAME = "The Chromium Authors";
161 | TargetAttributes = {
162 | 97C146ED1CF9000F007C117D = {
163 | CreatedOnToolsVersion = 7.3.1;
164 | };
165 | };
166 | };
167 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
168 | compatibilityVersion = "Xcode 3.2";
169 | developmentRegion = English;
170 | hasScannedForEncodings = 0;
171 | knownRegions = (
172 | en,
173 | Base,
174 | );
175 | mainGroup = 97C146E51CF9000F007C117D;
176 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
177 | projectDirPath = "";
178 | projectRoot = "";
179 | targets = (
180 | 97C146ED1CF9000F007C117D /* Runner */,
181 | );
182 | };
183 | /* End PBXProject section */
184 |
185 | /* Begin PBXResourcesBuildPhase section */
186 | 97C146EC1CF9000F007C117D /* Resources */ = {
187 | isa = PBXResourcesBuildPhase;
188 | buildActionMask = 2147483647;
189 | files = (
190 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
191 | 9740EEB51CF90195004384FC /* Generated.xcconfig in Resources */,
192 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
193 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */,
194 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
195 | 2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */,
196 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
197 | );
198 | runOnlyForDeploymentPostprocessing = 0;
199 | };
200 | /* End PBXResourcesBuildPhase section */
201 |
202 | /* Begin PBXShellScriptBuildPhase section */
203 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
204 | isa = PBXShellScriptBuildPhase;
205 | buildActionMask = 2147483647;
206 | files = (
207 | );
208 | inputPaths = (
209 | );
210 | name = "Thin Binary";
211 | outputPaths = (
212 | );
213 | runOnlyForDeploymentPostprocessing = 0;
214 | shellPath = /bin/sh;
215 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin";
216 | };
217 | 9740EEB61CF901F6004384FC /* Run Script */ = {
218 | isa = PBXShellScriptBuildPhase;
219 | buildActionMask = 2147483647;
220 | files = (
221 | );
222 | inputPaths = (
223 | );
224 | name = "Run Script";
225 | outputPaths = (
226 | );
227 | runOnlyForDeploymentPostprocessing = 0;
228 | shellPath = /bin/sh;
229 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
230 | };
231 | /* End PBXShellScriptBuildPhase section */
232 |
233 | /* Begin PBXSourcesBuildPhase section */
234 | 97C146EA1CF9000F007C117D /* Sources */ = {
235 | isa = PBXSourcesBuildPhase;
236 | buildActionMask = 2147483647;
237 | files = (
238 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */,
239 | 97C146F31CF9000F007C117D /* main.m in Sources */,
240 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
241 | );
242 | runOnlyForDeploymentPostprocessing = 0;
243 | };
244 | /* End PBXSourcesBuildPhase section */
245 |
246 | /* Begin PBXVariantGroup section */
247 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
248 | isa = PBXVariantGroup;
249 | children = (
250 | 97C146FB1CF9000F007C117D /* Base */,
251 | );
252 | name = Main.storyboard;
253 | sourceTree = "";
254 | };
255 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
256 | isa = PBXVariantGroup;
257 | children = (
258 | 97C147001CF9000F007C117D /* Base */,
259 | );
260 | name = LaunchScreen.storyboard;
261 | sourceTree = "";
262 | };
263 | /* End PBXVariantGroup section */
264 |
265 | /* Begin XCBuildConfiguration section */
266 | 97C147031CF9000F007C117D /* Debug */ = {
267 | isa = XCBuildConfiguration;
268 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
269 | buildSettings = {
270 | ALWAYS_SEARCH_USER_PATHS = NO;
271 | CLANG_ANALYZER_NONNULL = YES;
272 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
273 | CLANG_CXX_LIBRARY = "libc++";
274 | CLANG_ENABLE_MODULES = YES;
275 | CLANG_ENABLE_OBJC_ARC = YES;
276 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
277 | CLANG_WARN_BOOL_CONVERSION = YES;
278 | CLANG_WARN_COMMA = YES;
279 | CLANG_WARN_CONSTANT_CONVERSION = YES;
280 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
281 | CLANG_WARN_EMPTY_BODY = YES;
282 | CLANG_WARN_ENUM_CONVERSION = YES;
283 | CLANG_WARN_INFINITE_RECURSION = YES;
284 | CLANG_WARN_INT_CONVERSION = YES;
285 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
286 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
287 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
288 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
289 | CLANG_WARN_STRICT_PROTOTYPES = YES;
290 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
291 | CLANG_WARN_UNREACHABLE_CODE = YES;
292 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
293 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
294 | COPY_PHASE_STRIP = NO;
295 | DEBUG_INFORMATION_FORMAT = dwarf;
296 | ENABLE_STRICT_OBJC_MSGSEND = YES;
297 | ENABLE_TESTABILITY = YES;
298 | GCC_C_LANGUAGE_STANDARD = gnu99;
299 | GCC_DYNAMIC_NO_PIC = NO;
300 | GCC_NO_COMMON_BLOCKS = YES;
301 | GCC_OPTIMIZATION_LEVEL = 0;
302 | GCC_PREPROCESSOR_DEFINITIONS = (
303 | "DEBUG=1",
304 | "$(inherited)",
305 | );
306 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
307 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
308 | GCC_WARN_UNDECLARED_SELECTOR = YES;
309 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
310 | GCC_WARN_UNUSED_FUNCTION = YES;
311 | GCC_WARN_UNUSED_VARIABLE = YES;
312 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
313 | MTL_ENABLE_DEBUG_INFO = YES;
314 | ONLY_ACTIVE_ARCH = YES;
315 | SDKROOT = iphoneos;
316 | TARGETED_DEVICE_FAMILY = "1,2";
317 | };
318 | name = Debug;
319 | };
320 | 97C147041CF9000F007C117D /* Release */ = {
321 | isa = XCBuildConfiguration;
322 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
323 | buildSettings = {
324 | ALWAYS_SEARCH_USER_PATHS = NO;
325 | CLANG_ANALYZER_NONNULL = YES;
326 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
327 | CLANG_CXX_LIBRARY = "libc++";
328 | CLANG_ENABLE_MODULES = YES;
329 | CLANG_ENABLE_OBJC_ARC = YES;
330 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
331 | CLANG_WARN_BOOL_CONVERSION = YES;
332 | CLANG_WARN_COMMA = YES;
333 | CLANG_WARN_CONSTANT_CONVERSION = YES;
334 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
335 | CLANG_WARN_EMPTY_BODY = YES;
336 | CLANG_WARN_ENUM_CONVERSION = YES;
337 | CLANG_WARN_INFINITE_RECURSION = YES;
338 | CLANG_WARN_INT_CONVERSION = YES;
339 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
340 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
341 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
342 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
343 | CLANG_WARN_STRICT_PROTOTYPES = YES;
344 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
345 | CLANG_WARN_UNREACHABLE_CODE = YES;
346 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
347 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
348 | COPY_PHASE_STRIP = NO;
349 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
350 | ENABLE_NS_ASSERTIONS = NO;
351 | ENABLE_STRICT_OBJC_MSGSEND = YES;
352 | GCC_C_LANGUAGE_STANDARD = gnu99;
353 | GCC_NO_COMMON_BLOCKS = YES;
354 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
355 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
356 | GCC_WARN_UNDECLARED_SELECTOR = YES;
357 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
358 | GCC_WARN_UNUSED_FUNCTION = YES;
359 | GCC_WARN_UNUSED_VARIABLE = YES;
360 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
361 | MTL_ENABLE_DEBUG_INFO = NO;
362 | SDKROOT = iphoneos;
363 | TARGETED_DEVICE_FAMILY = "1,2";
364 | VALIDATE_PRODUCT = YES;
365 | };
366 | name = Release;
367 | };
368 | 97C147061CF9000F007C117D /* Debug */ = {
369 | isa = XCBuildConfiguration;
370 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
371 | buildSettings = {
372 | ARCHS = arm64;
373 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
374 | ENABLE_BITCODE = NO;
375 | FRAMEWORK_SEARCH_PATHS = (
376 | "$(inherited)",
377 | "$(PROJECT_DIR)/Flutter",
378 | );
379 | INFOPLIST_FILE = Runner/Info.plist;
380 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
381 | LIBRARY_SEARCH_PATHS = (
382 | "$(inherited)",
383 | "$(PROJECT_DIR)/Flutter",
384 | );
385 | PRODUCT_BUNDLE_IDENTIFIER = com.example.mockaweme;
386 | PRODUCT_NAME = "$(TARGET_NAME)";
387 | };
388 | name = Debug;
389 | };
390 | 97C147071CF9000F007C117D /* Release */ = {
391 | isa = XCBuildConfiguration;
392 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
393 | buildSettings = {
394 | ARCHS = arm64;
395 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
396 | ENABLE_BITCODE = NO;
397 | FRAMEWORK_SEARCH_PATHS = (
398 | "$(inherited)",
399 | "$(PROJECT_DIR)/Flutter",
400 | );
401 | INFOPLIST_FILE = Runner/Info.plist;
402 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
403 | LIBRARY_SEARCH_PATHS = (
404 | "$(inherited)",
405 | "$(PROJECT_DIR)/Flutter",
406 | );
407 | PRODUCT_BUNDLE_IDENTIFIER = com.example.mockaweme;
408 | PRODUCT_NAME = "$(TARGET_NAME)";
409 | };
410 | name = Release;
411 | };
412 | /* End XCBuildConfiguration section */
413 |
414 | /* Begin XCConfigurationList section */
415 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
416 | isa = XCConfigurationList;
417 | buildConfigurations = (
418 | 97C147031CF9000F007C117D /* Debug */,
419 | 97C147041CF9000F007C117D /* Release */,
420 | );
421 | defaultConfigurationIsVisible = 0;
422 | defaultConfigurationName = Release;
423 | };
424 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
425 | isa = XCConfigurationList;
426 | buildConfigurations = (
427 | 97C147061CF9000F007C117D /* Debug */,
428 | 97C147071CF9000F007C117D /* Release */,
429 | );
430 | defaultConfigurationIsVisible = 0;
431 | defaultConfigurationName = Release;
432 | };
433 | /* End XCConfigurationList section */
434 | };
435 | rootObject = 97C146E61CF9000F007C117D /* Project object */;
436 | }
437 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
31 |
32 |
33 |
34 |
40 |
41 |
42 |
43 |
44 |
45 |
56 |
58 |
64 |
65 |
66 |
67 |
68 |
69 |
75 |
77 |
83 |
84 |
85 |
86 |
88 |
89 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.h:
--------------------------------------------------------------------------------
1 | #import
2 | #import
3 |
4 | @interface AppDelegate : FlutterAppDelegate
5 |
6 | @end
7 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.m:
--------------------------------------------------------------------------------
1 | #include "AppDelegate.h"
2 | #include "GeneratedPluginRegistrant.h"
3 |
4 | @implementation AppDelegate
5 |
6 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
7 | [GeneratedPluginRegistrant registerWithRegistry:self];
8 | // Override point for customization after application launch.
9 | return [super application:application didFinishLaunchingWithOptions:launchOptions];
10 | }
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/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/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/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/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/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/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/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/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/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/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/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/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/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/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/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/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/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/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/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/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/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/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/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/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/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/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/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/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/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/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/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/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-dev/mockaweme/c90f7b3cd2bdfc018be55883110f09c357f21272/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 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | mockaweme
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | arm64
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 | UIViewControllerBasedStatusBarAppearance
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/ios/Runner/main.m:
--------------------------------------------------------------------------------
1 | #import
2 | #import
3 | #import "AppDelegate.h"
4 |
5 | int main(int argc, char * argv[]) {
6 | @autoreleasepool {
7 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:mockaweme/pages/main_page.dart';
3 | void main() => runApp(new MyApp());
4 |
5 | class MyApp extends StatelessWidget {
6 | // This widget is the root of your application.
7 | @override
8 | Widget build(BuildContext context) {
9 | return new MaterialApp(
10 | title: 'Flutter Demo',
11 | theme: new ThemeData(
12 | primarySwatch: Colors.blue,
13 | ),
14 | home: new MainPage(title: 'Flutter Demo Home Page'),
15 | );
16 | }
17 | }
18 |
19 |
--------------------------------------------------------------------------------
/lib/pages/bottom_nav.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class BottomNavigation extends StatefulWidget{
4 | @override
5 | State createState() {
6 | return new BottomNavigationState();
7 | }
8 |
9 | }
10 |
11 | class BottomNavigationState extends State{
12 | @override
13 | Widget build(BuildContext context) {
14 | return new SizedBox(
15 | width: MediaQuery.of(context).size.width,
16 | height: 50.0,
17 | child: new Row(
18 | mainAxisAlignment: MainAxisAlignment.spaceEvenly,
19 | children: [
20 | new BottomNavigationItem('首页'),
21 | new BottomNavigationItem('关注'),
22 | new BottomNavigationItem('消息'),
23 | new BottomNavigationItem('我的'),
24 | ],
25 | ),
26 | );
27 | }
28 |
29 | }
30 |
31 | class BottomNavigationItem extends StatelessWidget{
32 |
33 | final String _text ;
34 |
35 | BottomNavigationItem(this._text);
36 | @override
37 | Widget build(BuildContext context) {
38 | return new SizedBox(
39 | width: 50.0,
40 | height: 50.0,
41 | child: new Center(child: new Text(_text,style: new TextStyle(fontSize: 16.0, color: Colors.white,fontWeight: FontWeight.bold,),),),
42 | );
43 | }
44 |
45 | }
--------------------------------------------------------------------------------
/lib/pages/home_page.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:mockaweme/repo/repo.dart';
3 | import 'package:mockaweme/pages/video_play_page.dart';
4 | import 'package:mockaweme/pages/profile_page.dart';
5 |
6 | class HomePage extends StatefulWidget {
7 | @override
8 | State createState() {
9 | return new HomePageState();
10 | }
11 | }
12 |
13 | class HomePageState extends State {
14 | GlobalKey<_VerticalVideoPageState> _verticalVideoPageStateKey =
15 | new GlobalKey();
16 | PageController _pageController;
17 | @override
18 | void initState() {
19 | super.initState();
20 | _pageController = new PageController();
21 | }
22 |
23 | @override
24 | Widget build(BuildContext context) {
25 | return new PageView.builder(
26 | itemCount: 2,
27 | itemBuilder: (BuildContext context, int position) {
28 | if (position == 0) {
29 | return new _VerticalVideoPage(
30 | key: _verticalVideoPageStateKey,
31 | );
32 | }
33 | if (position == 1) {
34 | return new ProfilePage();
35 | }
36 | },
37 | controller: _pageController,
38 | onPageChanged: (int position) {
39 | if (position == 1) {
40 | _verticalVideoPageStateKey.currentState.stop();
41 | }
42 | },
43 | );
44 | }
45 | }
46 |
47 | class _VerticalVideoPage extends StatefulWidget {
48 |
49 |
50 | _VerticalVideoPage({Key key}) : super(key: key);
51 |
52 | @override
53 | State createState() {
54 | return new _VerticalVideoPageState();
55 | }
56 | }
57 |
58 | class _VerticalVideoPageState extends State<_VerticalVideoPage> {
59 | Repo _repo = new Repo();
60 | List _videoList = [];
61 | List> videoGlobalKeys = [];
62 | PageController _pageController;
63 | int _currentPage = 0;
64 | @override
65 | void initState() {
66 | super.initState();
67 | print('init vertical video page ,current page : $_currentPage');
68 | _pageController = new PageController(initialPage: _currentPage);
69 | _repo.fetchVideoList().then((onValue) {
70 | setState(() {
71 | _videoList = onValue;
72 | _videoList.forEach((f) {
73 | videoGlobalKeys.add(new GlobalKey());
74 | });
75 | });
76 | });
77 | }
78 |
79 | stop() {
80 | for (int i = 0; i < videoGlobalKeys.length; i++) {
81 | VideoPlayViewState videoPalyViewState = videoGlobalKeys[i].currentState;
82 | if (videoPalyViewState != null) videoPalyViewState.pause();
83 | }
84 | }
85 |
86 | @override
87 | Widget build(BuildContext context) {
88 | print(' build vertical video page');
89 | return new Stack(
90 | children: [
91 | new NotificationListener(
92 | onNotification: (ScrollNotification scrollNotification) {
93 | if (scrollNotification is ScrollEndNotification) {
94 | if (_pageController.page.toInt() != _pageController.page) return;
95 | if (_currentPage == _pageController.page.toInt()) return;
96 | for (int i = 0; i < videoGlobalKeys.length; i++) {
97 | VideoPlayViewState videoPalyViewState =
98 | videoGlobalKeys[i].currentState;
99 | if (videoPalyViewState != null) videoPalyViewState.pause();
100 | }
101 | videoGlobalKeys[_pageController.page.toInt()].currentState.play();
102 | _currentPage = _pageController.page.toInt();
103 | }
104 | },
105 | child: new PageView.builder(
106 | controller: _pageController,
107 | scrollDirection: Axis.vertical,
108 | itemBuilder: (BuildContext context, int index) {
109 | return new VideoPlayView(
110 | _videoList[index],
111 | key: videoGlobalKeys[index],
112 | );
113 | },
114 | itemCount: _videoList.length,
115 | ),
116 | ),
117 | ],
118 | );
119 | }
120 | }
121 |
--------------------------------------------------------------------------------
/lib/pages/main_page.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:mockaweme/pages/bottom_nav.dart';
3 | import 'package:mockaweme/pages/home_page.dart';
4 |
5 | class MainPage extends StatefulWidget {
6 | MainPage({Key key, this.title}) : super(key: key);
7 |
8 | final String title;
9 |
10 | @override
11 | _MyHomePageState createState() => new _MyHomePageState();
12 | }
13 |
14 | class _MyHomePageState extends State {
15 | @override
16 | void initState() {
17 | super.initState();
18 | }
19 |
20 | @override
21 | Widget build(BuildContext context) {
22 | return new Scaffold(
23 | body: new Container(
24 | child: new Stack(
25 | children: [
26 | new Container(
27 | child: new HomePage(),
28 | ),
29 | new Align(
30 | alignment: Alignment.bottomCenter,
31 | child: new BottomNavigation(),
32 | ),
33 | new Align(
34 | alignment: Alignment.topLeft,
35 | child: new Image.asset(
36 | "images/r_.png",
37 | width: 10.0,
38 | height: 10.0,
39 | ),
40 | ),
41 | new Align(
42 | alignment: Alignment.topRight,
43 | child: new Image.asset(
44 | "images/ra.png",
45 | width: 10.0,
46 | height: 10.0,
47 | ),
48 | ),
49 | new Align(
50 | alignment: Alignment.bottomLeft,
51 | child: new Image.asset(
52 | "images/rb.png",
53 | width: 10.0,
54 | height: 10.0,
55 | ),
56 | ),
57 | new Align(
58 | alignment: Alignment.bottomRight,
59 | child: new Image.asset(
60 | "images/rc.png",
61 | width: 10.0,
62 | height: 10.0,
63 | ),
64 | ),
65 | ],
66 | ),
67 | ),
68 | );
69 | }
70 | }
71 |
--------------------------------------------------------------------------------
/lib/pages/profile_page.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class ProfilePage extends StatefulWidget{
4 | @override
5 | State createState() {
6 | return new ProfilePageState();
7 | }
8 |
9 | }
10 |
11 | class ProfilePageState extends State{
12 | @override
13 | Widget build(BuildContext context) {
14 | return new Container(color: Colors.black,);
15 | }
16 |
17 | }
--------------------------------------------------------------------------------
/lib/pages/video_play_page.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:video_player/video_player.dart';
3 | import 'package:mockaweme/repo/repo.dart';
4 |
5 | class VideoPlayView extends StatefulWidget {
6 | final VideoEntity _videoEntity;
7 |
8 | VideoPlayView(this._videoEntity, {Key key}) : super(key: key);
9 | @override
10 | State createState() {
11 | return new VideoPlayViewState();
12 | }
13 | }
14 |
15 | class VideoPlayViewState extends State {
16 | VideoPlayerController _controller;
17 | bool _isPlaying = false;
18 |
19 | @override
20 | void initState() {
21 | super.initState();
22 | _controller = new VideoPlayerController(widget._videoEntity.videoUrl)
23 | ..addListener(() {
24 | final bool isPlaying = _controller.value.isPlaying;
25 | if (isPlaying != _isPlaying) {
26 | if (mounted) {
27 | setState(() {
28 | _isPlaying = isPlaying;
29 | });
30 | }
31 | }
32 | })
33 | ..setLooping(true)
34 | ..initialize();
35 | }
36 |
37 | @override
38 | dispose() {
39 | super.dispose();
40 | _controller.pause();
41 | }
42 |
43 | play() {
44 | if (!_controller.value.isPlaying) {
45 | _controller.play();
46 | }
47 | }
48 |
49 | pause() {
50 | if (_controller.value.isPlaying) {
51 | _controller.pause();
52 | }
53 | }
54 |
55 | @override
56 | Widget build(BuildContext context) {
57 | Widget child;
58 | if (_isPlaying) {
59 | child = new VideoPlayer(_controller);
60 | } else {
61 | child = new Image.network(
62 | widget._videoEntity.videoThumb,
63 | fit: BoxFit.cover,
64 | );
65 | }
66 | return new Stack(
67 | children: [child],
68 | );
69 | }
70 | }
71 |
--------------------------------------------------------------------------------
/lib/repo/repo.dart:
--------------------------------------------------------------------------------
1 | import 'package:http/http.dart';
2 | import 'dart:async';
3 | import 'dart:convert';
4 | class Repo {
5 |
6 | static final Repo _repo = new Repo._internal();
7 | static const String _url = "http://p2c5nlwg0.bkt.clouddn.com/videolistv3.json";
8 | Repo._internal();
9 |
10 | factory Repo(){
11 | return _repo;
12 | }
13 |
14 | Future> fetchVideoList() async{
15 | Response response = await get(_url);
16 | List videos = json.decode(response.body)['videos'];
17 | List videoList = videos.map((f){
18 | return new VideoEntity(f['video_url'], f['video_thumb']);
19 | }).toList();
20 | return videoList;
21 | }
22 |
23 | }
24 |
25 | class VideoEntity{
26 | String videoUrl;
27 | String videoThumb;
28 |
29 | VideoEntity(this.videoUrl,this.videoThumb);
30 | }
--------------------------------------------------------------------------------
/mockaweme.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/mockaweme_android.iml:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/pubspec.lock:
--------------------------------------------------------------------------------
1 | # Generated by pub
2 | # See https://www.dartlang.org/tools/pub/glossary#lockfile
3 | packages:
4 | analyzer:
5 | dependency: transitive
6 | description:
7 | name: analyzer
8 | url: "https://pub.flutter-io.cn"
9 | source: hosted
10 | version: "0.31.1"
11 | args:
12 | dependency: transitive
13 | description:
14 | name: args
15 | url: "https://pub.flutter-io.cn"
16 | source: hosted
17 | version: "1.4.1"
18 | async:
19 | dependency: transitive
20 | description:
21 | name: async
22 | url: "https://pub.flutter-io.cn"
23 | source: hosted
24 | version: "2.0.6"
25 | barback:
26 | dependency: transitive
27 | description:
28 | name: barback
29 | url: "https://pub.flutter-io.cn"
30 | source: hosted
31 | version: "0.15.2+14"
32 | boolean_selector:
33 | dependency: transitive
34 | description:
35 | name: boolean_selector
36 | url: "https://pub.flutter-io.cn"
37 | source: hosted
38 | version: "1.0.3"
39 | charcode:
40 | dependency: transitive
41 | description:
42 | name: charcode
43 | url: "https://pub.flutter-io.cn"
44 | source: hosted
45 | version: "1.1.1"
46 | cli_util:
47 | dependency: transitive
48 | description:
49 | name: cli_util
50 | url: "https://pub.flutter-io.cn"
51 | source: hosted
52 | version: "0.1.2+1"
53 | collection:
54 | dependency: transitive
55 | description:
56 | name: collection
57 | url: "https://pub.flutter-io.cn"
58 | source: hosted
59 | version: "1.14.6"
60 | convert:
61 | dependency: transitive
62 | description:
63 | name: convert
64 | url: "https://pub.flutter-io.cn"
65 | source: hosted
66 | version: "2.0.1"
67 | crypto:
68 | dependency: transitive
69 | description:
70 | name: crypto
71 | url: "https://pub.flutter-io.cn"
72 | source: hosted
73 | version: "2.0.2+1"
74 | csslib:
75 | dependency: transitive
76 | description:
77 | name: csslib
78 | url: "https://pub.flutter-io.cn"
79 | source: hosted
80 | version: "0.14.1"
81 | cupertino_icons:
82 | dependency: "direct main"
83 | description:
84 | name: cupertino_icons
85 | url: "https://pub.flutter-io.cn"
86 | source: hosted
87 | version: "0.1.1"
88 | flutter:
89 | dependency: "direct main"
90 | description: flutter
91 | source: sdk
92 | version: "0.0.0"
93 | flutter_test:
94 | dependency: "direct dev"
95 | description: flutter
96 | source: sdk
97 | version: "0.0.0"
98 | front_end:
99 | dependency: transitive
100 | description:
101 | name: front_end
102 | url: "https://pub.flutter-io.cn"
103 | source: hosted
104 | version: "0.1.0-alpha.9"
105 | glob:
106 | dependency: transitive
107 | description:
108 | name: glob
109 | url: "https://pub.flutter-io.cn"
110 | source: hosted
111 | version: "1.1.5"
112 | html:
113 | dependency: transitive
114 | description:
115 | name: html
116 | url: "https://pub.flutter-io.cn"
117 | source: hosted
118 | version: "0.13.3"
119 | http:
120 | dependency: transitive
121 | description:
122 | name: http
123 | url: "https://pub.flutter-io.cn"
124 | source: hosted
125 | version: "0.11.3+16"
126 | http_multi_server:
127 | dependency: transitive
128 | description:
129 | name: http_multi_server
130 | url: "https://pub.flutter-io.cn"
131 | source: hosted
132 | version: "2.0.4"
133 | http_parser:
134 | dependency: transitive
135 | description:
136 | name: http_parser
137 | url: "https://pub.flutter-io.cn"
138 | source: hosted
139 | version: "3.1.1"
140 | io:
141 | dependency: transitive
142 | description:
143 | name: io
144 | url: "https://pub.flutter-io.cn"
145 | source: hosted
146 | version: "0.3.2+1"
147 | isolate:
148 | dependency: transitive
149 | description:
150 | name: isolate
151 | url: "https://pub.flutter-io.cn"
152 | source: hosted
153 | version: "1.1.0"
154 | js:
155 | dependency: transitive
156 | description:
157 | name: js
158 | url: "https://pub.flutter-io.cn"
159 | source: hosted
160 | version: "0.6.1"
161 | kernel:
162 | dependency: transitive
163 | description:
164 | name: kernel
165 | url: "https://pub.flutter-io.cn"
166 | source: hosted
167 | version: "0.3.0-alpha.9"
168 | logging:
169 | dependency: transitive
170 | description:
171 | name: logging
172 | url: "https://pub.flutter-io.cn"
173 | source: hosted
174 | version: "0.11.3+1"
175 | matcher:
176 | dependency: transitive
177 | description:
178 | name: matcher
179 | url: "https://pub.flutter-io.cn"
180 | source: hosted
181 | version: "0.12.1+4"
182 | meta:
183 | dependency: transitive
184 | description:
185 | name: meta
186 | url: "https://pub.flutter-io.cn"
187 | source: hosted
188 | version: "1.1.2"
189 | mime:
190 | dependency: transitive
191 | description:
192 | name: mime
193 | url: "https://pub.flutter-io.cn"
194 | source: hosted
195 | version: "0.9.6"
196 | mockito:
197 | dependency: transitive
198 | description:
199 | name: mockito
200 | url: "https://pub.flutter-io.cn"
201 | source: hosted
202 | version: "2.2.3"
203 | multi_server_socket:
204 | dependency: transitive
205 | description:
206 | name: multi_server_socket
207 | url: "https://pub.flutter-io.cn"
208 | source: hosted
209 | version: "1.0.1"
210 | node_preamble:
211 | dependency: transitive
212 | description:
213 | name: node_preamble
214 | url: "https://pub.flutter-io.cn"
215 | source: hosted
216 | version: "1.4.0"
217 | package_config:
218 | dependency: transitive
219 | description:
220 | name: package_config
221 | url: "https://pub.flutter-io.cn"
222 | source: hosted
223 | version: "1.0.3"
224 | package_resolver:
225 | dependency: transitive
226 | description:
227 | name: package_resolver
228 | url: "https://pub.flutter-io.cn"
229 | source: hosted
230 | version: "1.0.2"
231 | path:
232 | dependency: transitive
233 | description:
234 | name: path
235 | url: "https://pub.flutter-io.cn"
236 | source: hosted
237 | version: "1.5.1"
238 | plugin:
239 | dependency: transitive
240 | description:
241 | name: plugin
242 | url: "https://pub.flutter-io.cn"
243 | source: hosted
244 | version: "0.2.0+2"
245 | pool:
246 | dependency: transitive
247 | description:
248 | name: pool
249 | url: "https://pub.flutter-io.cn"
250 | source: hosted
251 | version: "1.3.4"
252 | pub_semver:
253 | dependency: transitive
254 | description:
255 | name: pub_semver
256 | url: "https://pub.flutter-io.cn"
257 | source: hosted
258 | version: "1.3.2"
259 | quiver:
260 | dependency: transitive
261 | description:
262 | name: quiver
263 | url: "https://pub.flutter-io.cn"
264 | source: hosted
265 | version: "0.28.0"
266 | shelf:
267 | dependency: transitive
268 | description:
269 | name: shelf
270 | url: "https://pub.flutter-io.cn"
271 | source: hosted
272 | version: "0.7.2"
273 | shelf_packages_handler:
274 | dependency: transitive
275 | description:
276 | name: shelf_packages_handler
277 | url: "https://pub.flutter-io.cn"
278 | source: hosted
279 | version: "1.0.3"
280 | shelf_static:
281 | dependency: transitive
282 | description:
283 | name: shelf_static
284 | url: "https://pub.flutter-io.cn"
285 | source: hosted
286 | version: "0.2.7"
287 | shelf_web_socket:
288 | dependency: transitive
289 | description:
290 | name: shelf_web_socket
291 | url: "https://pub.flutter-io.cn"
292 | source: hosted
293 | version: "0.2.2"
294 | sky_engine:
295 | dependency: transitive
296 | description: flutter
297 | source: sdk
298 | version: "0.0.99"
299 | source_map_stack_trace:
300 | dependency: transitive
301 | description:
302 | name: source_map_stack_trace
303 | url: "https://pub.flutter-io.cn"
304 | source: hosted
305 | version: "1.1.4"
306 | source_maps:
307 | dependency: transitive
308 | description:
309 | name: source_maps
310 | url: "https://pub.flutter-io.cn"
311 | source: hosted
312 | version: "0.10.4"
313 | source_span:
314 | dependency: transitive
315 | description:
316 | name: source_span
317 | url: "https://pub.flutter-io.cn"
318 | source: hosted
319 | version: "1.4.0"
320 | stack_trace:
321 | dependency: transitive
322 | description:
323 | name: stack_trace
324 | url: "https://pub.flutter-io.cn"
325 | source: hosted
326 | version: "1.9.2"
327 | stream_channel:
328 | dependency: transitive
329 | description:
330 | name: stream_channel
331 | url: "https://pub.flutter-io.cn"
332 | source: hosted
333 | version: "1.6.4"
334 | string_scanner:
335 | dependency: transitive
336 | description:
337 | name: string_scanner
338 | url: "https://pub.flutter-io.cn"
339 | source: hosted
340 | version: "1.0.2"
341 | term_glyph:
342 | dependency: transitive
343 | description:
344 | name: term_glyph
345 | url: "https://pub.flutter-io.cn"
346 | source: hosted
347 | version: "1.0.0"
348 | test:
349 | dependency: transitive
350 | description:
351 | name: test
352 | url: "https://pub.flutter-io.cn"
353 | source: hosted
354 | version: "0.12.32+1"
355 | typed_data:
356 | dependency: transitive
357 | description:
358 | name: typed_data
359 | url: "https://pub.flutter-io.cn"
360 | source: hosted
361 | version: "1.1.5"
362 | utf:
363 | dependency: transitive
364 | description:
365 | name: utf
366 | url: "https://pub.flutter-io.cn"
367 | source: hosted
368 | version: "0.9.0+4"
369 | vector_math:
370 | dependency: transitive
371 | description:
372 | name: vector_math
373 | url: "https://pub.flutter-io.cn"
374 | source: hosted
375 | version: "2.0.5"
376 | video_player:
377 | dependency: "direct main"
378 | description:
379 | name: video_player
380 | url: "https://pub.flutter-io.cn"
381 | source: hosted
382 | version: "0.2.1"
383 | watcher:
384 | dependency: transitive
385 | description:
386 | name: watcher
387 | url: "https://pub.flutter-io.cn"
388 | source: hosted
389 | version: "0.9.7+7"
390 | web_socket_channel:
391 | dependency: transitive
392 | description:
393 | name: web_socket_channel
394 | url: "https://pub.flutter-io.cn"
395 | source: hosted
396 | version: "1.0.7"
397 | yaml:
398 | dependency: transitive
399 | description:
400 | name: yaml
401 | url: "https://pub.flutter-io.cn"
402 | source: hosted
403 | version: "2.1.13"
404 | sdks:
405 | dart: ">=2.0.0-dev.23.0 <=2.0.0-edge.0d5cf900b021bf5c9fa593ffa12b15bcd1cc5fe0"
406 |
--------------------------------------------------------------------------------
/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: mockaweme
2 | description: A new Flutter project.
3 |
4 | dependencies:
5 | flutter:
6 | sdk: flutter
7 |
8 | # The following adds the Cupertino Icons font to your application.
9 | # Use with the CupertinoIcons class for iOS style icons.
10 | cupertino_icons: ^0.1.0
11 | video_player: "^0.2.1"
12 |
13 | dev_dependencies:
14 | flutter_test:
15 | sdk: flutter
16 |
17 |
18 | # For information on the generic Dart part of this file, see the
19 | # following page: https://www.dartlang.org/tools/pub/pubspec
20 |
21 | # The following section is specific to Flutter.
22 | flutter:
23 |
24 | # The following line ensures that the Material Icons font is
25 | # included with your application, so that you can use the icons in
26 | # the material Icons class.
27 | uses-material-design: true
28 |
29 | # To add assets to your application, add an assets section, like this:
30 | assets:
31 | - images/r_.png
32 | - images/ra.png
33 | - images/rb.png
34 | - images/rc.png
35 |
36 | # An image asset can refer to one or more resolution-specific "variants", see
37 | # https://flutter.io/assets-and-images/#resolution-aware.
38 |
39 | # For details regarding adding assets from package dependencies, see
40 | # https://flutter.io/assets-and-images/#from-packages
41 |
42 | # To add custom fonts to your application, add a fonts section here,
43 | # in this "flutter" section. Each entry in this list should have a
44 | # "family" key with the font family name, and a "fonts" key with a
45 | # list giving the asset and other descriptors for the font. For
46 | # example:
47 | # fonts:
48 | # - family: Schyler
49 | # fonts:
50 | # - asset: fonts/Schyler-Regular.ttf
51 | # - asset: fonts/Schyler-Italic.ttf
52 | # style: italic
53 | # - family: Trajan Pro
54 | # fonts:
55 | # - asset: fonts/TrajanPro.ttf
56 | # - asset: fonts/TrajanPro_Bold.ttf
57 | # weight: 700
58 | #
59 | # For details regarding fonts from package dependencies,
60 | # see https://flutter.io/custom-fonts/#from-packages
61 |
--------------------------------------------------------------------------------
/test/widget_test.dart:
--------------------------------------------------------------------------------
1 | // This is a basic Flutter widget test.
2 | // To perform an interaction with a widget in your test, use the WidgetTester utility that Flutter
3 | // provides. For example, you can send tap and scroll gestures. You can also use WidgetTester to
4 | // find child widgets in the widget tree, read text, and verify that the values of widget properties
5 | // are correct.
6 |
7 | import 'package:flutter/material.dart';
8 | import 'package:flutter_test/flutter_test.dart';
9 |
10 | import 'package:mockaweme/main.dart';
11 |
12 | void main() {
13 | testWidgets('Counter increments smoke test', (WidgetTester tester) async {
14 | // Build our app and trigger a frame.
15 | await tester.pumpWidget(new MyApp());
16 |
17 | // Verify that our counter starts at 0.
18 | expect(find.text('0'), findsOneWidget);
19 | expect(find.text('1'), findsNothing);
20 |
21 | // Tap the '+' icon and trigger a frame.
22 | await tester.tap(find.byIcon(Icons.add));
23 | await tester.pump();
24 |
25 | // Verify that our counter has incremented.
26 | expect(find.text('0'), findsNothing);
27 | expect(find.text('1'), findsOneWidget);
28 | });
29 | }
30 |
--------------------------------------------------------------------------------