├── .gitignore
├── .metadata
├── .vscode
└── launch.json
├── README.md
├── android
├── .gitignore
├── app
│ ├── build.gradle
│ └── src
│ │ ├── debug
│ │ └── AndroidManifest.xml
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── kotlin
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── dy_flutter
│ │ │ │ └── MainActivity.kt
│ │ └── res
│ │ │ ├── drawable
│ │ │ └── launch_background.xml
│ │ │ ├── mipmap-hdpi
│ │ │ └── dy.png
│ │ │ ├── mipmap-mdpi
│ │ │ └── dy.png
│ │ │ ├── mipmap-xhdpi
│ │ │ └── dy.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ └── dy.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ └── dy.png
│ │ │ └── values
│ │ │ └── styles.xml
│ │ └── profile
│ │ └── AndroidManifest.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
├── settings.gradle
└── settings_aar.gradle
├── dy_flutter.iml
├── images
├── back.webp
├── bar
│ ├── boy.webp
│ ├── chat-add.jpg
│ ├── chat-share.jpg
│ ├── chat-star-act.webp
│ ├── chat-star.jpg
│ ├── day-title.png
│ ├── girl.webp
│ ├── hot-chat.jpg
│ ├── hot-title.png
│ ├── pull-icon.webp
│ ├── tab-0.png
│ ├── tab-1.png
│ ├── tab-2.png
│ └── usefulSelect.webp
├── broadcast.webp
├── cate
│ ├── tab-0.webp
│ ├── tab-1.webp
│ ├── tab-10.webp
│ ├── tab-2.webp
│ ├── tab-3.webp
│ ├── tab-4.webp
│ ├── tab-5.webp
│ ├── tab-6.webp
│ ├── tab-7.webp
│ ├── tab-8.webp
│ ├── tab-9.webp
│ └── tab.webp
├── cfk.webp
├── change.png
├── cjf.webp
├── cqe.webp
├── default-avatar.webp
├── dg.webp
├── dg0.webp
├── float-icon.webp
├── fun_home_pull_down.png
├── gift-1.png
├── gift-banner.png
├── gift-x.png
├── gift.png
├── head
│ ├── camera.webp
│ ├── chat.webp
│ ├── dylogo.png
│ ├── game.webp
│ ├── history.webp
│ └── search.webp
├── hot.png
├── init_icon.png
├── init_logo.webp
├── login
│ ├── close.webp
│ ├── lock.webp
│ ├── member.webp
│ ├── qq.webp
│ ├── safe.webp
│ ├── syn.webp
│ ├── weibo.webp
│ └── wx.webp
├── lv
│ ├── 3.png
│ ├── 30.png
│ ├── 50.png
│ └── 80.png
├── member.png
├── nav
│ ├── nav-11.jpg
│ ├── nav-12.jpg
│ ├── nav-21.jpg
│ ├── nav-22.jpg
│ ├── nav-31.jpg
│ ├── nav-32.jpg
│ ├── nav-41.jpg
│ ├── nav-42.jpg
│ ├── nav-51.jpg
│ └── nav-52.jpg
├── num
│ ├── 0.webp
│ ├── 1.webp
│ ├── 2.webp
│ ├── 3.webp
│ ├── 4.webp
│ ├── 5.webp
│ ├── 6.webp
│ ├── 7.webp
│ ├── 8.webp
│ └── 9.webp
├── pic-default.jpg
├── play.png
├── shayuniang.png
└── show-area.webp
├── ios
├── .gitignore
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ ├── Release.xcconfig
│ └── flutter_export_environment.sh
├── Podfile
├── Podfile.lock
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ ├── IDEWorkspaceChecks.plist
│ │ │ └── WorkspaceSettings.xcsettings
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ ├── IDEWorkspaceChecks.plist
│ │ └── WorkspaceSettings.xcsettings
└── Runner
│ ├── AppDelegate.swift
│ ├── Assets.xcassets
│ ├── AppIcon.appiconset
│ │ ├── Contents.json
│ │ ├── icon20x20.png
│ │ ├── icon20x20@2x.png
│ │ ├── icon20x20@3x.png
│ │ ├── icon29x29.png
│ │ ├── icon29x29@2x.png
│ │ ├── icon29x29@3x.png
│ │ ├── icon40x40.png
│ │ ├── icon40x40@2x.png
│ │ ├── icon40x40@3x.png
│ │ ├── icon60x60@2x.png
│ │ ├── icon60x60@3x.png
│ │ ├── icon76x76.png
│ │ ├── icon76x76@2x.png
│ │ └── icon83.5x83.5@2x.png
│ └── LaunchImage.imageset
│ │ ├── Contents.json
│ │ ├── LaunchImage.png
│ │ ├── LaunchImage@2x.png
│ │ ├── LaunchImage@3x.png
│ │ └── README.md
│ ├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
│ ├── Info.plist
│ └── Runner-Bridging-Header.h
├── lib
├── base.dart
├── bloc.dart
├── develop
│ ├── develop.dart
│ └── index.dart
├── dy_dialog
│ ├── loading.dart
│ └── login.dart
├── dy_index
│ ├── commend
│ │ ├── broadcast.dart
│ │ ├── cate.dart
│ │ ├── index.dart
│ │ ├── list.dart
│ │ └── swiper.dart
│ ├── fishbar
│ │ ├── cardList.dart
│ │ ├── index.dart
│ │ ├── myConcern.dart
│ │ ├── photoGallery.dart
│ │ └── picView.dart
│ ├── focus
│ │ └── index.dart
│ ├── funny
│ │ ├── index.dart
│ │ └── lottery.dart
│ ├── header.dart
│ └── index.dart
├── dy_init
│ ├── countdown.dart
│ └── index.dart
├── dy_login
│ ├── area.dart
│ └── index.dart
├── dy_room
│ ├── animate.dart
│ ├── chat.dart
│ ├── index.dart
│ └── player.dart
├── httpUrl.dart
├── io.dart
├── main.dart
├── rx.dart
└── service.dart
├── pubspec.lock
├── pubspec.yaml
└── test
└── widget_test.dart
/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 |
12 | # IntelliJ related
13 | *.iml
14 | *.ipr
15 | *.iws
16 | .idea/
17 |
18 | # The .vscode folder contains launch configuration and tasks you configure in
19 | # VS Code which you may wish to be included in version control, so this line
20 | # is commented out by default.
21 | #.vscode/
22 |
23 | # Flutter/Dart/Pub related
24 | **/doc/api/
25 | **/ios/Flutter/.last_build_id
26 | .dart_tool/
27 | .flutter-plugins
28 | .flutter-plugins-dependencies
29 | .packages
30 | .pub-cache/
31 | .pub/
32 | /build/
33 |
34 | # Web related
35 | lib/generated_plugin_registrant.dart
36 |
37 | # Symbolication related
38 | app.*.symbols
39 |
40 | # Obfuscation related
41 | app.*.map.json
42 |
--------------------------------------------------------------------------------
/.metadata:
--------------------------------------------------------------------------------
1 | # This file tracks properties of this Flutter project.
2 | # Used by Flutter tool to assess capabilities and perform upgrades etc.
3 | #
4 | # This file should be version controlled and should not be manually edited.
5 |
6 | version:
7 | revision: 1aafb3a8b9b0c36241c5f5b34ee914770f015818
8 | channel: stable
9 |
10 | project_type: app
11 |
--------------------------------------------------------------------------------
/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // Use IntelliSense to learn about possible attributes.
3 | // Hover to view descriptions of existing attributes.
4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5 | "version": "0.2.0",
6 | "configurations": [
7 | {
8 | "name": "Flutter",
9 | "request": "launch",
10 | "type": "dart",
11 | "flutterMode": "debug"
12 | }
13 | ]
14 | }
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |

2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | 斗鱼Flutter
10 |
11 | flutter重构的斗鱼直播APP
12 | 首页、娱乐为Material组件;直播间、鱼吧为纯自定义编写。
13 | 另外整合各类优质的第三方开源库,打造出原生APP丝滑的用户体验
14 | 尽可能接入更多功能,方法附带注释,帮助你在使用flutter进行开发新的应用提供实用的借鉴案例
15 |
16 | #### APP截图:
17 |
18 |
19 |
20 |
21 | |
22 |
23 |
24 | |
25 |
26 |
27 | |
28 |
29 |
30 |
31 |
32 | |
33 |
34 |
35 | |
36 |
37 |
38 | |
39 |
40 |
41 |
42 |
43 | |
44 |
45 |
46 | |
47 |
48 |
49 | |
50 |
51 |
52 |
53 |
54 | |
55 |
56 |
57 | |
58 |
59 |
60 | |
61 |
62 |
63 |
64 | #### 包含功能:
65 | - 启动页广告位
66 | - 开播列表上拉加载、下拉刷新、返回顶部
67 | - 列表图片缓存加载优化
68 | - 渐进式头部动画
69 | - 底部导航切换保存页面状态
70 | - HTTP缓存、IO缓存
71 | - 直播间webSocket消息弹幕、礼物
72 | - 页面路由传值
73 | - RxDart全局消息通信封装
74 | - Bloc流式状态管理(启动页预加载首页数据)
75 | - 礼物横幅动画队列
76 | - 礼物特效全屏lottie
77 | - 弹幕消息滚动
78 | - 静态视频流
79 | - 九宫格抽奖游戏
80 | - 照片选择器
81 | - 全屏、半屏webView
82 | - 鱼吧头部手势动画
83 | - 仿微信朋友圈图片控件
84 | - 登录注册弹窗
85 | - 国家区号列表(仿微信通讯录滑动首字母定位)
86 | - 二维码扫码
87 | - 本地通知推送
88 | - ...
89 | - 持续增加中
90 |
91 | #### 本地调试:
92 | `flutter run --release`打包发布版本预览
93 | APP所有数据均来源Mock网络请求,服务端接口没有上云,可修改`lib/base.dart`中`DYBase.baseHost`为你的电脑IP,并确保手机与电脑在同一局域网且能访问内网`1236`端口
94 | 然后clone[服务端仓库](https://github.com/yukilzw/factory),Mock服务为`python tornado`,两种简单启动方式可选:
95 | 1. 在py 3.6~3.8下启动服务
96 | - 安装`python3.6`环境;
97 | - cmd切换运行环境`cd ./tornado`;
98 | - 加载依赖包 `pip install -r requirements.txt`;
99 | - 启动服务`python main.py`
100 | 2. 使用Docker镜像,具体方式参考该项目说明。
101 |
102 | 安卓打包可能因为国内无法加载gradle的问题,就算配了镜像也很慢,建议手动下载`grdle-6.4.1-all.zip`版本再构建,下载安装可见[此文章](https://www.cnblogs.com/yehuabin/p/10344713.html)
103 |
104 | #### 入门推荐:
105 | [Dart语法](https://www.dartcn.com/guides/get-started) - 语法中文教程
106 | [Flutter中文网](https://flutterchina.club/get-started/install/) - 简单易懂的入门教程
107 | [Flutter实战](https://book.flutterchina.club/) - 较为全面的进阶教程
108 | [Dart SDK(EN)](https://api.dartlang.org/stable/2.4.0/index.html) - flutter中可用的SDK
109 | [Flutter官网(EN)](https://flutter.dev/docs) - 可查阅全部的API与SDK相关
110 | [Bloc(EN)](https://felangel.github.io/bloc/#/gettingstarted) - 全局状态管理
111 |
112 | #### dy_flutter为个人开源项目,仅用作学习实践
113 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
9 | # Remember to never publicly share your keystore.
10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11 | key.properties
12 |
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | def localProperties = new Properties()
2 | def localPropertiesFile = rootProject.file('local.properties')
3 | if (localPropertiesFile.exists()) {
4 | localPropertiesFile.withReader('UTF-8') { reader ->
5 | localProperties.load(reader)
6 | }
7 | }
8 |
9 | def flutterRoot = localProperties.getProperty('flutter.sdk')
10 | if (flutterRoot == null) {
11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12 | }
13 |
14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15 | if (flutterVersionCode == null) {
16 | flutterVersionCode = '1'
17 | }
18 |
19 | def flutterVersionName = localProperties.getProperty('flutter.versionName')
20 | if (flutterVersionName == null) {
21 | flutterVersionName = '1.0'
22 | }
23 |
24 | apply plugin: 'com.android.application'
25 | apply plugin: 'kotlin-android'
26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27 |
28 | android {
29 | compileSdkVersion 29
30 |
31 | sourceSets {
32 | main.java.srcDirs += 'src/main/kotlin'
33 | }
34 |
35 | lintOptions {
36 | disable 'InvalidPackage'
37 | }
38 |
39 | defaultConfig {
40 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
41 | applicationId "com.example.dy_flutter"
42 | minSdkVersion 18
43 | targetSdkVersion 29
44 | versionCode flutterVersionCode.toInteger()
45 | versionName flutterVersionName
46 | multiDexEnabled true
47 | }
48 |
49 | buildTypes {
50 | release {
51 | // TODO: Add your own signing config for the release build.
52 | // Signing with the debug keys for now, so `flutter run --release` works.
53 | signingConfig signingConfigs.debug
54 | }
55 | }
56 | }
57 |
58 | flutter {
59 | source '../..'
60 | }
61 |
62 | dependencies {
63 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
64 | implementation 'com.android.support:multidex:1.0.3'
65 | }
66 |
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
14 |
20 |
27 |
31 |
35 |
40 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
52 |
55 |
56 |
57 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/com/example/dy_flutter/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.example.dy_flutter
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity: FlutterActivity() {
6 | }
7 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/dy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/android/app/src/main/res/mipmap-hdpi/dy.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/dy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/android/app/src/main/res/mipmap-mdpi/dy.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/dy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/android/app/src/main/res/mipmap-xhdpi/dy.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/dy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/android/app/src/main/res/mipmap-xxhdpi/dy.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/dy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/android/app/src/main/res/mipmap-xxxhdpi/dy.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.3.50'
3 | repositories {
4 | // google()
5 | // jcenter()
6 | maven { url 'https://maven.aliyun.com/repository/google' }
7 | // maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
8 | maven {url 'http://download.flutter.io'}
9 | maven { url 'https://maven.aliyun.com/repository/jcenter' }
10 | maven { url 'https://maven.aliyun.com/repository/public' }
11 | }
12 |
13 | dependencies {
14 | classpath 'com.android.tools.build:gradle:3.5.0'
15 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
16 | }
17 | }
18 |
19 | allprojects {
20 | repositories {
21 | // google()
22 | // jcenter()
23 | maven { url 'https://maven.aliyun.com/repository/google' }
24 | // maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
25 | maven {url 'http://download.flutter.io'}
26 | maven { url 'https://maven.aliyun.com/repository/jcenter' }
27 | maven { url 'https://maven.aliyun.com/repository/public' }
28 | }
29 | }
30 |
31 | rootProject.buildDir = '../build'
32 | subprojects {
33 | project.buildDir = "${rootProject.buildDir}/${project.name}"
34 | }
35 | subprojects {
36 | project.evaluationDependsOn(':app')
37 | }
38 |
39 | task clean(type: Delete) {
40 | delete rootProject.buildDir
41 | }
42 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.useAndroidX=true
3 | android.enableJetifier=true
4 | android.enableR8=true
5 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Jun 23 08:50:38 CEST 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.4.1-all.zip
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
4 | def properties = new Properties()
5 |
6 | assert localPropertiesFile.exists()
7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
8 |
9 | def flutterSdkPath = properties.getProperty("flutter.sdk")
10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
12 |
--------------------------------------------------------------------------------
/android/settings_aar.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/dy_flutter.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/images/back.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/back.webp
--------------------------------------------------------------------------------
/images/bar/boy.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/bar/boy.webp
--------------------------------------------------------------------------------
/images/bar/chat-add.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/bar/chat-add.jpg
--------------------------------------------------------------------------------
/images/bar/chat-share.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/bar/chat-share.jpg
--------------------------------------------------------------------------------
/images/bar/chat-star-act.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/bar/chat-star-act.webp
--------------------------------------------------------------------------------
/images/bar/chat-star.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/bar/chat-star.jpg
--------------------------------------------------------------------------------
/images/bar/day-title.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/bar/day-title.png
--------------------------------------------------------------------------------
/images/bar/girl.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/bar/girl.webp
--------------------------------------------------------------------------------
/images/bar/hot-chat.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/bar/hot-chat.jpg
--------------------------------------------------------------------------------
/images/bar/hot-title.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/bar/hot-title.png
--------------------------------------------------------------------------------
/images/bar/pull-icon.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/bar/pull-icon.webp
--------------------------------------------------------------------------------
/images/bar/tab-0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/bar/tab-0.png
--------------------------------------------------------------------------------
/images/bar/tab-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/bar/tab-1.png
--------------------------------------------------------------------------------
/images/bar/tab-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/bar/tab-2.png
--------------------------------------------------------------------------------
/images/bar/usefulSelect.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/bar/usefulSelect.webp
--------------------------------------------------------------------------------
/images/broadcast.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/broadcast.webp
--------------------------------------------------------------------------------
/images/cate/tab-0.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/cate/tab-0.webp
--------------------------------------------------------------------------------
/images/cate/tab-1.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/cate/tab-1.webp
--------------------------------------------------------------------------------
/images/cate/tab-10.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/cate/tab-10.webp
--------------------------------------------------------------------------------
/images/cate/tab-2.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/cate/tab-2.webp
--------------------------------------------------------------------------------
/images/cate/tab-3.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/cate/tab-3.webp
--------------------------------------------------------------------------------
/images/cate/tab-4.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/cate/tab-4.webp
--------------------------------------------------------------------------------
/images/cate/tab-5.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/cate/tab-5.webp
--------------------------------------------------------------------------------
/images/cate/tab-6.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/cate/tab-6.webp
--------------------------------------------------------------------------------
/images/cate/tab-7.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/cate/tab-7.webp
--------------------------------------------------------------------------------
/images/cate/tab-8.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/cate/tab-8.webp
--------------------------------------------------------------------------------
/images/cate/tab-9.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/cate/tab-9.webp
--------------------------------------------------------------------------------
/images/cate/tab.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/cate/tab.webp
--------------------------------------------------------------------------------
/images/cfk.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/cfk.webp
--------------------------------------------------------------------------------
/images/change.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/change.png
--------------------------------------------------------------------------------
/images/cjf.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/cjf.webp
--------------------------------------------------------------------------------
/images/cqe.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/cqe.webp
--------------------------------------------------------------------------------
/images/default-avatar.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/default-avatar.webp
--------------------------------------------------------------------------------
/images/dg.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/dg.webp
--------------------------------------------------------------------------------
/images/dg0.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/dg0.webp
--------------------------------------------------------------------------------
/images/float-icon.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/float-icon.webp
--------------------------------------------------------------------------------
/images/fun_home_pull_down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/fun_home_pull_down.png
--------------------------------------------------------------------------------
/images/gift-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/gift-1.png
--------------------------------------------------------------------------------
/images/gift-banner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/gift-banner.png
--------------------------------------------------------------------------------
/images/gift-x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/gift-x.png
--------------------------------------------------------------------------------
/images/gift.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/gift.png
--------------------------------------------------------------------------------
/images/head/camera.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/head/camera.webp
--------------------------------------------------------------------------------
/images/head/chat.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/head/chat.webp
--------------------------------------------------------------------------------
/images/head/dylogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/head/dylogo.png
--------------------------------------------------------------------------------
/images/head/game.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/head/game.webp
--------------------------------------------------------------------------------
/images/head/history.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/head/history.webp
--------------------------------------------------------------------------------
/images/head/search.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/head/search.webp
--------------------------------------------------------------------------------
/images/hot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/hot.png
--------------------------------------------------------------------------------
/images/init_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/init_icon.png
--------------------------------------------------------------------------------
/images/init_logo.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/init_logo.webp
--------------------------------------------------------------------------------
/images/login/close.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/login/close.webp
--------------------------------------------------------------------------------
/images/login/lock.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/login/lock.webp
--------------------------------------------------------------------------------
/images/login/member.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/login/member.webp
--------------------------------------------------------------------------------
/images/login/qq.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/login/qq.webp
--------------------------------------------------------------------------------
/images/login/safe.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/login/safe.webp
--------------------------------------------------------------------------------
/images/login/syn.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/login/syn.webp
--------------------------------------------------------------------------------
/images/login/weibo.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/login/weibo.webp
--------------------------------------------------------------------------------
/images/login/wx.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/login/wx.webp
--------------------------------------------------------------------------------
/images/lv/3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/lv/3.png
--------------------------------------------------------------------------------
/images/lv/30.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/lv/30.png
--------------------------------------------------------------------------------
/images/lv/50.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/lv/50.png
--------------------------------------------------------------------------------
/images/lv/80.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/lv/80.png
--------------------------------------------------------------------------------
/images/member.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/member.png
--------------------------------------------------------------------------------
/images/nav/nav-11.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/nav/nav-11.jpg
--------------------------------------------------------------------------------
/images/nav/nav-12.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/nav/nav-12.jpg
--------------------------------------------------------------------------------
/images/nav/nav-21.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/nav/nav-21.jpg
--------------------------------------------------------------------------------
/images/nav/nav-22.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/nav/nav-22.jpg
--------------------------------------------------------------------------------
/images/nav/nav-31.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/nav/nav-31.jpg
--------------------------------------------------------------------------------
/images/nav/nav-32.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/nav/nav-32.jpg
--------------------------------------------------------------------------------
/images/nav/nav-41.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/nav/nav-41.jpg
--------------------------------------------------------------------------------
/images/nav/nav-42.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/nav/nav-42.jpg
--------------------------------------------------------------------------------
/images/nav/nav-51.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/nav/nav-51.jpg
--------------------------------------------------------------------------------
/images/nav/nav-52.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/nav/nav-52.jpg
--------------------------------------------------------------------------------
/images/num/0.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/num/0.webp
--------------------------------------------------------------------------------
/images/num/1.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/num/1.webp
--------------------------------------------------------------------------------
/images/num/2.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/num/2.webp
--------------------------------------------------------------------------------
/images/num/3.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/num/3.webp
--------------------------------------------------------------------------------
/images/num/4.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/num/4.webp
--------------------------------------------------------------------------------
/images/num/5.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/num/5.webp
--------------------------------------------------------------------------------
/images/num/6.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/num/6.webp
--------------------------------------------------------------------------------
/images/num/7.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/num/7.webp
--------------------------------------------------------------------------------
/images/num/8.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/num/8.webp
--------------------------------------------------------------------------------
/images/num/9.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/num/9.webp
--------------------------------------------------------------------------------
/images/pic-default.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/pic-default.jpg
--------------------------------------------------------------------------------
/images/play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/play.png
--------------------------------------------------------------------------------
/images/shayuniang.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/shayuniang.png
--------------------------------------------------------------------------------
/images/show-area.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/images/show-area.webp
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | *.mode1v3
2 | *.mode2v3
3 | *.moved-aside
4 | *.pbxuser
5 | *.perspectivev3
6 | **/*sync/
7 | .sconsign.dblite
8 | .tags*
9 | **/.vagrant/
10 | **/DerivedData/
11 | Icon?
12 | **/Pods/
13 | **/.symlinks/
14 | profile
15 | xcuserdata
16 | **/.generated/
17 | Flutter/App.framework
18 | Flutter/Flutter.framework
19 | Flutter/Flutter.podspec
20 | Flutter/Generated.xcconfig
21 | Flutter/app.flx
22 | Flutter/app.zip
23 | Flutter/flutter_assets/
24 | Flutter/flutter_export_environment.sh
25 | ServiceDefinitions.json
26 | Runner/GeneratedPluginRegistrant.*
27 |
28 | # Exceptions to above rules.
29 | !default.mode1v3
30 | !default.mode2v3
31 | !default.pbxuser
32 | !default.perspectivev3
33 |
--------------------------------------------------------------------------------
/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 8.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/ios/Flutter/flutter_export_environment.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | # This is a generated file; do not edit or check into version control.
3 | export "FLUTTER_ROOT=/Users/liuzhanwei/flutter"
4 | export "FLUTTER_APPLICATION_PATH=/Users/liuzhanwei/yukilzw/dy_flutter"
5 | export "FLUTTER_TARGET=/Users/liuzhanwei/yukilzw/dy_flutter/lib/main.dart"
6 | export "FLUTTER_BUILD_DIR=build"
7 | export "SYMROOT=${SOURCE_ROOT}/../build/ios"
8 | export "FLUTTER_BUILD_NAME=1.2.0"
9 | export "FLUTTER_BUILD_NUMBER=1.2.0"
10 | export "DART_DEFINES=flutter.inspector.structuredErrors%3Dtrue"
11 | export "DART_OBFUSCATION=false"
12 | export "TRACK_WIDGET_CREATION=true"
13 | export "TREE_SHAKE_ICONS=false"
14 | export "PACKAGE_CONFIG=/Users/liuzhanwei/yukilzw/dy_flutter/.dart_tool/package_config.json"
15 |
--------------------------------------------------------------------------------
/ios/Podfile:
--------------------------------------------------------------------------------
1 | # Uncomment this line to define a global platform for your project
2 | # platform :ios, '9.0'
3 |
4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true'
6 |
7 | project 'Runner', {
8 | 'Debug' => :debug,
9 | 'Profile' => :release,
10 | 'Release' => :release,
11 | }
12 |
13 | def flutter_root
14 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
15 | unless File.exist?(generated_xcode_build_settings_path)
16 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
17 | end
18 |
19 | File.foreach(generated_xcode_build_settings_path) do |line|
20 | matches = line.match(/FLUTTER_ROOT\=(.*)/)
21 | return matches[1].strip if matches
22 | end
23 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
24 | end
25 |
26 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
27 |
28 | flutter_ios_podfile_setup
29 |
30 | target 'Runner' do
31 | use_frameworks!
32 | use_modular_headers!
33 |
34 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
35 | end
36 |
37 | post_install do |installer|
38 | installer.pods_project.targets.each do |target|
39 | flutter_additional_ios_build_settings(target)
40 | end
41 | end
42 |
--------------------------------------------------------------------------------
/ios/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - Flutter (1.0.0)
3 | - flutter_local_notifications (0.0.1):
4 | - Flutter
5 | - flutter_webview_plugin (0.0.1):
6 | - Flutter
7 | - fluttertoast (0.0.2):
8 | - Flutter
9 | - FMDB (2.7.5):
10 | - FMDB/standard (= 2.7.5)
11 | - FMDB/standard (2.7.5)
12 | - image_picker (0.0.1):
13 | - Flutter
14 | - path_provider (0.0.1):
15 | - Flutter
16 | - shared_preferences (0.0.1):
17 | - Flutter
18 | - sqflite (0.0.2):
19 | - Flutter
20 | - FMDB (>= 2.7.5)
21 | - video_player (0.0.1):
22 | - Flutter
23 |
24 | DEPENDENCIES:
25 | - Flutter (from `Flutter`)
26 | - flutter_local_notifications (from `.symlinks/plugins/flutter_local_notifications/ios`)
27 | - flutter_webview_plugin (from `.symlinks/plugins/flutter_webview_plugin/ios`)
28 | - fluttertoast (from `.symlinks/plugins/fluttertoast/ios`)
29 | - image_picker (from `.symlinks/plugins/image_picker/ios`)
30 | - path_provider (from `.symlinks/plugins/path_provider/ios`)
31 | - shared_preferences (from `.symlinks/plugins/shared_preferences/ios`)
32 | - sqflite (from `.symlinks/plugins/sqflite/ios`)
33 | - video_player (from `.symlinks/plugins/video_player/ios`)
34 |
35 | SPEC REPOS:
36 | trunk:
37 | - FMDB
38 |
39 | EXTERNAL SOURCES:
40 | Flutter:
41 | :path: Flutter
42 | flutter_local_notifications:
43 | :path: ".symlinks/plugins/flutter_local_notifications/ios"
44 | flutter_webview_plugin:
45 | :path: ".symlinks/plugins/flutter_webview_plugin/ios"
46 | fluttertoast:
47 | :path: ".symlinks/plugins/fluttertoast/ios"
48 | image_picker:
49 | :path: ".symlinks/plugins/image_picker/ios"
50 | path_provider:
51 | :path: ".symlinks/plugins/path_provider/ios"
52 | shared_preferences:
53 | :path: ".symlinks/plugins/shared_preferences/ios"
54 | sqflite:
55 | :path: ".symlinks/plugins/sqflite/ios"
56 | video_player:
57 | :path: ".symlinks/plugins/video_player/ios"
58 |
59 | SPEC CHECKSUMS:
60 | Flutter: 434fef37c0980e73bb6479ef766c45957d4b510c
61 | flutter_local_notifications: 0c0b1ae97e741e1521e4c1629a459d04b9aec743
62 | flutter_webview_plugin: ed9e8a6a96baf0c867e90e1bce2673913eeac694
63 | fluttertoast: b644586ef3b16f67fae9a1f8754cef6b2d6b634b
64 | FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
65 | image_picker: 9c3312491f862b28d21ecd8fdf0ee14e601b3f09
66 | path_provider: abfe2b5c733d04e238b0d8691db0cfd63a27a93c
67 | shared_preferences: af6bfa751691cdc24be3045c43ec037377ada40d
68 | sqflite: 6d358c025f5b867b29ed92fc697fd34924e11904
69 | video_player: 9cc823b1d9da7e8427ee591e8438bfbcde500e6e
70 |
71 | PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c
72 |
73 | COCOAPODS: 1.9.3
74 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
39 |
40 |
41 |
42 |
43 |
44 |
54 |
56 |
62 |
63 |
64 |
65 |
66 |
67 |
73 |
75 |
81 |
82 |
83 |
84 |
86 |
87 |
90 |
91 |
92 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @UIApplicationMain
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | if #available(iOS 10.0, *) {
12 | UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
13 | }
14 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 |
2 | {
3 | "images" : [
4 | {
5 | "idiom" : "iphone",
6 | "size" : "20x20",
7 | "filename" : "icon20x20@2x.png",
8 | "scale" : "2x"
9 | },
10 | {
11 | "idiom" : "iphone",
12 | "size" : "20x20",
13 | "filename" : "icon20x20@3x.png",
14 | "scale" : "3x"
15 | },
16 | {
17 | "size" : "29x29",
18 | "idiom" : "iphone",
19 | "filename" : "icon29x29.png",
20 | "scale" : "1x"
21 | },
22 | {
23 | "size" : "29x29",
24 | "idiom" : "iphone",
25 | "filename" : "icon29x29@2x.png",
26 | "scale" : "2x"
27 | },
28 | {
29 | "size" : "29x29",
30 | "idiom" : "iphone",
31 | "filename" : "icon29x29@3x.png",
32 | "scale" : "3x"
33 | },
34 | {
35 | "size" : "40x40",
36 | "idiom" : "iphone",
37 | "filename" : "icon40x40@2x.png",
38 | "scale" : "2x"
39 | },
40 | {
41 | "size" : "40x40",
42 | "idiom" : "iphone",
43 | "filename" : "icon40x40@3x.png",
44 | "scale" : "3x"
45 | },
46 | {
47 | "size" : "60x60",
48 | "idiom" : "iphone",
49 | "filename" : "icon60x60@2x.png",
50 | "scale" : "2x"
51 | },
52 | {
53 | "size" : "60x60",
54 | "idiom" : "iphone",
55 | "filename" : "icon60x60@3x.png",
56 | "scale" : "3x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "20x20",
61 | "filename" : "icon20x20.png",
62 | "scale" : "1x"
63 | },
64 | {
65 | "idiom" : "ipad",
66 | "size" : "20x20",
67 | "filename" : "icon20x20@2x.png",
68 | "scale" : "2x"
69 | },
70 | {
71 | "size" : "29x29",
72 | "idiom" : "ipad",
73 | "filename" : "icon29x29.png",
74 | "scale" : "1x"
75 | },
76 | {
77 | "size" : "29x29",
78 | "idiom" : "ipad",
79 | "filename" : "icon29x29@2x.png",
80 | "scale" : "2x"
81 | },
82 | {
83 | "size" : "40x40",
84 | "idiom" : "ipad",
85 | "filename" : "icon40x40.png",
86 | "scale" : "1x"
87 | },
88 | {
89 | "size" : "40x40",
90 | "idiom" : "ipad",
91 | "filename" : "icon40x40@2x.png",
92 | "scale" : "2x"
93 | },
94 | {
95 | "size" : "76x76",
96 | "idiom" : "ipad",
97 | "filename" : "icon76x76.png",
98 | "scale" : "1x"
99 | },
100 | {
101 | "size" : "76x76",
102 | "idiom" : "ipad",
103 | "filename" : "icon76x76@2x.png",
104 | "scale" : "2x"
105 | },
106 | {
107 | "size" : "83.5x83.5",
108 | "idiom" : "ipad",
109 | "filename" : "icon83.5x83.5@2x.png",
110 | "scale" : "2x"
111 | }
112 | ],
113 | "info" : {
114 | "version" : 1,
115 | "author" : "xcode"
116 | }
117 | }
118 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon20x20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon20x20.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon20x20@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon20x20@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon29x29.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon29x29.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon29x29@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon29x29@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon40x40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon40x40.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon40x40@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon40x40@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon60x60@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon60x60@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon76x76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon76x76.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon76x76@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/icon83.5x83.5@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchImage.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchImage@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "LaunchImage@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yukilzw/dy_flutter/53e1a3398c64f362110cc086044803e498394d6d/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | 斗鱼Flutter
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | $(FLUTTER_BUILD_NAME)
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | $(FLUTTER_BUILD_NUMBER)
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UISupportedInterfaceOrientations
30 |
31 | UIInterfaceOrientationPortrait
32 | UIInterfaceOrientationLandscapeLeft
33 | UIInterfaceOrientationLandscapeRight
34 |
35 | UISupportedInterfaceOrientations~ipad
36 |
37 | UIInterfaceOrientationPortrait
38 | UIInterfaceOrientationPortraitUpsideDown
39 | UIInterfaceOrientationLandscapeLeft
40 | UIInterfaceOrientationLandscapeRight
41 |
42 | UIViewControllerBasedStatusBarAppearance
43 |
44 | NSAppTransportSecurity
45 |
46 | NSAllowsArbitraryLoads
47 |
48 |
49 |
50 |
51 |
--------------------------------------------------------------------------------
/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/lib/base.dart:
--------------------------------------------------------------------------------
1 | library base;
2 | /*
3 | * @discripe: 全局公共类管理
4 | */
5 | import 'dart:ui';
6 |
7 | import 'package:flutter/material.dart';
8 | import 'package:flutter_screenutil/flutter_screenutil.dart';
9 |
10 | export 'bloc.dart';
11 | export 'rx.dart';
12 | export 'httpUrl.dart';
13 | export 'io.dart';
14 |
15 | // 所有Widget继承的抽象类
16 | abstract class DYBase {
17 | static final baseSchema = 'http';
18 | static final baseHost = '192.168.97.142';
19 | static final basePort = '1236';
20 | static final baseUrl = '${DYBase.baseSchema}://${DYBase.baseHost}:${DYBase.basePort}';
21 | // 默认斗鱼主题色
22 | static final defaultColor = Color(0xffff5d23);
23 | // 初始化设计稿尺寸
24 | static final double dessignWidth = 375.0;
25 | static final double dessignHeight = 1335.0;
26 |
27 | static final double statusBarHeight = MediaQueryData.fromWindow(window).padding.top;
28 |
29 | // flutter_screenutil px转dp
30 | num dp(double dessignValue) => ScreenUtil.getInstance().setWidth(dessignValue);
31 | }
--------------------------------------------------------------------------------
/lib/bloc.dart:
--------------------------------------------------------------------------------
1 | /*
2 | * @discripe: bloc全局状态管理
3 | */
4 | import 'package:bloc/bloc.dart';
5 |
6 | abstract class BlocObj {
7 | static final counter = CounterBloc();
8 | static final index = IndexBloc();
9 | }
10 |
11 | // 直播列表页码
12 | enum CounterEvent { increment, reset }
13 | class CounterBloc extends Bloc {
14 | CounterBloc() : super(1);
15 |
16 | @override
17 | Stream mapEventToState(CounterEvent event) async* {
18 | switch (event) {
19 | case CounterEvent.reset:
20 | yield 1;
21 | break;
22 | case CounterEvent.increment:
23 | yield state + 1;
24 | break;
25 | }
26 | }
27 | }
28 |
29 | // 启动页预加载首页信息
30 | abstract class IndexEvent {}
31 |
32 | class UpdateTab implements IndexEvent {
33 | final List tab;
34 | UpdateTab(this.tab);
35 | }
36 |
37 | class UpdateLiveData implements IndexEvent {
38 | final List liveData;
39 | UpdateLiveData(this.liveData);
40 | }
41 |
42 | class UpdateSwiper implements IndexEvent {
43 | final List swiper;
44 | UpdateSwiper(this.swiper);
45 | }
46 |
47 | class IndexBloc extends Bloc {
48 | IndexBloc() : super({
49 | 'nav': [],
50 | 'liveData': [],
51 | 'swiper': []
52 | });
53 |
54 | @override
55 | Stream