diff --git a/.gitignore b/.gitignore
index dbef116..4fb87e0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,21 +1,49 @@
-# See https://www.dartlang.org/guides/libraries/private-files
+# Miscellaneous
+*.class
+*.log
+*.pyc
+*.swp
+.DS_Store
+.atom/
+.buildlog/
+.history
+.svn/
-# Files and directories created by pub
+# IntelliJ related
+*.iml
+*.ipr
+*.iws
+.idea/
+
+# The .vscode folder contains launch configuration and tasks you configure in
+# VS Code which you may wish to be included in version control, so this line
+# is commented out by default.
+#.vscode/
+
+# Flutter/Dart/Pub related
+**/doc/api/
+**/ios/Flutter/.last_build_id
.dart_tool/
+.flutter-plugins
+.flutter-plugins-dependencies
.packages
-build/
-# If you're building an application, you may want to check-in your pubspec.lock
-pubspec.lock
-
-# Directory created by dartdoc
-# If you don't generate documentation locally you can remove this line.
-doc/api/
-
-# Avoid committing generated Javascript files:
-*.dart.js
-*.info.json # Produced by the --dump-info flag.
-*.js # When generated by dart2js. Don't specify *.js if your
- # project includes source files written in JavaScript.
-*.js_
-*.js.deps
-*.js.map
+.pub-cache/
+.pub/
+/build/
+
+.vscode
+
+# Web related
+lib/generated_plugin_registrant.dart
+
+# Symbolication related
+app.*.symbols
+
+# Obfuscation related
+app.*.map.json
+
+# Android Studio will place build artifacts here
+/android/app/debug
+/android/app/profile
+/android/app/release
+/ios/build/
\ No newline at end of file
diff --git a/.metadata b/.metadata
new file mode 100644
index 0000000..ca28e69
--- /dev/null
+++ b/.metadata
@@ -0,0 +1,10 @@
+# This file tracks properties of this Flutter project.
+# Used by Flutter tool to assess capabilities and perform upgrades etc.
+#
+# This file should be version controlled and should not be manually edited.
+
+version:
+ revision: fba99f6cf9a14512e461e3122c8ddfaa25394e89
+ channel: stable
+
+project_type: app
diff --git a/README.md b/README.md
index aa1fa02..06843f2 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,20 @@
# sex91porn
91Porn 视屏爬取在线播放器
+
+方便的驾车体验,废话不多自行下载安装体验。
+
+
+
+## 技术规格
+
+本项目主要使用**Flutter**框架进行开发
+
+Platform支持平台
+
+1. **Android**
+2. **IOS**
+
+Android已经打包发布到本仓库可自行下载。
+
+IOS需要用户自己Clone代码自行构建。
+
diff --git a/android/.gitignore b/android/.gitignore
new file mode 100644
index 0000000..6f56801
--- /dev/null
+++ b/android/.gitignore
@@ -0,0 +1,13 @@
+gradle-wrapper.jar
+/.gradle
+/captures/
+/gradlew
+/gradlew.bat
+/local.properties
+GeneratedPluginRegistrant.java
+
+# Remember to never publicly share your keystore.
+# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
+key.properties
+**/*.keystore
+**/*.jks
diff --git a/android/app/build.gradle b/android/app/build.gradle
new file mode 100644
index 0000000..9f957da
--- /dev/null
+++ b/android/app/build.gradle
@@ -0,0 +1,55 @@
+def localProperties = new Properties()
+def localPropertiesFile = rootProject.file('local.properties')
+if (localPropertiesFile.exists()) {
+ localPropertiesFile.withReader('UTF-8') { reader ->
+ localProperties.load(reader)
+ }
+}
+
+def flutterRoot = localProperties.getProperty('flutter.sdk')
+if (flutterRoot == null) {
+ throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
+}
+
+def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
+if (flutterVersionCode == null) {
+ flutterVersionCode = '1'
+}
+
+def flutterVersionName = localProperties.getProperty('flutter.versionName')
+if (flutterVersionName == null) {
+ flutterVersionName = '1.0'
+}
+
+apply plugin: 'com.android.application'
+apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
+
+android {
+ compileSdkVersion 30
+
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1_8
+ }
+
+ defaultConfig {
+ // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
+ applicationId "com.yuchen.sex_91porn"
+ minSdkVersion 19
+ targetSdkVersion 30
+ versionCode flutterVersionCode.toInteger()
+ versionName flutterVersionName
+ }
+
+ buildTypes {
+ release {
+ // TODO: Add your own signing config for the release build.
+ // Signing with the debug keys for now, so `flutter run --release` works.
+ signingConfig signingConfigs.debug
+ }
+ }
+}
+
+flutter {
+ source '../..'
+}
diff --git a/android/app/src/debug/AndroidManifest.xml b/android/app/src/debug/AndroidManifest.xml
new file mode 100644
index 0000000..ac1b9c4
--- /dev/null
+++ b/android/app/src/debug/AndroidManifest.xml
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..5f562c8
--- /dev/null
+++ b/android/app/src/main/AndroidManifest.xml
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/android/app/src/main/java/com/yuchen/sex_91porn/MainActivity.java b/android/app/src/main/java/com/yuchen/sex_91porn/MainActivity.java
new file mode 100644
index 0000000..74909f2
--- /dev/null
+++ b/android/app/src/main/java/com/yuchen/sex_91porn/MainActivity.java
@@ -0,0 +1,6 @@
+package com.yuchen.sex_91porn;
+
+import io.flutter.embedding.android.FlutterActivity;
+
+public class MainActivity extends FlutterActivity {
+}
diff --git a/android/app/src/main/res/drawable-v21/launch_background.xml b/android/app/src/main/res/drawable-v21/launch_background.xml
new file mode 100644
index 0000000..9e96b70
--- /dev/null
+++ b/android/app/src/main/res/drawable-v21/launch_background.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/android/app/src/main/res/drawable/bg_background.png b/android/app/src/main/res/drawable/bg_background.png
new file mode 100644
index 0000000..36cf9f2
Binary files /dev/null and b/android/app/src/main/res/drawable/bg_background.png differ
diff --git a/android/app/src/main/res/drawable/free_91.png b/android/app/src/main/res/drawable/free_91.png
new file mode 100644
index 0000000..d660ab6
Binary files /dev/null and b/android/app/src/main/res/drawable/free_91.png differ
diff --git a/android/app/src/main/res/drawable/launch_background.xml b/android/app/src/main/res/drawable/launch_background.xml
new file mode 100644
index 0000000..34de499
--- /dev/null
+++ b/android/app/src/main/res/drawable/launch_background.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/android/app/src/main/res/values-night/styles.xml b/android/app/src/main/res/values-night/styles.xml
new file mode 100644
index 0000000..449a9f9
--- /dev/null
+++ b/android/app/src/main/res/values-night/styles.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml
new file mode 100644
index 0000000..d74aa35
--- /dev/null
+++ b/android/app/src/main/res/values/styles.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
diff --git a/android/app/src/profile/AndroidManifest.xml b/android/app/src/profile/AndroidManifest.xml
new file mode 100644
index 0000000..ac1b9c4
--- /dev/null
+++ b/android/app/src/profile/AndroidManifest.xml
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/android/build.gradle b/android/build.gradle
new file mode 100644
index 0000000..622ddc5
--- /dev/null
+++ b/android/build.gradle
@@ -0,0 +1,27 @@
+buildscript {
+ repositories {
+ google()
+ mavenCentral()
+ }
+
+ dependencies {
+ classpath 'com.android.tools.build:gradle:4.1.0'
+ }
+}
+
+allprojects {
+ repositories {
+ google()
+ mavenCentral()
+ }
+}
+
+rootProject.buildDir = '../build'
+subprojects {
+ project.buildDir = "${rootProject.buildDir}/${project.name}"
+ project.evaluationDependsOn(':app')
+}
+
+task clean(type: Delete) {
+ delete rootProject.buildDir
+}
diff --git a/android/gradle.properties b/android/gradle.properties
new file mode 100644
index 0000000..94adc3a
--- /dev/null
+++ b/android/gradle.properties
@@ -0,0 +1,3 @@
+org.gradle.jvmargs=-Xmx1536M
+android.useAndroidX=true
+android.enableJetifier=true
diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..bc6a58a
--- /dev/null
+++ b/android/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Fri Jun 23 08:50:38 CEST 2017
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
diff --git a/android/settings.gradle b/android/settings.gradle
new file mode 100644
index 0000000..44e62bc
--- /dev/null
+++ b/android/settings.gradle
@@ -0,0 +1,11 @@
+include ':app'
+
+def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
+def properties = new Properties()
+
+assert localPropertiesFile.exists()
+localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
+
+def flutterSdkPath = properties.getProperty("flutter.sdk")
+assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
+apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
diff --git a/assets/html/index.html b/assets/html/index.html
new file mode 100644
index 0000000..18fbe87
--- /dev/null
+++ b/assets/html/index.html
@@ -0,0 +1,24 @@
+
+
+
+
+ Document
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/assets/html/m2.js b/assets/html/m2.js
new file mode 100644
index 0000000..c519d6b
--- /dev/null
+++ b/assets/html/m2.js
@@ -0,0 +1 @@
+;var encode_version = 'jsjiami.com.v5', eexda = '__0x9ff10', __0x9ff10=['w7FkXcKcwqs=','VMKAw7Fhw6Q=','w5nDlTY7w4A=','wqQ5w4pKwok=','dcKnwrTCtBg=','w45yHsO3woU=','54u75py15Y6177y0PcKk5L665a2j5pyo5b2156i677yg6L+S6K2D5pW65o6D5oqo5Lmn55i/5bSn5L21','RsOzwq5fGQ==','woHDiMK0w7HDiA==','54uS5pyR5Y6r7764wr3DleS+ouWtgeaesOW/sOeooe+/nei/ruitteaWsuaOmeaKiuS4o+eateW2i+S8ng==','bMOKwqA=','V8Knwpo=','csOIwoVsG1rCiUFU','5YmL6ZiV54qm5pyC5Y2i776Lw4LCrOS+muWssOacteW8lOeqtg==','w75fMA==','YsOUwpU=','wqzDtsKcw5fDvQ==','wqNMOGfCn13DmjTClg==','wozDisOlHHI=','GiPConNN','XcKzwrDCvSg=','U8K+wofCmcO6'];(function(_0x1f2e93,_0x60307d){var _0x1f9a0b=function(_0x35f19b){while(--_0x35f19b){_0x1f2e93['push'](_0x1f2e93['shift']());}};_0x1f9a0b(++_0x60307d);}(__0x9ff10,0x152));var _0x43d9=function(_0x13228a,_0x2ce452){_0x13228a=_0x13228a-0x0;var _0x424175=__0x9ff10[_0x13228a];if(_0x43d9['initialized']===undefined){(function(){var _0x270d2c=typeof window!=='undefined'?window:typeof process==='object'&&typeof require==='function'&&typeof global==='object'?global:this;var _0x58680b='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x270d2c['atob']||(_0x270d2c['atob']=function(_0x5536e1){var _0x15e9d3=String(_0x5536e1)['replace'](/=+$/,'');for(var _0x4e6299=0x0,_0x3590d2,_0x48c90b,_0x557f6a=0x0,_0x2b086d='';_0x48c90b=_0x15e9d3['charAt'](_0x557f6a++);~_0x48c90b&&(_0x3590d2=_0x4e6299%0x4?_0x3590d2*0x40+_0x48c90b:_0x48c90b,_0x4e6299++%0x4)?_0x2b086d+=String['fromCharCode'](0xff&_0x3590d2>>(-0x2*_0x4e6299&0x6)):0x0){_0x48c90b=_0x58680b['indexOf'](_0x48c90b);}return _0x2b086d;});}());var _0x4a2d38=function(_0x1f120d,_0x1d6e11){var _0x4c36f9=[],_0x1c4b64=0x0,_0x18ce5c,_0x39c9fa='',_0x6d02b2='';_0x1f120d=atob(_0x1f120d);for(var _0x13b203=0x0,_0x24d88b=_0x1f120d['length'];_0x13b203<_0x24d88b;_0x13b203++){_0x6d02b2+='%'+('00'+_0x1f120d['charCodeAt'](_0x13b203)['toString'](0x10))['slice'](-0x2);}_0x1f120d=decodeURIComponent(_0x6d02b2);for(var _0x1f76f3=0x0;_0x1f76f3<0x100;_0x1f76f3++){_0x4c36f9[_0x1f76f3]=_0x1f76f3;}for(_0x1f76f3=0x0;_0x1f76f3<0x100;_0x1f76f3++){_0x1c4b64=(_0x1c4b64+_0x4c36f9[_0x1f76f3]+_0x1d6e11['charCodeAt'](_0x1f76f3%_0x1d6e11['length']))%0x100;_0x18ce5c=_0x4c36f9[_0x1f76f3];_0x4c36f9[_0x1f76f3]=_0x4c36f9[_0x1c4b64];_0x4c36f9[_0x1c4b64]=_0x18ce5c;}_0x1f76f3=0x0;_0x1c4b64=0x0;for(var _0x2b6a92=0x0;_0x2b6a92<_0x1f120d['length'];_0x2b6a92++){_0x1f76f3=(_0x1f76f3+0x1)%0x100;_0x1c4b64=(_0x1c4b64+_0x4c36f9[_0x1f76f3])%0x100;_0x18ce5c=_0x4c36f9[_0x1f76f3];_0x4c36f9[_0x1f76f3]=_0x4c36f9[_0x1c4b64];_0x4c36f9[_0x1c4b64]=_0x18ce5c;_0x39c9fa+=String['fromCharCode'](_0x1f120d['charCodeAt'](_0x2b6a92)^_0x4c36f9[(_0x4c36f9[_0x1f76f3]+_0x4c36f9[_0x1c4b64])%0x100]);}return _0x39c9fa;};_0x43d9['rc4']=_0x4a2d38;_0x43d9['data']={};_0x43d9['initialized']=!![];}var _0x302f80=_0x43d9['data'][_0x13228a];if(_0x302f80===undefined){if(_0x43d9['once']===undefined){_0x43d9['once']=!![];}_0x424175=_0x43d9['rc4'](_0x424175,_0x2ce452);_0x43d9['data'][_0x13228a]=_0x424175;}else{_0x424175=_0x302f80;}return _0x424175;};function strencode2(_0x4f0d7a){var _0x4c6de5={'Anfny':function _0x4f6a21(_0x51d0ce,_0x5a5f36){return _0x51d0ce(_0x5a5f36);}};return _0x4c6de5[_0x43d9('0x0','fo#E')](unescape,_0x4f0d7a);};(function(_0x17883e,_0x4a42d3,_0xe4080c){var _0x301ffc={'lPNHL':function _0x1c947e(_0x4d57b6,_0x51f6a5){return _0x4d57b6!==_0x51f6a5;},'EPdUx':function _0x55f4cc(_0x34b7bc,_0x9f930c){return _0x34b7bc===_0x9f930c;},'kjFfJ':'jsjiami.com.v5','DFsBH':function _0x5f08ac(_0x1e6fa1,_0x4c0aef){return _0x1e6fa1+_0x4c0aef;},'akiuH':_0x43d9('0x1','KYjt'),'VtfeI':function _0x4f3b7b(_0x572344,_0x5f0cde){return _0x572344(_0x5f0cde);},'Deqmq':_0x43d9('0x2','oYRG'),'oKQDc':_0x43d9('0x3','i^vo'),'UMyIE':_0x43d9('0x4','oYRG'),'lRwKx':function _0x5b71b4(_0x163a75,_0x4d3998){return _0x163a75===_0x4d3998;},'TOBCR':function _0x314af8(_0x3e6efe,_0x275766){return _0x3e6efe+_0x275766;},'AUOVd':_0x43d9('0x5','lALy')};_0xe4080c='al';try{if('EqF'!==_0x43d9('0x6','xSW]')){_0xe4080c+=_0x43d9('0x7','oYRG');_0x4a42d3=encode_version;if(!(_0x301ffc[_0x43d9('0x8','fo#E')](typeof _0x4a42d3,_0x43d9('0x9','*oMH'))&&_0x301ffc[_0x43d9('0xa','ov6D')](_0x4a42d3,_0x301ffc[_0x43d9('0xb','3k]D')]))){_0x17883e[_0xe4080c](_0x301ffc[_0x43d9('0xc','@[')]('ɾ��',_0x301ffc[_0x43d9('0xd','i^vo')]));}}else{return _0x301ffc[_0x43d9('0xe','rvlM')](unescape,input);}}catch(_0x23e6c5){if('svo'!==_0x301ffc[_0x43d9('0xf','TpCD')]){_0x17883e[_0xe4080c]('ɾ���汾�ţ�js�ᶨ�ڵ���');}else{_0xe4080c='al';try{_0xe4080c+=_0x301ffc[_0x43d9('0x10','doK*')];_0x4a42d3=encode_version;if(!(_0x301ffc[_0x43d9('0x11','ZRZ4')](typeof _0x4a42d3,_0x301ffc['UMyIE'])&&_0x301ffc[_0x43d9('0x12','@[')](_0x4a42d3,_0x301ffc['kjFfJ']))){_0x17883e[_0xe4080c](_0x301ffc[_0x43d9('0x13','KYjt')]('ɾ��',_0x43d9('0x14','xSW]')));}}catch(_0x4202f6){_0x17883e[_0xe4080c](_0x301ffc[_0x43d9('0x15','oYRG')]);}}}}(window));;encode_version = 'jsjiami.com.v5';
\ No newline at end of file
diff --git a/ios/.gitignore b/ios/.gitignore
new file mode 100644
index 0000000..e96ef60
--- /dev/null
+++ b/ios/.gitignore
@@ -0,0 +1,32 @@
+*.mode1v3
+*.mode2v3
+*.moved-aside
+*.pbxuser
+*.perspectivev3
+**/*sync/
+.sconsign.dblite
+.tags*
+**/.vagrant/
+**/DerivedData/
+Icon?
+**/Pods/
+**/.symlinks/
+profile
+xcuserdata
+**/.generated/
+Flutter/App.framework
+Flutter/Flutter.framework
+Flutter/Flutter.podspec
+Flutter/Generated.xcconfig
+Flutter/app.flx
+Flutter/app.zip
+Flutter/flutter_assets/
+Flutter/flutter_export_environment.sh
+ServiceDefinitions.json
+Runner/GeneratedPluginRegistrant.*
+
+# Exceptions to above rules.
+!default.mode1v3
+!default.mode2v3
+!default.pbxuser
+!default.perspectivev3
diff --git a/ios/Flutter/AppFrameworkInfo.plist b/ios/Flutter/AppFrameworkInfo.plist
new file mode 100644
index 0000000..6b4c0f7
--- /dev/null
+++ b/ios/Flutter/AppFrameworkInfo.plist
@@ -0,0 +1,26 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleExecutable
+ App
+ CFBundleIdentifier
+ io.flutter.flutter.app
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ App
+ CFBundlePackageType
+ FMWK
+ CFBundleShortVersionString
+ 1.0
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ 1.0
+ MinimumOSVersion
+ 8.0
+
+
diff --git a/ios/Flutter/Debug.xcconfig b/ios/Flutter/Debug.xcconfig
new file mode 100644
index 0000000..e8efba1
--- /dev/null
+++ b/ios/Flutter/Debug.xcconfig
@@ -0,0 +1,2 @@
+#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
+#include "Generated.xcconfig"
diff --git a/ios/Flutter/Release.xcconfig b/ios/Flutter/Release.xcconfig
new file mode 100644
index 0000000..399e934
--- /dev/null
+++ b/ios/Flutter/Release.xcconfig
@@ -0,0 +1,2 @@
+#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
+#include "Generated.xcconfig"
diff --git a/ios/Podfile b/ios/Podfile
new file mode 100644
index 0000000..f7d6a5e
--- /dev/null
+++ b/ios/Podfile
@@ -0,0 +1,38 @@
+# Uncomment this line to define a global platform for your project
+# platform :ios, '9.0'
+
+# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
+ENV['COCOAPODS_DISABLE_STATS'] = 'true'
+
+project 'Runner', {
+ 'Debug' => :debug,
+ 'Profile' => :release,
+ 'Release' => :release,
+}
+
+def flutter_root
+ generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
+ unless File.exist?(generated_xcode_build_settings_path)
+ raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
+ end
+
+ File.foreach(generated_xcode_build_settings_path) do |line|
+ matches = line.match(/FLUTTER_ROOT\=(.*)/)
+ return matches[1].strip if matches
+ end
+ raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
+end
+
+require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
+
+flutter_ios_podfile_setup
+
+target 'Runner' do
+ flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
+end
+
+post_install do |installer|
+ installer.pods_project.targets.each do |target|
+ flutter_additional_ios_build_settings(target)
+ end
+end
diff --git a/ios/Podfile.lock b/ios/Podfile.lock
new file mode 100644
index 0000000..e0718a4
--- /dev/null
+++ b/ios/Podfile.lock
@@ -0,0 +1,77 @@
+PODS:
+ - Flutter (1.0.0)
+ - fluttertoast (0.0.2):
+ - Flutter
+ - Toast
+ - FMDB (2.7.5):
+ - FMDB/standard (= 2.7.5)
+ - FMDB/standard (2.7.5)
+ - path_provider (0.0.1):
+ - Flutter
+ - "permission_handler (5.0.1+1)":
+ - Flutter
+ - shared_preferences (0.0.1):
+ - Flutter
+ - sqflite (0.0.1):
+ - Flutter
+ - FMDB (~> 2.7.2)
+ - Toast (4.0.0)
+ - video_player (0.0.1):
+ - Flutter
+ - wakelock (0.0.1):
+ - Flutter
+ - webview_flutter (0.0.1):
+ - Flutter
+
+DEPENDENCIES:
+ - Flutter (from `Flutter`)
+ - fluttertoast (from `.symlinks/plugins/fluttertoast/ios`)
+ - path_provider (from `.symlinks/plugins/path_provider/ios`)
+ - permission_handler (from `.symlinks/plugins/permission_handler/ios`)
+ - shared_preferences (from `.symlinks/plugins/shared_preferences/ios`)
+ - sqflite (from `.symlinks/plugins/sqflite/ios`)
+ - video_player (from `.symlinks/plugins/video_player/ios`)
+ - wakelock (from `.symlinks/plugins/wakelock/ios`)
+ - webview_flutter (from `.symlinks/plugins/webview_flutter/ios`)
+
+SPEC REPOS:
+ trunk:
+ - FMDB
+ - Toast
+
+EXTERNAL SOURCES:
+ Flutter:
+ :path: Flutter
+ fluttertoast:
+ :path: ".symlinks/plugins/fluttertoast/ios"
+ path_provider:
+ :path: ".symlinks/plugins/path_provider/ios"
+ permission_handler:
+ :path: ".symlinks/plugins/permission_handler/ios"
+ shared_preferences:
+ :path: ".symlinks/plugins/shared_preferences/ios"
+ sqflite:
+ :path: ".symlinks/plugins/sqflite/ios"
+ video_player:
+ :path: ".symlinks/plugins/video_player/ios"
+ wakelock:
+ :path: ".symlinks/plugins/wakelock/ios"
+ webview_flutter:
+ :path: ".symlinks/plugins/webview_flutter/ios"
+
+SPEC CHECKSUMS:
+ Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
+ fluttertoast: 6122fa75143e992b1d3470f61000f591a798cc58
+ FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
+ path_provider: abfe2b5c733d04e238b0d8691db0cfd63a27a93c
+ permission_handler: eac8e15b4a1a3fba55b761d19f3f4e6b005d15b6
+ shared_preferences: af6bfa751691cdc24be3045c43ec037377ada40d
+ sqflite: 4001a31ff81d210346b500c55b17f4d6c7589dd0
+ Toast: 91b396c56ee72a5790816f40d3a94dd357abc196
+ video_player: 9cc823b1d9da7e8427ee591e8438bfbcde500e6e
+ wakelock: bfc7955c418d0db797614075aabbc58a39ab5107
+ webview_flutter: d2b4d6c66968ad042ad94cbb791f5b72b4678a96
+
+PODFILE CHECKSUM: 8e679eca47255a8ca8067c4c67aab20e64cb974d
+
+COCOAPODS: 1.9.3
diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj
new file mode 100644
index 0000000..ee0b302
--- /dev/null
+++ b/ios/Runner.xcodeproj/project.pbxproj
@@ -0,0 +1,577 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 51;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
+ 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
+ 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; };
+ 97C146F31CF9000F007C117D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 97C146F21CF9000F007C117D /* main.m */; };
+ 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
+ 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
+ 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
+ C9015D20A775A0B7E17FA41F /* libPods-Runner.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7AC578FC15E75212E81D1F80 /* libPods-Runner.a */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 10;
+ files = (
+ );
+ name = "Embed Frameworks";
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ 019C59390A34FD941056FB24 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; };
+ 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
+ 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
+ 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
+ 7AC578FC15E75212E81D1F80 /* libPods-Runner.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Runner.a"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
+ 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
+ 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
+ 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
+ 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
+ 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 97C146F21CF9000F007C117D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
+ 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
+ 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
+ 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
+ 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
+ B5E364B352CFD118955C7787 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; };
+ CFD14F9DC83E6075C7E21F1A /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 97C146EB1CF9000F007C117D /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ C9015D20A775A0B7E17FA41F /* libPods-Runner.a in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 0FA9BD611B787740CB627B57 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 7AC578FC15E75212E81D1F80 /* libPods-Runner.a */,
+ );
+ name = Frameworks;
+ sourceTree = "";
+ };
+ 807FB9629F065939679C1384 /* Pods */ = {
+ isa = PBXGroup;
+ children = (
+ 019C59390A34FD941056FB24 /* Pods-Runner.debug.xcconfig */,
+ B5E364B352CFD118955C7787 /* Pods-Runner.release.xcconfig */,
+ CFD14F9DC83E6075C7E21F1A /* Pods-Runner.profile.xcconfig */,
+ );
+ path = Pods;
+ sourceTree = "";
+ };
+ 9740EEB11CF90186004384FC /* Flutter */ = {
+ isa = PBXGroup;
+ children = (
+ 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
+ 9740EEB21CF90195004384FC /* Debug.xcconfig */,
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
+ 9740EEB31CF90195004384FC /* Generated.xcconfig */,
+ );
+ name = Flutter;
+ sourceTree = "";
+ };
+ 97C146E51CF9000F007C117D = {
+ isa = PBXGroup;
+ children = (
+ 9740EEB11CF90186004384FC /* Flutter */,
+ 97C146F01CF9000F007C117D /* Runner */,
+ 97C146EF1CF9000F007C117D /* Products */,
+ 807FB9629F065939679C1384 /* Pods */,
+ 0FA9BD611B787740CB627B57 /* Frameworks */,
+ );
+ sourceTree = "";
+ };
+ 97C146EF1CF9000F007C117D /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 97C146EE1CF9000F007C117D /* Runner.app */,
+ );
+ name = Products;
+ sourceTree = "";
+ };
+ 97C146F01CF9000F007C117D /* Runner */ = {
+ isa = PBXGroup;
+ children = (
+ 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */,
+ 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */,
+ 97C146FA1CF9000F007C117D /* Main.storyboard */,
+ 97C146FD1CF9000F007C117D /* Assets.xcassets */,
+ 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
+ 97C147021CF9000F007C117D /* Info.plist */,
+ 97C146F11CF9000F007C117D /* Supporting Files */,
+ 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
+ 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
+ );
+ path = Runner;
+ sourceTree = "";
+ };
+ 97C146F11CF9000F007C117D /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ 97C146F21CF9000F007C117D /* main.m */,
+ );
+ name = "Supporting Files";
+ sourceTree = "";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 97C146ED1CF9000F007C117D /* Runner */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
+ buildPhases = (
+ 903358788B6433154F6D8076 /* [CP] Check Pods Manifest.lock */,
+ 9740EEB61CF901F6004384FC /* Run Script */,
+ 97C146EA1CF9000F007C117D /* Sources */,
+ 97C146EB1CF9000F007C117D /* Frameworks */,
+ 97C146EC1CF9000F007C117D /* Resources */,
+ 9705A1C41CF9048500538489 /* Embed Frameworks */,
+ 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
+ A21583901CBAA5503DF76C25 /* [CP] Embed Pods Frameworks */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = Runner;
+ productName = Runner;
+ productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 97C146E61CF9000F007C117D /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 1230;
+ ORGANIZATIONNAME = "";
+ TargetAttributes = {
+ 97C146ED1CF9000F007C117D = {
+ CreatedOnToolsVersion = 7.3.1;
+ };
+ };
+ };
+ buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
+ compatibilityVersion = "Xcode 9.3";
+ developmentRegion = en;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ Base,
+ );
+ mainGroup = 97C146E51CF9000F007C117D;
+ productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 97C146ED1CF9000F007C117D /* Runner */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 97C146EC1CF9000F007C117D /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
+ 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
+ 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
+ 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Thin Binary";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
+ };
+ 903358788B6433154F6D8076 /* [CP] Check Pods Manifest.lock */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
+ "${PODS_ROOT}/Manifest.lock",
+ );
+ name = "[CP] Check Pods Manifest.lock";
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
+ showEnvVarsInLog = 0;
+ };
+ 9740EEB61CF901F6004384FC /* Run Script */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Run Script";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
+ };
+ A21583901CBAA5503DF76C25 /* [CP] Embed Pods Frameworks */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
+ );
+ name = "[CP] Embed Pods Frameworks";
+ outputFileListPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
+ showEnvVarsInLog = 0;
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 97C146EA1CF9000F007C117D /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */,
+ 97C146F31CF9000F007C117D /* main.m in Sources */,
+ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+ 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 97C146FB1CF9000F007C117D /* Base */,
+ );
+ name = Main.storyboard;
+ sourceTree = "";
+ };
+ 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 97C147001CF9000F007C117D /* Base */,
+ );
+ name = LaunchScreen.storyboard;
+ sourceTree = "";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 249021D3217E4FDB00AE95B9 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = iphoneos;
+ SUPPORTED_PLATFORMS = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Profile;
+ };
+ 249021D4217E4FDB00AE95B9 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ DEVELOPMENT_TEAM = JD7A77UX54;
+ ENABLE_BITCODE = NO;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PROJECT_DIR)/Flutter",
+ );
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ LIBRARY_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PROJECT_DIR)/Flutter",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = com.chen.sex91porn;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Profile;
+ };
+ 97C147031CF9000F007C117D /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_TESTABILITY = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
+ MTL_ENABLE_DEBUG_INFO = YES;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ };
+ name = Debug;
+ };
+ 97C147041CF9000F007C117D /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = iphoneos;
+ SUPPORTED_PLATFORMS = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ 97C147061CF9000F007C117D /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ DEVELOPMENT_TEAM = JD7A77UX54;
+ ENABLE_BITCODE = NO;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PROJECT_DIR)/Flutter",
+ );
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ LIBRARY_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PROJECT_DIR)/Flutter",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = com.chen.sex91porn;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Debug;
+ };
+ 97C147071CF9000F007C117D /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ DEVELOPMENT_TEAM = JD7A77UX54;
+ ENABLE_BITCODE = NO;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PROJECT_DIR)/Flutter",
+ );
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ LIBRARY_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PROJECT_DIR)/Flutter",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = com.chen.sex91porn;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 97C147031CF9000F007C117D /* Debug */,
+ 97C147041CF9000F007C117D /* Release */,
+ 249021D3217E4FDB00AE95B9 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 97C147061CF9000F007C117D /* Debug */,
+ 97C147071CF9000F007C117D /* Release */,
+ 249021D4217E4FDB00AE95B9 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 97C146E61CF9000F007C117D /* Project object */;
+}
diff --git a/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000..1d526a1
--- /dev/null
+++ b/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 0000000..18d9810
--- /dev/null
+++ b/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
new file mode 100644
index 0000000..f9b0d7c
--- /dev/null
+++ b/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
@@ -0,0 +1,8 @@
+
+
+
+
+ PreviewsEnabled
+
+
+
diff --git a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
new file mode 100644
index 0000000..8b9c297
--- /dev/null
+++ b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ios/Runner.xcworkspace/contents.xcworkspacedata b/ios/Runner.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000..21a3cc1
--- /dev/null
+++ b/ios/Runner.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
diff --git a/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 0000000..18d9810
--- /dev/null
+++ b/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
new file mode 100644
index 0000000..f9b0d7c
--- /dev/null
+++ b/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
@@ -0,0 +1,8 @@
+
+
+
+
+ PreviewsEnabled
+
+
+
diff --git a/ios/Runner/AppDelegate.h b/ios/Runner/AppDelegate.h
new file mode 100644
index 0000000..36e21bb
--- /dev/null
+++ b/ios/Runner/AppDelegate.h
@@ -0,0 +1,6 @@
+#import
+#import
+
+@interface AppDelegate : FlutterAppDelegate
+
+@end
diff --git a/ios/Runner/AppDelegate.m b/ios/Runner/AppDelegate.m
new file mode 100644
index 0000000..70e8393
--- /dev/null
+++ b/ios/Runner/AppDelegate.m
@@ -0,0 +1,13 @@
+#import "AppDelegate.h"
+#import "GeneratedPluginRegistrant.h"
+
+@implementation AppDelegate
+
+- (BOOL)application:(UIApplication *)application
+ didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
+ [GeneratedPluginRegistrant registerWithRegistry:self];
+ // Override point for customization after application launch.
+ return [super application:application didFinishLaunchingWithOptions:launchOptions];
+}
+
+@end
diff --git a/ios/Runner/AppDelegate.swift b/ios/Runner/AppDelegate.swift
new file mode 100644
index 0000000..70693e4
--- /dev/null
+++ b/ios/Runner/AppDelegate.swift
@@ -0,0 +1,13 @@
+import UIKit
+import Flutter
+
+@UIApplicationMain
+@objc class AppDelegate: FlutterAppDelegate {
+ override func application(
+ _ application: UIApplication,
+ didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
+ ) -> Bool {
+ GeneratedPluginRegistrant.register(with: self)
+ return super.application(application, didFinishLaunchingWithOptions: launchOptions)
+ }
+}
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
new file mode 100644
index 0000000..bf64f7b
--- /dev/null
+++ b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,158 @@
+{
+ "images" : [
+ {
+ "filename" : "free_9160-5.png",
+ "idiom" : "iphone",
+ "scale" : "2x",
+ "size" : "20x20"
+ },
+ {
+ "filename" : "free_9160-4.png",
+ "idiom" : "iphone",
+ "scale" : "3x",
+ "size" : "20x20"
+ },
+ {
+ "filename" : "free_9129.png",
+ "idiom" : "iphone",
+ "scale" : "1x",
+ "size" : "29x29"
+ },
+ {
+ "filename" : "free_9129@2x.png",
+ "idiom" : "iphone",
+ "scale" : "2x",
+ "size" : "29x29"
+ },
+ {
+ "filename" : "free_9129@3x.png",
+ "idiom" : "iphone",
+ "scale" : "3x",
+ "size" : "29x29"
+ },
+ {
+ "filename" : "free_9140@2x.png",
+ "idiom" : "iphone",
+ "scale" : "2x",
+ "size" : "40x40"
+ },
+ {
+ "filename" : "free_9140@3x.png",
+ "idiom" : "iphone",
+ "scale" : "3x",
+ "size" : "40x40"
+ },
+ {
+ "filename" : "free_9157.png",
+ "idiom" : "iphone",
+ "scale" : "1x",
+ "size" : "57x57"
+ },
+ {
+ "filename" : "free_9157@2x.png",
+ "idiom" : "iphone",
+ "scale" : "2x",
+ "size" : "57x57"
+ },
+ {
+ "filename" : "free_9160@2x.png",
+ "idiom" : "iphone",
+ "scale" : "2x",
+ "size" : "60x60"
+ },
+ {
+ "filename" : "free_9160@3x.png",
+ "idiom" : "iphone",
+ "scale" : "3x",
+ "size" : "60x60"
+ },
+ {
+ "filename" : "free_9160-2.png",
+ "idiom" : "ipad",
+ "scale" : "1x",
+ "size" : "20x20"
+ },
+ {
+ "filename" : "free_9160-3.png",
+ "idiom" : "ipad",
+ "scale" : "2x",
+ "size" : "20x20"
+ },
+ {
+ "filename" : "free_9129.png",
+ "idiom" : "ipad",
+ "scale" : "1x",
+ "size" : "29x29"
+ },
+ {
+ "filename" : "free_9129@2x.png",
+ "idiom" : "ipad",
+ "scale" : "2x",
+ "size" : "29x29"
+ },
+ {
+ "filename" : "free_9140.png",
+ "idiom" : "ipad",
+ "scale" : "1x",
+ "size" : "40x40"
+ },
+ {
+ "filename" : "free_9140@2x.png",
+ "idiom" : "ipad",
+ "scale" : "2x",
+ "size" : "40x40"
+ },
+ {
+ "filename" : "free_9150.png",
+ "idiom" : "ipad",
+ "scale" : "1x",
+ "size" : "50x50"
+ },
+ {
+ "filename" : "free_9150@2x.png",
+ "idiom" : "ipad",
+ "scale" : "2x",
+ "size" : "50x50"
+ },
+ {
+ "filename" : "free_9172.png",
+ "idiom" : "ipad",
+ "scale" : "1x",
+ "size" : "72x72"
+ },
+ {
+ "filename" : "free_9172@2x.png",
+ "idiom" : "ipad",
+ "scale" : "2x",
+ "size" : "72x72"
+ },
+ {
+ "filename" : "free_9176.png",
+ "idiom" : "ipad",
+ "scale" : "1x",
+ "size" : "76x76"
+ },
+ {
+ "filename" : "free_9176@2x.png",
+ "idiom" : "ipad",
+ "scale" : "2x",
+ "size" : "76x76"
+ },
+ {
+ "filename" : "free_9160.png",
+ "idiom" : "ipad",
+ "scale" : "2x",
+ "size" : "83.5x83.5"
+ },
+ {
+ "filename" : "free_9160-1.png",
+ "idiom" : "ios-marketing",
+ "scale" : "1x",
+ "size" : "1024x1024"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
new file mode 100644
index 0000000..dc9ada4
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
new file mode 100644
index 0000000..28c6bf0
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
new file mode 100644
index 0000000..2ccbfd9
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
new file mode 100644
index 0000000..f091b6b
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
new file mode 100644
index 0000000..4cde121
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
new file mode 100644
index 0000000..d0ef06e
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
new file mode 100644
index 0000000..dcdc230
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
new file mode 100644
index 0000000..2ccbfd9
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
new file mode 100644
index 0000000..c8f9ed8
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
new file mode 100644
index 0000000..a6d6b86
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
new file mode 100644
index 0000000..a6d6b86
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
new file mode 100644
index 0000000..75b2d16
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
new file mode 100644
index 0000000..c4df70d
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
new file mode 100644
index 0000000..6a84f41
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
new file mode 100644
index 0000000..d0e1f58
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9129.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9129.png
new file mode 100644
index 0000000..0d00936
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9129.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9129@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9129@2x.png
new file mode 100644
index 0000000..87e14a2
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9129@2x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9129@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9129@3x.png
new file mode 100644
index 0000000..458fe2d
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9129@3x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9140.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9140.png
new file mode 100644
index 0000000..09ffe75
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9140.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9140@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9140@2x.png
new file mode 100644
index 0000000..26830d9
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9140@2x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9140@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9140@3x.png
new file mode 100644
index 0000000..006573a
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9140@3x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9150.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9150.png
new file mode 100644
index 0000000..a122c5d
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9150.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9150@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9150@2x.png
new file mode 100644
index 0000000..4df6a7a
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9150@2x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9157.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9157.png
new file mode 100644
index 0000000..a40abde
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9157.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9157@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9157@2x.png
new file mode 100644
index 0000000..2b072a1
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9157@2x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9160-1.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9160-1.png
new file mode 100644
index 0000000..b8a9fc0
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9160-1.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9160-2.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9160-2.png
new file mode 100644
index 0000000..b8a9fc0
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9160-2.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9160-3.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9160-3.png
new file mode 100644
index 0000000..b8a9fc0
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9160-3.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9160-4.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9160-4.png
new file mode 100644
index 0000000..b8a9fc0
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9160-4.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9160-5.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9160-5.png
new file mode 100644
index 0000000..b8a9fc0
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9160-5.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9160.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9160.png
new file mode 100644
index 0000000..b8a9fc0
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9160.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9160@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9160@2x.png
new file mode 100644
index 0000000..006573a
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9160@2x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9160@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9160@3x.png
new file mode 100644
index 0000000..fc11bd1
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9160@3x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9172.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9172.png
new file mode 100644
index 0000000..d165afc
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9172.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9172@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9172@2x.png
new file mode 100644
index 0000000..d28626a
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9172@2x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9176.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9176.png
new file mode 100644
index 0000000..667b596
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9176.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9176@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9176@2x.png
new file mode 100644
index 0000000..cf394e3
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/free_9176@2x.png differ
diff --git a/ios/Runner/Assets.xcassets/Contents.json b/ios/Runner/Assets.xcassets/Contents.json
new file mode 100644
index 0000000..73c0059
--- /dev/null
+++ b/ios/Runner/Assets.xcassets/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
new file mode 100644
index 0000000..00cabce
--- /dev/null
+++ b/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
@@ -0,0 +1,23 @@
+{
+ "images" : [
+ {
+ "filename" : "LaunchImage.png",
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "filename" : "LaunchImage@2x.png",
+ "idiom" : "universal",
+ "scale" : "2x"
+ },
+ {
+ "filename" : "LaunchImage@3x.png",
+ "idiom" : "universal",
+ "scale" : "3x"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
new file mode 100644
index 0000000..9da19ea
Binary files /dev/null and b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png differ
diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
new file mode 100644
index 0000000..9da19ea
Binary files /dev/null and b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png differ
diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
new file mode 100644
index 0000000..9da19ea
Binary files /dev/null and b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png differ
diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
new file mode 100644
index 0000000..89c2725
--- /dev/null
+++ b/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
@@ -0,0 +1,5 @@
+# Launch Screen Assets
+
+You can customize the launch screen with your own desired assets by replacing the image files in this directory.
+
+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.
\ No newline at end of file
diff --git a/ios/Runner/Base.lproj/LaunchScreen.storyboard b/ios/Runner/Base.lproj/LaunchScreen.storyboard
new file mode 100644
index 0000000..f2e259c
--- /dev/null
+++ b/ios/Runner/Base.lproj/LaunchScreen.storyboard
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ios/Runner/Base.lproj/Main.storyboard b/ios/Runner/Base.lproj/Main.storyboard
new file mode 100644
index 0000000..37906be
--- /dev/null
+++ b/ios/Runner/Base.lproj/Main.storyboard
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist
new file mode 100644
index 0000000..23b21e6
--- /dev/null
+++ b/ios/Runner/Info.plist
@@ -0,0 +1,53 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleDisplayName
+ Free91Porn
+ CFBundleExecutable
+ $(EXECUTABLE_NAME)
+ CFBundleIdentifier
+ $(PRODUCT_BUNDLE_IDENTIFIER)
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ sex_91porn
+ CFBundlePackageType
+ APPL
+ CFBundleShortVersionString
+ $(FLUTTER_BUILD_NAME)
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ $(FLUTTER_BUILD_NUMBER)
+ LSRequiresIPhoneOS
+
+ UILaunchStoryboardName
+ LaunchScreen
+ UIMainStoryboardFile
+ Main
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UISupportedInterfaceOrientations~ipad
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationPortraitUpsideDown
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UIViewControllerBasedStatusBarAppearance
+
+
+ NSAppTransportSecurity
+
+ NSAllowsArbitraryLoads
+
+ io.flutter.embedded_views_preview
+
+
diff --git a/ios/Runner/Runner-Bridging-Header.h b/ios/Runner/Runner-Bridging-Header.h
new file mode 100644
index 0000000..308a2a5
--- /dev/null
+++ b/ios/Runner/Runner-Bridging-Header.h
@@ -0,0 +1 @@
+#import "GeneratedPluginRegistrant.h"
diff --git a/ios/Runner/main.m b/ios/Runner/main.m
new file mode 100644
index 0000000..dff6597
--- /dev/null
+++ b/ios/Runner/main.m
@@ -0,0 +1,9 @@
+#import
+#import
+#import "AppDelegate.h"
+
+int main(int argc, char* argv[]) {
+ @autoreleasepool {
+ return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
+ }
+}
diff --git a/lib/main.dart b/lib/main.dart
new file mode 100644
index 0000000..d3a872a
--- /dev/null
+++ b/lib/main.dart
@@ -0,0 +1,37 @@
+/*
+ * @Description:
+ * @Author: chenzedeng
+ * @Date: 2021-01-25 19:10:23
+ * @LastEditTime: 2021-10-03 12:53:11
+ */
+import 'package:fluro/fluro.dart';
+import 'package:flutter/material.dart';
+import 'package:sex_91porn/router/routers.dart';
+import 'package:sex_91porn/util/application.dart';
+import 'package:sex_91porn/util/http_util.dart';
+
+void main() {
+ runApp(MyApp());
+}
+
+class MyApp extends StatelessWidget {
+ @override
+ Widget build(BuildContext context) {
+ //配置路由的相关配置
+ FluroRouter router = new FluroRouter();
+ Routers.configRouters(router);
+ Application.router = router;
+ HttpUtil.setup();
+
+ return MaterialApp(
+ title: 'Free91Porn',
+ debugShowCheckedModeBanner: false,
+ onGenerateRoute: Application.router.generator,
+ initialRoute: "/",
+ theme: ThemeData(
+ primarySwatch: Colors.lightBlue,
+ visualDensity: VisualDensity.adaptivePlatformDensity,
+ ),
+ );
+ }
+}
diff --git a/lib/model/category_model.dart b/lib/model/category_model.dart
new file mode 100644
index 0000000..aaa8bfa
--- /dev/null
+++ b/lib/model/category_model.dart
@@ -0,0 +1,71 @@
+import 'dart:convert';
+
+/*
+ * @Description:
+ * @Author: chenzedeng
+ * @Date: 2021-01-26 11:06:12
+ * @LastEditTime: 2021-10-02 22:08:09
+ */
+
+///类别选择器模块
+class CategoryModel {
+ final String name;
+ final String url;
+ int? endPage;
+
+ CategoryModel({
+ required this.name,
+ required this.url,
+ this.endPage,
+ });
+
+ CategoryModel copyWith({
+ String? name,
+ String? url,
+ int? endPage,
+ }) {
+ return CategoryModel(
+ name: name ?? this.name,
+ url: url ?? this.url,
+ endPage: endPage ?? this.endPage,
+ );
+ }
+
+ Map toMap() {
+ return {
+ 'name': name,
+ 'url': url,
+ 'endPage': endPage,
+ };
+ }
+
+ factory CategoryModel.fromMap(Map map) {
+ return CategoryModel(
+ name: map['name'],
+ url: map['url'],
+ endPage: map['endPage'],
+ );
+ }
+
+ String toJson() => json.encode(toMap());
+
+ factory CategoryModel.fromJson(String source) =>
+ CategoryModel.fromMap(json.decode(source));
+
+ @override
+ String toString() =>
+ 'CategoryModel(name: $name, url: $url, endPage: $endPage)';
+
+ @override
+ bool operator ==(Object other) {
+ if (identical(this, other)) return true;
+
+ return other is CategoryModel &&
+ other.name == name &&
+ other.url == url &&
+ other.endPage == endPage;
+ }
+
+ @override
+ int get hashCode => name.hashCode ^ url.hashCode ^ endPage.hashCode;
+}
diff --git a/lib/model/config.dart b/lib/model/config.dart
new file mode 100644
index 0000000..5e366ac
--- /dev/null
+++ b/lib/model/config.dart
@@ -0,0 +1,35 @@
+/*
+ * @Description:
+ * @Author: chenzedeng
+ * @Date: 2021-01-26 11:06:12
+ * @LastEditTime: 2021-10-02 23:57:15
+ */
+import 'package:sex_91porn/model/category_model.dart';
+
+class Config {
+ static String MAIN_URL = "https://g0727.91p47.com";
+
+ static List categoryList = List.of([
+ CategoryModel(
+ name: "当前最热", url: "$MAIN_URL/v.php?category=hot&viewtype=basic&page="),
+ CategoryModel(
+ name: "本月最热", url: "$MAIN_URL/v.php?category=top&viewtype=basic&page="),
+ CategoryModel(
+ name: "91原创", url: "$MAIN_URL/v.php?category=ori&viewtype=basic&page="),
+ CategoryModel(
+ name: "十分钟以上",
+ url: "$MAIN_URL/v.php?category=long&viewtype=basic&page="),
+ CategoryModel(
+ name: "本月收藏", url: "$MAIN_URL/v.php?category=tf&viewtype=basic&page="),
+ CategoryModel(
+ name: "收藏最多", url: "$MAIN_URL/v.php?category=mf&viewtype=basic&page="),
+ CategoryModel(
+ name: "最近加精", url: "$MAIN_URL/v.php?category=rf&viewtype=basic&page="),
+ CategoryModel(
+ name: "上月最热",
+ url: "$MAIN_URL/v.php?category=top&m=-1&viewtype=basic&page="),
+ CategoryModel(
+ name: "本月讨论", url: "$MAIN_URL/v.php?category=md&viewtype=basic&page="),
+ CategoryModel(name: "全部视屏", url: "$MAIN_URL/v.php?next=watch&page="),
+ ]);
+}
diff --git a/lib/model/video_model.dart b/lib/model/video_model.dart
new file mode 100644
index 0000000..7b9a391
--- /dev/null
+++ b/lib/model/video_model.dart
@@ -0,0 +1,110 @@
+import 'dart:convert';
+
+/*
+ * @Description:
+ * @Author: chenzedeng
+ * @Date: 2021-01-26 15:18:03
+ * @LastEditTime: 2021-10-03 01:11:58
+ */
+
+///视屏模块
+class VideoModel {
+ ///编号ID
+ final int id;
+
+ ///标题
+ final String title;
+
+ ///封面
+ final String? cover;
+
+ ///时长
+ final String? duration;
+
+ ///原始视屏链接
+ final String? href;
+
+ ///视屏播放地址 m3u8
+ String? src;
+ VideoModel({
+ required this.id,
+ required this.title,
+ this.cover,
+ this.duration,
+ this.href,
+ this.src,
+ });
+
+ VideoModel copyWith({
+ int? id,
+ String? title,
+ String? cover,
+ String? duration,
+ String? href,
+ String? src,
+ }) {
+ return VideoModel(
+ id: id ?? this.id,
+ title: title ?? this.title,
+ cover: cover ?? this.cover,
+ duration: duration ?? this.duration,
+ href: href ?? this.href,
+ src: src ?? this.src,
+ );
+ }
+
+ Map toMap() {
+ return {
+ 'id': id,
+ 'title': title,
+ 'cover': cover,
+ 'duration': duration,
+ 'href': href,
+ 'src': src,
+ };
+ }
+
+ factory VideoModel.fromMap(Map map) {
+ return VideoModel(
+ id: map['id'],
+ title: map['title'],
+ cover: map['cover'],
+ duration: map['duration'],
+ href: map['href'],
+ src: map['src'],
+ );
+ }
+
+ String toJson() => json.encode(toMap());
+
+ factory VideoModel.fromJson(String source) =>
+ VideoModel.fromMap(json.decode(source));
+
+ @override
+ String toString() {
+ return 'VideoModel(id: $id, title: $title, cover: $cover, duration: $duration, href: $href, src: $src)';
+ }
+
+ @override
+ bool operator ==(Object other) {
+ if (identical(this, other)) return true;
+
+ return other is VideoModel &&
+ other.id == id &&
+ other.title == title &&
+ other.cover == cover &&
+ other.duration == duration &&
+ other.href == href &&
+ other.src == src;
+ }
+
+ @override
+ int get hashCode {
+ return id.hashCode ^
+ title.hashCode ^
+ cover.hashCode ^
+ duration.hashCode ^
+ href.hashCode ^
+ src.hashCode;
+ }
+}
diff --git a/lib/pages/index.dart b/lib/pages/index.dart
new file mode 100644
index 0000000..3e40338
--- /dev/null
+++ b/lib/pages/index.dart
@@ -0,0 +1,72 @@
+/*
+ * @Description:
+ * @Author: chenzedeng
+ * @Date: 2021-01-29 11:42:48
+ * @LastEditTime: 2021-10-02 22:02:55
+ */
+
+import 'package:flutter/material.dart';
+import 'package:sex_91porn/pages/video_91.dart';
+import 'package:sex_91porn/pages/video_db.dart';
+import 'package:sex_91porn/util/application.dart';
+
+class IndexPage extends StatefulWidget {
+ IndexPage({Key? key}) : super(key: key);
+
+ @override
+ _IndexPageState createState() => _IndexPageState();
+}
+
+class _IndexPageState extends State
+ with AutomaticKeepAliveClientMixin {
+ DateTime? _lastPopTime;
+ int _currentPageIndex = 0;
+
+ ///返回NavPage页
+ List _getPageWidget() {
+ return List.of([Video91Page(), VideoDbPage()]);
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return WillPopScope(
+ child: Scaffold(
+ bottomNavigationBar: BottomNavigationBar(
+ onTap: (value) {
+ setState(() {
+ _currentPageIndex = value;
+ });
+ },
+ currentIndex: _currentPageIndex,
+ selectedItemColor: Theme.of(context).primaryColor,
+ unselectedItemColor: Colors.grey,
+ selectedLabelStyle: TextStyle(fontWeight: FontWeight.w600),
+ unselectedLabelStyle: TextStyle(fontWeight: FontWeight.w200),
+ type: BottomNavigationBarType.fixed,
+ items: [
+ BottomNavigationBarItem(
+ icon: Icon(Icons.video_library), label: "实时"),
+ BottomNavigationBarItem(
+ icon: Icon(Icons.local_activity), label: "本地历史")
+ ],
+ ),
+ body: IndexedStack(
+ children: _getPageWidget(),
+ index: _currentPageIndex,
+ ),
+ ),
+ onWillPop: () async {
+ if (_lastPopTime == null ||
+ DateTime.now().difference(_lastPopTime!) > Duration(seconds: 2)) {
+ _lastPopTime = DateTime.now();
+ ToastUtil.show(msg: "再按一次退出程序");
+ return false;
+ }
+ return true;
+ },
+ );
+ }
+
+ @override
+ bool get wantKeepAlive => true;
+}
diff --git a/lib/pages/play_video.dart b/lib/pages/play_video.dart
new file mode 100644
index 0000000..f6c6fd5
--- /dev/null
+++ b/lib/pages/play_video.dart
@@ -0,0 +1,188 @@
+/*
+ * @Description:
+ * @Author: chenzedeng
+ * @Date: 2021-01-31 23:17:08
+ * @LastEditTime: 2021-10-03 12:30:55
+ */
+import 'package:cached_network_image/cached_network_image.dart';
+import 'package:chewie/chewie.dart';
+import 'package:flutter/material.dart';
+import 'package:flutter/services.dart';
+import 'package:sex_91porn/model/video_model.dart';
+import 'package:sex_91porn/service/list_parse.dart';
+import 'package:sex_91porn/sql/video_dao.dart';
+import 'package:sex_91porn/util/application.dart';
+import 'package:sex_91porn/util/http_util.dart';
+import 'package:sex_91porn/util/widget_util.dart';
+import 'package:video_player/video_player.dart';
+import 'package:webview_flutter_plus/webview_flutter_plus.dart';
+import 'package:wakelock/wakelock.dart';
+
+class PlayVideoPage extends StatefulWidget {
+ final VideoModel videoModel;
+
+ PlayVideoPage({Key? key, required this.videoModel}) : super(key: key);
+
+ @override
+ _PlayVideoPageState createState() => _PlayVideoPageState();
+}
+
+class _PlayVideoPageState extends State {
+ WebViewPlusController? _controller;
+
+ VideoPlayerController? videoPlayerController;
+ ChewieController? chewieController;
+
+ bool onLoad = true;
+
+ bool isLoadSrcCode = false;
+
+ @override
+ void initState() {
+ super.initState();
+ //保持屏幕常亮
+ Wakelock.enable();
+ Future.delayed(Duration.zero, () {
+ if (widget.videoModel.src != null) {
+ setState(() {
+ initVideoWiget(widget.videoModel);
+ onLoad = false;
+ });
+ } else {
+ setState(() {
+ isLoadSrcCode = true;
+ });
+ }
+ });
+ }
+
+ @override
+ void dispose() {
+ super.dispose();
+ videoPlayerController?.dispose();
+ chewieController?.dispose();
+ Wakelock.disable();
+ }
+
+ void _requestVideoInfo() {
+ HttpUtil.getHtml(widget.videoModel.href!)
+ .then((value) => {
+ _controller!.webViewController.evaluateJavascript(
+ "resolving('${VideoPageParse.getSrcCode(value)}')")
+ })
+ .catchError((e) {
+ DialogUtil.showConfirmDialog(context, "请求数据超时,是否需要重试?",
+ okText: "重试", ok: () => _requestVideoInfo());
+ });
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return Scaffold(
+ appBar: AppBar(
+ title: Text(
+ widget.videoModel.title,
+ overflow: TextOverflow.ellipsis,
+ style: TextStyle(
+ color: Colors.white, fontWeight: FontWeight.w400, fontSize: 15),
+ ),
+ iconTheme: IconThemeData(color: Colors.white),
+ ),
+ body: Column(
+ children: [
+ Container(
+ height: 1,
+ child: isLoadSrcCode
+ ? WebViewPlus(
+ javascriptMode: JavascriptMode.unrestricted,
+ onWebViewCreated: (controller) {
+ _controller = controller;
+ controller.loadUrl("assets/html/index.html");
+ },
+ onPageFinished: (url) {
+ _requestVideoInfo();
+ },
+ javascriptChannels: _createJavaScriptChannel(),
+ )
+ : null),
+ Expanded(
+ child: Padding(
+ padding: EdgeInsets.only(top: 50, bottom: 100),
+ child: onLoad
+ ? Container(
+ child: Center(
+ child: // 模糊进度条(会执行一个旋转动画)
+ Column(
+ children: [
+ CircularProgressIndicator(
+ backgroundColor: Colors.grey[200],
+ valueColor: AlwaysStoppedAnimation(Colors.blue),
+ ),
+ SizedBox.fromSize(
+ size: Size.fromHeight(20),
+ ),
+ Text("解码视屏资源中请稍后...")
+ ],
+ ),
+ ),
+ )
+ : chewieController != null
+ ? Chewie(controller: chewieController!)
+ : Center(
+ child: Text(
+ "视屏解码完成,正在初始化播放...",
+ style: TextStyle(fontSize: 18),
+ ),
+ ),
+ ))
+ ],
+ ),
+ );
+ }
+
+ ///初始化JavaScriptChannel
+ Set _createJavaScriptChannel() {
+ Set list = new Set();
+ list.add(new JavascriptChannel(
+ name: "resultPlaySrc",
+ onMessageReceived: (JavascriptMessage message) {
+ String msg = message.message;
+ print("接受到了Js回调的数据:$msg");
+ setState(() {
+ widget.videoModel.src = msg;
+ //保存到数据库里
+ VideoDao().addVideo(widget.videoModel);
+ initVideoWiget(widget.videoModel);
+ onLoad = false;
+ });
+ }));
+ return list;
+ }
+
+ //初始化视屏播放器
+ initVideoWiget(VideoModel model) async {
+ if (model.src == null || model.src!.isEmpty) {
+ ToastUtil.show(msg: "获取播放地址失败无法播放");
+ return;
+ }
+ videoPlayerController = VideoPlayerController.network(model.src!);
+ await videoPlayerController!.initialize();
+ setState(() {
+ chewieController = ChewieController(
+ videoPlayerController: videoPlayerController!,
+ aspectRatio: 3 / 2, //宽高比
+ autoPlay: true, //自动播放
+ looping: false, //循环播放
+ isLive: false,
+ showOptions: false,
+ placeholder: Center(
+ child: CachedNetworkImage(
+ imageUrl: model.cover ?? "",
+ ),
+ ),
+ deviceOrientationsAfterFullScreen: [DeviceOrientation.portraitUp],
+ );
+ });
+ ToastUtil.show(msg: "已开始自动播放");
+ }
+}
diff --git a/lib/pages/video_91.dart b/lib/pages/video_91.dart
new file mode 100644
index 0000000..a39e5e5
--- /dev/null
+++ b/lib/pages/video_91.dart
@@ -0,0 +1,111 @@
+/*
+ * @Description:
+ * @Author: chenzedeng
+ * @Date: 2021-01-30 21:47:54
+ * @LastEditTime: 2021-10-02 22:09:00
+ */
+import 'package:flutter/material.dart';
+import 'package:sex_91porn/model/config.dart';
+import 'package:sex_91porn/pages/video_91_list.dart';
+import 'package:sex_91porn/util/application.dart';
+import 'package:sex_91porn/util/widget_util.dart';
+import 'package:shared_preferences/shared_preferences.dart';
+
+class Video91Page extends StatefulWidget {
+ Video91Page({Key? key}) : super(key: key);
+
+ @override
+ _Video91PageState createState() => _Video91PageState();
+}
+
+class _Video91PageState extends State
+ with SingleTickerProviderStateMixin {
+ late TabController _mController;
+
+ static const KEY = "siteUrl";
+
+ @override
+ void initState() {
+ super.initState();
+ _mController =
+ new TabController(length: Config.categoryList.length, vsync: this);
+ Future.delayed(Duration.zero, () async {
+ SharedPreferences sp = await SharedPreferences.getInstance();
+ if (sp.containsKey(KEY)) {
+ String? url = sp.getString(KEY);
+ if (url != null || url!.isNotEmpty) {
+ Config.MAIN_URL = url;
+ }
+ }
+ });
+ }
+
+ @override
+ void dispose() {
+ super.dispose();
+ _mController.dispose();
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return Scaffold(
+ appBar: AppBar(
+ title: Text(
+ "实时资源库",
+ style: TextStyle(color: Colors.white),
+ ),
+ leading: IconButton(
+ icon: Icon(
+ Icons.settings,
+ color: Colors.white,
+ ),
+ onPressed: () {
+ DialogUtil.showInputDialog(context,
+ title: "配置爬取URL",
+ placeholder: "请输入Url地址 无/结尾",
+ initVal: Config.MAIN_URL, call: (String val) async {
+ if (val.isEmpty) {
+ ToastUtil.show(msg: "请配置完整");
+ } else {
+ SharedPreferences sp = await SharedPreferences.getInstance();
+ sp.setString(KEY, val);
+ setState(() {
+ Config.MAIN_URL = val;
+ ToastUtil.show(msg: "请上拉刷新重新加载");
+ });
+ }
+ Navigator.pop(context);
+ });
+ },
+ ),
+ ),
+ body: Column(
+ children: [
+ Padding(
+ padding: EdgeInsets.only(left: 5, right: 5),
+ child: TabBar(
+ tabs: Config.categoryList
+ .map((e) => Tab(
+ text: e.name,
+ ))
+ .toList(),
+ isScrollable: true,
+ controller: _mController,
+ ),
+ ),
+ Padding(padding: EdgeInsets.only(bottom: 10)),
+ Expanded(
+ child: TabBarView(
+ controller: _mController,
+ children: Config.categoryList
+ .map((e) => Video91ListPage(
+ model: e,
+ ))
+ .toList(),
+ ),
+ ),
+ ],
+ ),
+ );
+ }
+}
diff --git a/lib/pages/video_91_list.dart b/lib/pages/video_91_list.dart
new file mode 100644
index 0000000..c8ac46b
--- /dev/null
+++ b/lib/pages/video_91_list.dart
@@ -0,0 +1,210 @@
+/*
+ * @Description:
+ * @Author: chenzedeng
+ * @Date: 2021-01-31 21:38:18
+ * @LastEditTime: 2021-10-03 13:09:56
+ */
+import 'package:cached_network_image/cached_network_image.dart';
+import 'package:flutter/material.dart';
+import 'package:flutter_easyrefresh/easy_refresh.dart';
+import 'package:permission_handler/permission_handler.dart';
+import 'package:sex_91porn/model/category_model.dart';
+import 'package:sex_91porn/model/video_model.dart';
+import 'package:sex_91porn/service/list_parse.dart';
+import 'package:sex_91porn/util/application.dart';
+import 'package:sex_91porn/util/http_util.dart';
+import 'package:sex_91porn/util/widget_util.dart';
+
+///91在线爬取页码PageWidget
+class Video91ListPage extends StatefulWidget {
+ final CategoryModel model;
+
+ Video91ListPage({Key? key, required this.model}) : super(key: key);
+
+ @override
+ _Video91ListPageState createState() => _Video91ListPageState();
+}
+
+class _Video91ListPageState extends State
+ with AutomaticKeepAliveClientMixin {
+ EasyRefreshController _controller = EasyRefreshController();
+
+ List _list = [];
+
+ int _currentPage = 0;
+
+ String tip = "首次请点击下面按钮进行加载";
+
+ @override
+ void initState() {
+ super.initState();
+ print("初始化页面: ${widget.model.name}");
+ //爬取数据
+ // _getNextData();
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return Container(
+ child: EasyRefresh(
+ controller: _controller,
+ onRefresh: () async {
+ _list.clear();
+ _currentPage = 0;
+ await _getNextData();
+ return;
+ },
+ onLoad: () async {
+ await _getNextData();
+ return;
+ },
+ child: _list.isEmpty
+ ? Container(
+ padding: EdgeInsets.only(
+ top: MediaQuery.of(context).size.height / 3.5),
+ child: Center(
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.center,
+ children: [
+ CircularProgressIndicator(
+ valueColor: AlwaysStoppedAnimation(Colors.blueAccent)),
+ SizedBox.fromSize(
+ size: Size.fromHeight(10),
+ ),
+ Text(tip),
+ SizedBox.fromSize(
+ size: Size.fromHeight(20),
+ ),
+ IconButton(
+ icon: Icon(
+ Icons.refresh_outlined,
+ color: Colors.green,
+ size: 35,
+ ),
+ onPressed: () {
+ //重新请求
+ _currentPage = 0;
+ _list.clear();
+ _getNextData();
+ })
+ ],
+ ),
+ ),
+ )
+ : GridView.builder(
+ gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
+ crossAxisCount: 2, childAspectRatio: 1),
+ itemCount: _list.length,
+ itemBuilder: (context, index) {
+ var item = _list[index];
+ return GestureDetector(
+ onTap: () {
+ if (item.href == null || item.href!.isEmpty) {
+ ToastUtil.show(msg: "该视频获取播放地址失败,无法播放");
+ return;
+ }
+ //点击的事件
+ Application.navigateToIos(context, "/play", params: item);
+ },
+ child: Container(
+ padding: EdgeInsets.fromLTRB(8, 0, 8, 3),
+ child: Card(
+ margin: EdgeInsets.only(bottom: 5, top: 5),
+ child: Container(
+ child: Column(
+ children: [
+ Expanded(
+ child: Stack(
+ children: [
+ CachedNetworkImage(
+ imageUrl: item.cover ?? "",
+ fit: BoxFit.cover,
+ height: double.infinity,
+ width: double.infinity,
+ errorWidget: (c, u, e) {
+ return Icon(Icons.broken_image);
+ },
+ placeholder: (context, url) {
+ return Center(
+ child: CircularProgressIndicator(
+ valueColor: AlwaysStoppedAnimation(
+ Colors.blue)),
+ );
+ },
+ ),
+ Align(
+ alignment: Alignment.topRight,
+ child: Container(
+ color: Colors.redAccent,
+ padding: EdgeInsets.all(3),
+ child: Text(
+ item.duration ?? "-",
+ style: TextStyle(
+ color: Colors.white, fontSize: 10),
+ ),
+ ),
+ )
+ ],
+ )),
+ SizedBox.fromSize(
+ size: Size.fromHeight(10),
+ ),
+ Padding(
+ padding:
+ EdgeInsets.only(left: 5, right: 5, bottom: 5),
+ child: Text(item.title),
+ )
+ ],
+ ),
+ ),
+ ),
+ ),
+ );
+ }),
+ ));
+ }
+
+ _getNextData() async {
+ if (widget.model.endPage != null) {
+ if (widget.model.endPage! <= _currentPage + 1) {
+ ToastUtil.show(msg: "没有更多的内容了");
+ return;
+ }
+ }
+ setState(() {
+ tip = "加载中...";
+ });
+ this._currentPage++;
+ String url = "${widget.model.url}$_currentPage";
+ print("爬取第$_currentPage页 链接:$url");
+ try {
+ String html = await HttpUtil.getHtml(url);
+ if (widget.model.endPage == null) {
+ widget.model.endPage = VideoPageParse.getPageNum(html);
+ }
+ var res = VideoPageParse.getVideoList(html);
+ setState(() {
+ _list.addAll(res);
+ });
+ print("爬取成功得到${res.length}条数据");
+ //添加数据库里
+ //todo
+ return true;
+ } catch (e) {
+ print("请求失败:$e");
+ ToastUtil.show(msg: "请求失败");
+ DialogUtil.showConfirmDialog(context, "请求失败是否重新请求?", okText: "重新尝试",
+ ok: () {
+ this._currentPage--;
+ _getNextData();
+ });
+ setState(() {
+ tip = "请求失败";
+ });
+ return Future.error("请求失败");
+ }
+ }
+
+ @override
+ bool get wantKeepAlive => true;
+}
diff --git a/lib/pages/video_db.dart b/lib/pages/video_db.dart
new file mode 100644
index 0000000..7b0d32f
--- /dev/null
+++ b/lib/pages/video_db.dart
@@ -0,0 +1,137 @@
+/*
+ * @Description:
+ * @Author: chenzedeng
+ * @Date: 2021-01-30 21:48:03
+ * @LastEditTime: 2021-10-03 12:51:43
+ */
+
+import 'package:cached_network_image/cached_network_image.dart';
+import 'package:flutter/material.dart';
+import 'package:sex_91porn/model/video_model.dart';
+import 'package:sex_91porn/sql/video_dao.dart';
+import 'package:sex_91porn/util/application.dart';
+import 'package:sex_91porn/util/widget_util.dart';
+
+class VideoDbPage extends StatefulWidget {
+ VideoDbPage({Key? key}) : super(key: key);
+
+ @override
+ _VideoDbPageState createState() => _VideoDbPageState();
+}
+
+class _VideoDbPageState extends State {
+ VideoDao _vidaoDao = VideoDao();
+
+ List list = [];
+
+ @override
+ void initState() {
+ super.initState();
+ Future.delayed(Duration.zero, () async {
+ list.addAll(await _vidaoDao.queryAll());
+ });
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return Scaffold(
+ appBar: AppBar(
+ title: Text(
+ "本地缓存库",
+ style: TextStyle(color: Colors.white),
+ ),
+ leading: IconButton(
+ icon: Icon(
+ Icons.clear_all_rounded,
+ color: Colors.white,
+ ),
+ onPressed: () {
+ DialogUtil.showConfirmDialog(context, "您确定清理全部观看历史吗?", ok: () {
+ VideoDao().clearAll();
+ setState(() {
+ list.clear();
+ });
+ });
+ },
+ )),
+ body: Container(
+ child: RefreshIndicator(
+ onRefresh: () async {
+ list.clear();
+ var res = await _vidaoDao.queryAll();
+ setState(() {
+ list.addAll(res);
+ });
+ return;
+ },
+ child: GridView.builder(
+ gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
+ crossAxisCount: 2, childAspectRatio: 1),
+ itemCount: list.length,
+ itemBuilder: (context, index) {
+ var item = list[index];
+ return GestureDetector(
+ onTap: () {
+ //点击的事件
+ Application.router.navigateTo(context, "/play",
+ routeSettings: RouteSettings(arguments: item));
+ },
+ child: Container(
+ padding: EdgeInsets.fromLTRB(8, 0, 8, 3),
+ child: Card(
+ margin: EdgeInsets.only(bottom: 5, top: 5),
+ child: Container(
+ child: Column(
+ children: [
+ Expanded(
+ child: Stack(
+ children: [
+ CachedNetworkImage(
+ imageUrl: item.cover ?? "",
+ fit: BoxFit.cover,
+ height: double.infinity,
+ width: double.infinity,
+ errorWidget: (c, u, e) {
+ return Icon(Icons.broken_image);
+ },
+ placeholder: (context, url) {
+ return Center(
+ child: CircularProgressIndicator(
+ valueColor: AlwaysStoppedAnimation(
+ Colors.blue)),
+ );
+ },
+ ),
+ Align(
+ alignment: Alignment.topRight,
+ child: Container(
+ color: Colors.redAccent,
+ padding: EdgeInsets.all(3),
+ child: Text(
+ item.duration ?? "-",
+ style: TextStyle(
+ color: Colors.white, fontSize: 10),
+ ),
+ ),
+ )
+ ],
+ )),
+ SizedBox.fromSize(
+ size: Size.fromHeight(10),
+ ),
+ Padding(
+ padding:
+ EdgeInsets.only(left: 5, right: 5, bottom: 5),
+ child: Text(item.title),
+ )
+ ],
+ ),
+ ),
+ ),
+ ),
+ );
+ }),
+ )),
+ );
+ }
+}
diff --git a/lib/router/router_handler.dart b/lib/router/router_handler.dart
new file mode 100644
index 0000000..4d6fe70
--- /dev/null
+++ b/lib/router/router_handler.dart
@@ -0,0 +1,27 @@
+/*
+ * @Description:
+ * @Author: chenzedeng
+ * @Date: 2021-01-29 11:44:21
+ * @LastEditTime: 2021-10-02 22:11:20
+ */
+
+import 'package:fluro/fluro.dart';
+import 'package:flutter/cupertino.dart';
+import 'package:sex_91porn/model/video_model.dart';
+import 'package:sex_91porn/pages/index.dart';
+import 'package:sex_91porn/pages/play_video.dart';
+
+///首页Index
+Handler indexHandler = Handler(
+ handlerFunc: (BuildContext? context, Map> parameters) {
+ return IndexPage();
+});
+
+///播放页
+Handler videoPlayHandler = Handler(
+ handlerFunc: (BuildContext? context, Map> parameters) {
+ VideoModel model = context!.settings!.arguments as VideoModel;
+ return new PlayVideoPage(
+ videoModel: model,
+ );
+});
diff --git a/lib/router/routers.dart b/lib/router/routers.dart
new file mode 100644
index 0000000..08130f4
--- /dev/null
+++ b/lib/router/routers.dart
@@ -0,0 +1,20 @@
+/*
+ * @Description:
+ * @Author: chenzedeng
+ * @Date: 2021-01-25 19:43:40
+ * @LastEditTime: 2021-01-29 11:46:19
+ */
+import 'package:fluro/fluro.dart';
+import 'router_handler.dart';
+
+class Routers {
+ static void configRouters(FluroRouter router) {
+ _defineRouter(router, "/", indexHandler);
+ _defineRouter(router, "/play", videoPlayHandler);
+ }
+
+ static void _defineRouter(FluroRouter router, String path, Handler handler) {
+ router.define(path,
+ handler: handler, transitionType: TransitionType.inFromRight);
+ }
+}
diff --git a/lib/service/list_parse.dart b/lib/service/list_parse.dart
new file mode 100644
index 0000000..cfffaa8
--- /dev/null
+++ b/lib/service/list_parse.dart
@@ -0,0 +1,72 @@
+/*
+ * @Description:
+ * @Author: chenzedeng
+ * @Date: 2021-01-25 19:46:49
+ * @LastEditTime: 2021-10-03 12:12:59
+ */
+
+import 'package:html/dom.dart';
+import 'package:html/parser.dart';
+import 'package:sex_91porn/model/video_model.dart';
+
+class VideoPageParse {
+ ///获取列表的视屏数据
+ static List getVideoList(String html) {
+ List list = [];
+ Document document = parse(html);
+ var rootList = document.querySelectorAll(".videos-text-align");
+ if (rootList.isEmpty) {
+ return list;
+ }
+ for (var l in rootList) {
+ Element a = l.getElementsByTagName("a")[0];
+ //获取视屏原始链接地址
+ String href = a.attributes["href"] ?? "";
+ //获取标题
+ String title =
+ a.getElementsByClassName("video-title title-truncate m-t-5")[0].text;
+ //获取Id号码
+ var id = a.getElementsByClassName("thumb-overlay")[0].id;
+ id = id.replaceAll(new RegExp("\\D"), "");
+ //获取图片
+ String img =
+ a.getElementsByClassName("img-responsive")[0].attributes["src"] ?? "";
+ //获取时长
+ String duration = a.getElementsByClassName("duration")[0].text;
+
+ VideoModel videoModel = VideoModel(
+ href: href,
+ title: title,
+ cover: img,
+ duration: duration,
+ id: int.parse(id));
+
+ // print("videoModel===>>> $videoModel");
+ list.add(videoModel);
+ }
+ return list;
+ }
+
+ ///返回最大的页码
+ static int getPageNum(String html) {
+ Document document = parse(html);
+ var pageDiv = document.getElementsByClassName("pagingnav")[0];
+ var aList = pageDiv.querySelectorAll("a");
+ var a = aList.reversed.toList()[1];
+ return int.parse(a.text);
+ }
+
+ ///返回播放连接加密的字符串
+ static String getSrcCode(String html) {
+ Document document = parse(html);
+ Element? script =
+ document.getElementById("player_one")?.querySelector("script");
+ if (script == null) {
+ return "";
+ }
+ String sciptContent = script.innerHtml;
+ String code = sciptContent.substring(
+ sciptContent.indexOf("\"") + 1, sciptContent.lastIndexOf("\""));
+ return code;
+ }
+}
diff --git a/lib/sql/sql_helper.dart b/lib/sql/sql_helper.dart
new file mode 100644
index 0000000..a096510
--- /dev/null
+++ b/lib/sql/sql_helper.dart
@@ -0,0 +1,67 @@
+/*
+ * @Description:
+ * @Author: chenzedeng
+ * @Date: 2021-01-26 15:32:37
+ * @LastEditTime: 2021-10-02 22:14:07
+ */
+import 'package:sqflite/sqflite.dart';
+import 'package:path/path.dart';
+
+class SqlHelper {
+ static const _VERSION = 1;
+
+ static const _NAME = "free_91porn.db";
+
+ static Database? _database;
+
+ static init() async {
+ var databasesPath = await getDatabasesPath();
+
+ String path = join(databasesPath, _NAME);
+
+ _database = await openDatabase(path,
+ version: _VERSION, onCreate: (Database db, int version) async {});
+ }
+
+ ///获取当前数据库对象
+ static Future getCurrentDatabase() async {
+ if (_database == null) {
+ await init();
+ }
+ return _database!;
+ }
+
+ ///判断表是否存在
+ static isTableExits(String tableName) async {
+ await getCurrentDatabase();
+ var res = await _database!.rawQuery(
+ "select * from Sqlite_master where type = 'table' and name = '$tableName'");
+ return res != null && res.length > 0;
+ }
+
+ ///关闭
+ static close() {
+ _database?.close();
+ }
+}
+
+///Sql 提供者父类对象
+abstract class SqlBaseProvider {
+ String getTableName();
+
+ String getTableCreateSql();
+
+ ///获取数据库对象
+ Future getDataBase() async {
+ return await prepare();
+ }
+
+ prepare() async {
+ var isTableExist = await SqlHelper.isTableExits(getTableName());
+ if (!isTableExist) {
+ Database database = await SqlHelper.getCurrentDatabase();
+ await database.execute(getTableCreateSql());
+ }
+ return await SqlHelper.getCurrentDatabase();
+ }
+}
diff --git a/lib/sql/video_dao.dart b/lib/sql/video_dao.dart
new file mode 100644
index 0000000..fefe561
--- /dev/null
+++ b/lib/sql/video_dao.dart
@@ -0,0 +1,81 @@
+/*
+ * @Description:
+ * @Author: chenzedeng
+ * @Date: 2021-01-26 15:33:29
+ * @LastEditTime: 2021-10-03 12:46:57
+ */
+
+import 'package:sex_91porn/model/video_model.dart';
+import 'package:sex_91porn/sql/sql_helper.dart';
+import 'package:sqflite/sqlite_api.dart';
+
+class VideoDao extends SqlBaseProvider {
+ @override
+ String getTableCreateSql() {
+ return '''
+ create table if not exists ${getTableName()} (
+ N_ID INTEGER PRIMARY KEY autoincrement,-- 编号ID主键
+ id INTEGER ,-- 视屏ID
+ title varchar(50) NOT NULL , -- 标题
+ cover varchar(100) NOT NULL, -- 封面
+ duration varchar(50), -- 时长
+ createTime varchar(50) , -- 上传时间
+ topCount int(11) default 1, -- 查看次数
+ href varchar(100) not NULL , -- 原始视屏链接
+ src varchar(100) not NULL -- 视屏播放地址 m3u8
+ );
+ ''';
+ }
+
+ @override
+ String getTableName() {
+ return "video";
+ }
+
+ ///查询
+ Future> queryList(
+ {int current = 1,
+ int size = 10,
+ String? search,
+ bool hotSort = false}) async {
+ Database database = await getDataBase();
+ String where = "";
+ if (search != null && search.isNotEmpty) {
+ where += 'title like %$search%';
+ }
+ return (await database.query(getTableName(),
+ where: where,
+ orderBy: hotSort ? 'topCount' : 'createTime' + " desc",
+ limit: size,
+ offset: size * current))
+ .map((e) => VideoModel.fromMap(e))
+ .toList();
+ }
+
+ Future> queryAll() async {
+ Database database = await getDataBase();
+ return (await database.query(getTableName()))
+ .map((e) => VideoModel.fromMap(e))
+ .toList();
+ }
+
+ Future addVideo(VideoModel model) async {
+ Database database = await getDataBase();
+ //判断库中是否存在记录
+ var resList = await database.rawQuery(
+ "select count(N_ID) as count from ${getTableName()} where id = ? limit 1",
+ [model.id]);
+ if (resList[0]["count"] != 0) {
+ return -1;
+ }
+ Map values = model.toMap();
+ return await database.insert(getTableName(), values,
+ conflictAlgorithm: ConflictAlgorithm.ignore);
+ }
+
+ ///清空所有的数据
+ Future clearAll() async {
+ Database database = await getDataBase();
+ return await database.delete(getTableName());
+ }
+}
diff --git a/lib/util/application.dart b/lib/util/application.dart
new file mode 100644
index 0000000..4a4c01d
--- /dev/null
+++ b/lib/util/application.dart
@@ -0,0 +1,47 @@
+/*
+ * @Description:
+ * @Author: chenzedeng
+ * @Date: 2020-08-05 15:13:46
+ * @LastEditTime: 2021-10-02 22:15:54
+ */
+import 'package:fluro/fluro.dart';
+import 'package:flutter/material.dart';
+import 'package:fluttertoast/fluttertoast.dart';
+
+class Application {
+ //Router全局路由管理对象
+ static late FluroRouter router;
+
+ static late BuildContext context;
+
+ ///IOS 可侧滑返回的跳转界面
+ static Future navigateToIos(BuildContext context, String path,
+ {bool replace = false, bool clearStack = false, Object? params}) {
+ RouteSettings? settings;
+ if (params != null) {
+ settings = RouteSettings(name: "params", arguments: params);
+ }
+ return router.navigateTo(context, path,
+ replace: replace,
+ clearStack: clearStack,
+ transition: TransitionType.cupertino,
+ routeSettings: settings);
+ }
+}
+
+///系统配置
+class AppConfig {}
+
+class ToastUtil {
+ static show({@required dynamic msg, Toast length = Toast.LENGTH_SHORT}) {
+ if (!(msg is String)) {
+ msg = msg.toString();
+ }
+ Fluttertoast.showToast(
+ msg: msg,
+ textColor: Colors.white,
+ backgroundColor: Colors.black54,
+ gravity: ToastGravity.BOTTOM,
+ toastLength: length);
+ }
+}
diff --git a/lib/util/cookie_util.dart b/lib/util/cookie_util.dart
new file mode 100644
index 0000000..c4e0afd
--- /dev/null
+++ b/lib/util/cookie_util.dart
@@ -0,0 +1,25 @@
+/*
+ * @Description:
+ * @Author: chenzedeng
+ * @Date: 2021-10-03 00:13:05
+ * @LastEditTime: 2021-10-03 00:16:49
+ */
+import 'dart:io';
+
+import 'package:cookie_jar/cookie_jar.dart';
+import 'package:path_provider/path_provider.dart';
+
+class Cook {
+ //改为使用 PersistCookieJar,在文档中有介绍,PersistCookieJar将 cookie保留在文件中,因此,如果应用程序退出,则cookie始终存在,除 非显式调用delete
+ static PersistCookieJar? _cookieJar;
+
+ static Future get cookieJar async {
+ if (_cookieJar == null) {
+ Directory appDocDir = await getApplicationDocumentsDirectory();
+ String appDocPath = appDocDir.path;
+ print('获取的文件系统目录: ' + appDocPath);
+ _cookieJar = new PersistCookieJar(storage: FileStorage(appDocPath));
+ }
+ return _cookieJar!;
+ }
+}
diff --git a/lib/util/http_util.dart b/lib/util/http_util.dart
new file mode 100644
index 0000000..d99771c
--- /dev/null
+++ b/lib/util/http_util.dart
@@ -0,0 +1,52 @@
+/*
+ * @Description:
+ * @Author: chenzedeng
+ * @Date: 2021-01-30 11:00:05
+ * @LastEditTime: 2021-10-03 12:09:04
+ */
+
+import 'package:dio/dio.dart';
+import 'package:dio_cookie_manager/dio_cookie_manager.dart';
+
+import 'cookie_util.dart';
+
+class HttpUtil {
+ static CancelToken _cancelToken = CancelToken();
+
+ static final Dio _HTTP = Dio(BaseOptions(
+ connectTimeout: 50000,
+ sendTimeout: 50000,
+ receiveTimeout: 50000,
+ headers: {
+ "accept-language": "zh-CN,zh;q=0.9,ja;q=0.8,en;q=0.7,zh-TW;q=0.6"
+ }));
+
+ static void setup() async {
+ var cookie = await Cook.cookieJar;
+ _HTTP.interceptors.add(CookieManager(cookie));
+ // _HTTP.interceptors.add(LogInterceptor(responseBody: false)); //开启请求日志
+ }
+
+ ///get请求
+ static Future> getRequest(String url,
+ {Map? queryParams}) {
+ return _HTTP.get(url,
+ queryParameters: queryParams,
+ cancelToken: _cancelToken,
+ options: Options(followRedirects: false));
+ }
+
+ ///返回Html
+ static Future getHtml(String url) async {
+ try {
+ var response = await getRequest(url);
+ if (response.statusCode == 200) {
+ return response.data;
+ }
+ return Future.error("请求失败: ${response.statusMessage}");
+ } catch (e) {
+ print("请求失败: $e");
+ return Future.error("请求失败:超时");
+ }
+ }
+}
diff --git a/lib/util/widget_util.dart b/lib/util/widget_util.dart
new file mode 100644
index 0000000..4ded7ae
--- /dev/null
+++ b/lib/util/widget_util.dart
@@ -0,0 +1,197 @@
+/*
+ * @Description:
+ * @Author: chenzedeng
+ * @Date: 2020-08-09 10:55:01
+ * @LastEditTime: 2021-10-02 22:20:33
+ */
+import 'package:flutter/cupertino.dart';
+import 'package:flutter/material.dart';
+
+class DialogUtil {
+ static bool _isLoading = false;
+
+ ///显示一个Alert 提示框
+ static void showAlertMessageDialog(BuildContext context, String message,
+ {Function? call, String title = "提示"}) {
+ showDialog(
+ context: context,
+ builder: (context) {
+ return CupertinoAlertDialog(
+ title: Text(title),
+ content: Center(
+ child: Text(message),
+ ),
+ actions: [
+ CupertinoDialogAction(
+ child: Text("确定"),
+ onPressed: () {
+ Navigator.pop(context);
+ if (call != null) {
+ call();
+ }
+ },
+ )
+ ],
+ );
+ });
+ }
+
+ ///弹出一个询问框
+ static void showConfirmDialog(BuildContext context, String message,
+ {Function? ok,
+ Function? cancel,
+ String okText = "确定",
+ String cancenText = "取消",
+ String title = "提示"}) {
+ showDialog(
+ context: context,
+ builder: (context) {
+ return CupertinoAlertDialog(
+ title: Text(title),
+ content: Center(
+ child: Text(message),
+ ),
+ actions: [
+ CupertinoDialogAction(
+ child: Text(okText),
+ onPressed: () {
+ Navigator.pop(context);
+ if (ok != null) {
+ ok();
+ }
+ },
+ ),
+ CupertinoDialogAction(
+ child: Text(cancenText),
+ onPressed: () {
+ Navigator.pop(context);
+ if (cancel != null) {
+ cancel();
+ }
+ },
+ )
+ ],
+ );
+ });
+ }
+
+ ///打开加载对话框
+ static void showLoading(BuildContext context, String msg,
+ {bool barrierDismissible = true}) {
+ if (_isLoading) {
+ Navigator.pop(context);
+ }
+ _isLoading = true;
+ showDialog(
+ context: context,
+ barrierDismissible: barrierDismissible,
+ builder: (context) {
+ return UnconstrainedBox(
+ child: SizedBox(
+ width: MediaQuery.of(context).size.width / 2 + 50,
+ child: CupertinoAlertDialog(
+ content: Column(
+ children: [
+ CupertinoActivityIndicator(
+ animating: true,
+ radius: 30,
+ ),
+ Padding(
+ padding: EdgeInsets.fromLTRB(0, 10, 0, 10),
+ child: Text(msg),
+ )
+ ],
+ ),
+ ),
+ ),
+ );
+ });
+ }
+
+ static void showSmallLoading(BuildContext context) {
+ if (_isLoading) {
+ Navigator.pop(context);
+ }
+ _isLoading = true;
+ double size = MediaQuery.of(context).size.width / 2;
+ showDialog(
+ context: context,
+ builder: (context) {
+ return UnconstrainedBox(
+ child: SizedBox(
+ width: size,
+ child: AlertDialog(
+ content: Center(
+ child: CircularProgressIndicator(
+ valueColor: AlwaysStoppedAnimation(
+ Theme.of(context).primaryColor),
+ ),
+ ),
+ ),
+ ),
+ );
+ });
+ }
+
+ ///关闭加载对话框
+ static void closeLoading(BuildContext context) {
+ if (_isLoading) {
+ if (context != null) {
+ Navigator.pop(context);
+ }
+ _isLoading = false;
+ }
+ }
+
+ ///只是设置为flag为关闭
+ static void closeLoadingFlag() {
+ _isLoading = false;
+ }
+
+ //显示一个输入框
+ static void showInputDialog(BuildContext context,
+ {Function? call,
+ String title = "提示",
+ String? placeholder,
+ String? initVal}) {
+ showDialog(
+ context: context,
+ builder: (context) {
+ TextEditingController editingController = TextEditingController();
+ if (initVal != null && initVal.isNotEmpty) {
+ editingController.text = initVal;
+ }
+ return CupertinoAlertDialog(
+ title: Text(title),
+ content: Container(
+ child: CupertinoTextField(
+ placeholder: placeholder,
+ controller: editingController,
+ autofocus: true,
+ keyboardType: TextInputType.text,
+ maxLines: 1,
+ maxLength: 30,
+ textInputAction: TextInputAction.done,
+ ),
+ ),
+ actions: [
+ CupertinoDialogAction(
+ child: Text("提交"),
+ onPressed: () {
+ String text = editingController.text;
+ if (call != null) {
+ call(text);
+ }
+ },
+ ),
+ CupertinoDialogAction(
+ child: Text("取消"),
+ onPressed: () {
+ Navigator.pop(context);
+ },
+ )
+ ],
+ );
+ });
+ }
+}
diff --git a/pubspec.lock b/pubspec.lock
new file mode 100644
index 0000000..8048448
--- /dev/null
+++ b/pubspec.lock
@@ -0,0 +1,586 @@
+# Generated by pub
+# See https://dart.dev/tools/pub/glossary#lockfile
+packages:
+ async:
+ dependency: transitive
+ description:
+ name: async
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.8.1"
+ boolean_selector:
+ dependency: transitive
+ description:
+ name: boolean_selector
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.1.0"
+ cached_network_image:
+ dependency: "direct main"
+ description:
+ name: cached_network_image
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "3.1.0"
+ cached_network_image_platform_interface:
+ dependency: transitive
+ description:
+ name: cached_network_image_platform_interface
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.0.0"
+ cached_network_image_web:
+ dependency: transitive
+ description:
+ name: cached_network_image_web
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.0.1"
+ characters:
+ dependency: transitive
+ description:
+ name: characters
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.1.0"
+ charcode:
+ dependency: transitive
+ description:
+ name: charcode
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.3.1"
+ chewie:
+ dependency: "direct main"
+ description:
+ name: chewie
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.2.2"
+ clock:
+ dependency: transitive
+ description:
+ name: clock
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.1.0"
+ collection:
+ dependency: transitive
+ description:
+ name: collection
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.15.0"
+ cookie_jar:
+ dependency: "direct main"
+ description:
+ name: cookie_jar
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "3.0.1"
+ crypto:
+ dependency: transitive
+ description:
+ name: crypto
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "3.0.1"
+ csslib:
+ dependency: transitive
+ description:
+ name: csslib
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "0.17.0"
+ cupertino_icons:
+ dependency: "direct main"
+ description:
+ name: cupertino_icons
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.0.3"
+ dio:
+ dependency: "direct main"
+ description:
+ name: dio
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "4.0.0"
+ dio_cookie_manager:
+ dependency: "direct main"
+ description:
+ name: dio_cookie_manager
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.0.0"
+ fake_async:
+ dependency: transitive
+ description:
+ name: fake_async
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.2.0"
+ ffi:
+ dependency: transitive
+ description:
+ name: ffi
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.1.2"
+ file:
+ dependency: transitive
+ description:
+ name: file
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "6.1.2"
+ fluro:
+ dependency: "direct main"
+ description:
+ name: fluro
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.0.3"
+ flutter:
+ dependency: "direct main"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ flutter_blurhash:
+ dependency: transitive
+ description:
+ name: flutter_blurhash
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "0.6.0"
+ flutter_cache_manager:
+ dependency: transitive
+ description:
+ name: flutter_cache_manager
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "3.1.2"
+ flutter_easyrefresh:
+ dependency: "direct main"
+ description:
+ name: flutter_easyrefresh
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.2.1"
+ flutter_test:
+ dependency: "direct dev"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ flutter_web_plugins:
+ dependency: transitive
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ fluttertoast:
+ dependency: "direct main"
+ description:
+ name: fluttertoast
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "8.0.8"
+ html:
+ dependency: "direct main"
+ description:
+ name: html
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "0.15.0"
+ http:
+ dependency: transitive
+ description:
+ name: http
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "0.13.3"
+ http_parser:
+ dependency: transitive
+ description:
+ name: http_parser
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "4.0.0"
+ js:
+ dependency: transitive
+ description:
+ name: js
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "0.6.3"
+ matcher:
+ dependency: transitive
+ description:
+ name: matcher
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "0.12.10"
+ meta:
+ dependency: transitive
+ description:
+ name: meta
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.7.0"
+ mime:
+ dependency: transitive
+ description:
+ name: mime
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.0.0"
+ nested:
+ dependency: transitive
+ description:
+ name: nested
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.0.0"
+ octo_image:
+ dependency: transitive
+ description:
+ name: octo_image
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.0.0+1"
+ path:
+ dependency: transitive
+ description:
+ name: path
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.8.0"
+ path_provider:
+ dependency: "direct main"
+ description:
+ name: path_provider
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.0.5"
+ path_provider_linux:
+ dependency: transitive
+ description:
+ name: path_provider_linux
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.1.0"
+ path_provider_macos:
+ dependency: transitive
+ description:
+ name: path_provider_macos
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.0.2"
+ path_provider_platform_interface:
+ dependency: transitive
+ description:
+ name: path_provider_platform_interface
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.0.1"
+ path_provider_windows:
+ dependency: transitive
+ description:
+ name: path_provider_windows
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.0.3"
+ pedantic:
+ dependency: transitive
+ description:
+ name: pedantic
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.11.1"
+ permission_handler:
+ dependency: "direct main"
+ description:
+ name: permission_handler
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "8.1.6"
+ permission_handler_platform_interface:
+ dependency: transitive
+ description:
+ name: permission_handler_platform_interface
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "3.6.2"
+ platform:
+ dependency: transitive
+ description:
+ name: platform
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "3.0.2"
+ plugin_platform_interface:
+ dependency: transitive
+ description:
+ name: plugin_platform_interface
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.0.2"
+ process:
+ dependency: transitive
+ description:
+ name: process
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "4.2.3"
+ provider:
+ dependency: transitive
+ description:
+ name: provider
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "5.0.0"
+ rxdart:
+ dependency: transitive
+ description:
+ name: rxdart
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "0.27.2"
+ shared_preferences:
+ dependency: "direct main"
+ description:
+ name: shared_preferences
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.0.8"
+ shared_preferences_linux:
+ dependency: transitive
+ description:
+ name: shared_preferences_linux
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.0.2"
+ shared_preferences_macos:
+ dependency: transitive
+ description:
+ name: shared_preferences_macos
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.0.2"
+ shared_preferences_platform_interface:
+ dependency: transitive
+ description:
+ name: shared_preferences_platform_interface
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.0.0"
+ shared_preferences_web:
+ dependency: transitive
+ description:
+ name: shared_preferences_web
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.0.2"
+ shared_preferences_windows:
+ dependency: transitive
+ description:
+ name: shared_preferences_windows
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.0.2"
+ sky_engine:
+ dependency: transitive
+ description: flutter
+ source: sdk
+ version: "0.0.99"
+ source_span:
+ dependency: transitive
+ description:
+ name: source_span
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.8.1"
+ sqflite:
+ dependency: "direct main"
+ description:
+ name: sqflite
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.0.0+4"
+ sqflite_common:
+ dependency: transitive
+ description:
+ name: sqflite_common
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.0.1+1"
+ stack_trace:
+ dependency: transitive
+ description:
+ name: stack_trace
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.10.0"
+ stream_channel:
+ dependency: transitive
+ description:
+ name: stream_channel
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.1.0"
+ string_scanner:
+ dependency: transitive
+ description:
+ name: string_scanner
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.1.0"
+ synchronized:
+ dependency: transitive
+ description:
+ name: synchronized
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "3.0.0"
+ term_glyph:
+ dependency: transitive
+ description:
+ name: term_glyph
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.2.0"
+ test_api:
+ dependency: transitive
+ description:
+ name: test_api
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "0.4.2"
+ typed_data:
+ dependency: transitive
+ description:
+ name: typed_data
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.3.0"
+ uuid:
+ dependency: transitive
+ description:
+ name: uuid
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "3.0.4"
+ vector_math:
+ dependency: transitive
+ description:
+ name: vector_math
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.1.0"
+ video_player:
+ dependency: "direct main"
+ description:
+ name: video_player
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.2.5"
+ video_player_platform_interface:
+ dependency: transitive
+ description:
+ name: video_player_platform_interface
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "4.2.0"
+ video_player_web:
+ dependency: transitive
+ description:
+ name: video_player_web
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.0.4"
+ wakelock:
+ dependency: "direct main"
+ description:
+ name: wakelock
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "0.5.6"
+ wakelock_macos:
+ dependency: transitive
+ description:
+ name: wakelock_macos
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "0.4.0"
+ wakelock_platform_interface:
+ dependency: transitive
+ description:
+ name: wakelock_platform_interface
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "0.3.0"
+ wakelock_web:
+ dependency: transitive
+ description:
+ name: wakelock_web
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "0.4.0"
+ wakelock_windows:
+ dependency: transitive
+ description:
+ name: wakelock_windows
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "0.2.0"
+ webview_flutter:
+ dependency: transitive
+ description:
+ name: webview_flutter
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.1.1"
+ webview_flutter_android:
+ dependency: transitive
+ description:
+ name: webview_flutter_android
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.0.15"
+ webview_flutter_platform_interface:
+ dependency: transitive
+ description:
+ name: webview_flutter_platform_interface
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.0.0"
+ webview_flutter_plus:
+ dependency: "direct main"
+ description:
+ name: webview_flutter_plus
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "0.2.3"
+ webview_flutter_wkwebview:
+ dependency: transitive
+ description:
+ name: webview_flutter_wkwebview
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.0.14"
+ win32:
+ dependency: transitive
+ description:
+ name: win32
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.2.9"
+ xdg_directories:
+ dependency: transitive
+ description:
+ name: xdg_directories
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "0.2.0"
+sdks:
+ dart: ">=2.14.0 <3.0.0"
+ flutter: ">=2.5.0"
diff --git a/pubspec.yaml b/pubspec.yaml
new file mode 100644
index 0000000..2dfc204
--- /dev/null
+++ b/pubspec.yaml
@@ -0,0 +1,111 @@
+name: sex_91porn
+description: 91Porn 视屏爬取在线播放器
+
+# The following line prevents the package from being accidentally published to
+# pub.dev using `pub publish`. This is preferred for private packages.
+publish_to: 'none' # Remove this line if you wish to publish to pub.dev
+
+# The following defines the version and build number for your application.
+# A version number is three numbers separated by dots, like 1.2.43
+# followed by an optional build number separated by a +.
+# Both the version and the builder number may be overridden in flutter
+# build by specifying --build-name and --build-number, respectively.
+# In Android, build-name is used as versionName while build-number used as versionCode.
+# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
+# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
+# Read more about iOS versioning at
+# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
+version: 1.0.0+1
+
+environment:
+ sdk: ">=2.12.0 <3.0.0"
+
+dependencies:
+ flutter:
+ sdk: flutter
+
+ # 路由管理框架
+ fluro: ^2.0.3
+ #Sql数据库
+ sqflite: ^2.0.0+4
+ # 全局状态管理组件
+ #provider: ^4.3.1
+ #网络请求
+ dio: ^4.0.0
+ cookie_jar: 3.0.1
+ dio_cookie_manager: ^2.0.0
+ #权限检测器
+ permission_handler: ^8.1.6
+ #设备存储目录获取
+ path_provider: ^2.0.3
+ #持久化存储
+ shared_preferences: ^2.0.8
+ #Toast
+ fluttertoast: ^8.0.8
+ #图片放大预览
+ #photo_view: ^0.10.1
+ #Svg
+ #flutter_svg: ^0.18.0
+ #图片缓存框架
+ cached_network_image: ^3.1.0
+ #Html 解析器
+ html: ^0.15.0
+ webview_flutter_plus: ^0.2.3
+ #视屏播放器
+ chewie: ^1.2.2
+ video_player: ^2.2.5
+ #保持屏幕常亮插件
+ wakelock: ^0.5.6
+ #上拉加载 下拉刷新组件
+ flutter_easyrefresh: ^2.2.1
+
+
+ # The following adds the Cupertino Icons font to your application.
+ # Use with the CupertinoIcons class for iOS style icons.
+ cupertino_icons: ^1.0.0
+
+dev_dependencies:
+ flutter_test:
+ sdk: flutter
+
+# For information on the generic Dart part of this file, see the
+# following page: https://dart.dev/tools/pub/pubspec
+
+# The following section is specific to Flutter.
+flutter:
+
+ # The following line ensures that the Material Icons font is
+ # included with your application, so that you can use the icons in
+ # the material Icons class.
+ uses-material-design: true
+
+ # To add assets to your application, add an assets section, like this:
+ assets:
+ - assets/html/
+ # - images/a_dot_ham.jpeg
+
+ # An image asset can refer to one or more resolution-specific "variants", see
+ # https://flutter.dev/assets-and-images/#resolution-aware.
+
+ # For details regarding adding assets from package dependencies, see
+ # https://flutter.dev/assets-and-images/#from-packages
+
+ # To add custom fonts to your application, add a fonts section here,
+ # in this "flutter" section. Each entry in this list should have a
+ # "family" key with the font family name, and a "fonts" key with a
+ # list giving the asset and other descriptors for the font. For
+ # example:
+ # fonts:
+ # - family: Schyler
+ # fonts:
+ # - asset: fonts/Schyler-Regular.ttf
+ # - asset: fonts/Schyler-Italic.ttf
+ # style: italic
+ # - family: Trajan Pro
+ # fonts:
+ # - asset: fonts/TrajanPro.ttf
+ # - asset: fonts/TrajanPro_Bold.ttf
+ # weight: 700
+ #
+ # For details regarding fonts from package dependencies,
+ # see https://flutter.dev/custom-fonts/#from-packages
diff --git a/test/html_test.dart b/test/html_test.dart
new file mode 100644
index 0000000..2cfadf9
--- /dev/null
+++ b/test/html_test.dart
@@ -0,0 +1,11 @@
+/*
+ * @Description:
+ * @Author: chenzedeng
+ * @Date: 2021-01-29 11:38:59
+ * @LastEditTime: 2021-10-02 21:43:58
+ */
+import 'package:flutter_test/flutter_test.dart';
+import 'package:sex_91porn/model/config.dart';
+import 'package:sex_91porn/service/list_parse.dart';
+
+void main() {}
diff --git a/test/widget_test.dart b/test/widget_test.dart
new file mode 100644
index 0000000..d2ab6bb
--- /dev/null
+++ b/test/widget_test.dart
@@ -0,0 +1,38 @@
+/*
+ * @Description:
+ * @Author: chenzedeng
+ * @Date: 2021-01-25 19:10:23
+ * @LastEditTime: 2021-01-28 20:58:34
+ */
+// This is a basic Flutter widget test.
+//
+// To perform an interaction with a widget in your test, use the WidgetTester
+// utility that Flutter provides. For example, you can send tap and scroll
+// gestures. You can also use WidgetTester to find child widgets in the widget
+// tree, read text, and verify that the values of widget properties are correct.
+
+import 'package:flutter/material.dart';
+import 'package:flutter_test/flutter_test.dart';
+
+import 'package:sex_91porn/main.dart';
+import 'package:sex_91porn/model/config.dart';
+import 'package:sex_91porn/service/list_parse.dart';
+
+void main() {
+ // testWidgets('Counter increments smoke test', (WidgetTester tester) async {
+ // // Build our app and trigger a frame.
+ // await tester.pumpWidget(MyApp());
+
+ // // Verify that our counter starts at 0.
+ // expect(find.text('0'), findsOneWidget);
+ // expect(find.text('1'), findsNothing);
+
+ // // Tap the '+' icon and trigger a frame.
+ // await tester.tap(find.byIcon(Icons.add));
+ // await tester.pump();
+
+ // // Verify that our counter has incremented.
+ // expect(find.text('0'), findsNothing);
+ // expect(find.text('1'), findsOneWidget);
+ // });
+}
diff --git a/web/favicon.png b/web/favicon.png
new file mode 100644
index 0000000..8aaa46a
Binary files /dev/null and b/web/favicon.png differ
diff --git a/web/icons/Icon-192.png b/web/icons/Icon-192.png
new file mode 100644
index 0000000..b749bfe
Binary files /dev/null and b/web/icons/Icon-192.png differ
diff --git a/web/icons/Icon-512.png b/web/icons/Icon-512.png
new file mode 100644
index 0000000..88cfd48
Binary files /dev/null and b/web/icons/Icon-512.png differ
diff --git a/web/icons/Icon-maskable-192.png b/web/icons/Icon-maskable-192.png
new file mode 100644
index 0000000..eb9b4d7
Binary files /dev/null and b/web/icons/Icon-maskable-192.png differ
diff --git a/web/icons/Icon-maskable-512.png b/web/icons/Icon-maskable-512.png
new file mode 100644
index 0000000..d69c566
Binary files /dev/null and b/web/icons/Icon-maskable-512.png differ
diff --git a/web/index.html b/web/index.html
new file mode 100644
index 0000000..61f99c8
--- /dev/null
+++ b/web/index.html
@@ -0,0 +1,101 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sex_91porn
+
+
+
+
+
+
+
diff --git a/web/manifest.json b/web/manifest.json
new file mode 100644
index 0000000..60d3930
--- /dev/null
+++ b/web/manifest.json
@@ -0,0 +1,35 @@
+{
+ "name": "sex_91porn",
+ "short_name": "sex_91porn",
+ "start_url": ".",
+ "display": "standalone",
+ "background_color": "#0175C2",
+ "theme_color": "#0175C2",
+ "description": "A new Flutter project.",
+ "orientation": "portrait-primary",
+ "prefer_related_applications": false,
+ "icons": [
+ {
+ "src": "icons/Icon-192.png",
+ "sizes": "192x192",
+ "type": "image/png"
+ },
+ {
+ "src": "icons/Icon-512.png",
+ "sizes": "512x512",
+ "type": "image/png"
+ },
+ {
+ "src": "icons/Icon-maskable-192.png",
+ "sizes": "192x192",
+ "type": "image/png",
+ "purpose": "maskable"
+ },
+ {
+ "src": "icons/Icon-maskable-512.png",
+ "sizes": "512x512",
+ "type": "image/png",
+ "purpose": "maskable"
+ }
+ ]
+}