commit acd72c1d278a50cc1812442cd0f5059c11a8dc81
Author: toly <1981462002@qq.com>
Date: Fri Apr 17 07:28:08 2020 +0800
清除所有历史版本以减少仓库大小
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ee60ef6
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,37 @@
+# Miscellaneous
+*.class
+*.log
+*.pyc
+*.swp
+.DS_Store
+.atom/
+.buildlog/
+.history
+.svn/
+
+# 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/
+.dart_tool/
+.flutter-plugins
+.flutter-plugins-dependencies
+.packages
+.pub-cache/
+.pub/
+/build/
+/lib/tools/
+# Web related
+lib/generated_plugin_registrant.dart
+
+# Exceptions to above rules.
+!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
diff --git a/.metadata b/.metadata
new file mode 100644
index 0000000..01d2dcb
--- /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: 0b8abb4724aa590dd0f429683339b1e045a1594d
+ channel: stable
+
+project_type: app
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..a6e3089
--- /dev/null
+++ b/README.md
@@ -0,0 +1,184 @@
+### FlutterUnit apk 下载体验:
+
+
+
+
+---
+
+
+### 一、组件的展示页面
+
+#### 1. `200+组件收录`
+
+> Flutter源码中的可用的组件一共350个左右,纷繁复杂,也没有明确的分类标准
+FlutterUnit 对`大大小小,常用不常用`的组件能收的尽量收录。并`根据个人感觉进行评星 `
+`目前收录组件207个`,每个都有至少一个演示展现和代码展示。
+
+| . | . | . |
+|------|------------|------------|
+| | |  |
+|  |  | |
+
+
+---
+
+#### 2. 组件详情页
+
+> `207个组件`全部都有详情页。对于重要的组件会详细展现
+一般都会有某个演示对应的组件和属性,尽量做到细致,如果有需要补充,欢迎联系我。
+`最重要的是: 所有的演示展现都是Flutter的组件形成的,而非图片,这就意味着可操作性更高。`
+
+| . | . | . |
+|------|------------|------------|
+| | |  |
+|  |  ||
+|  |  ||
+
+
+
+
+
+
+---
+
+#### 3. 组件的可操作性
+
+> 对一些操作交互的组件或有可操作性的某些组件,`提供操作演示`
+
+| . | . | . |
+|------|------------|------------|
+| | | |
+|  |  ||
+
+---
+
+#### 4. 相关组件的关联切换
+> `相关组件通过link to 可以进行切换, 满足你的探索欲。`
+如果有的关联未加入,欢迎联系我,对我来说,加个数字就行了。
+
+
+
+| . | . | . |
+|------|------------|------------|
+||| |
+
+---
+
+#### 5. 代码的查看和分享
+> 激动人心的是,你可以通过右侧的图标`展开/隐藏 实现下面效果的代码`
+并且`支持分享`,如果你想亲自体验,so,easy ! 而且`代码高亮样式可以自定义`。
+
+| . | . | . |
+|------|------------|------------|
+| | | |
+
+
+---
+
+
+### 二、全局配置
+
+#### 1. 颜色主题
+> 只提供八种颜色,可在`右滑菜单页`的`我的主题`配置,`可以拓展`
+
+| . | . | . |
+|------|------------|------------|
+| |  |  |
+|  |  ||
+
+
+
+
+---
+
+
+#### 2.字体配置
+
+> 支持全局字体设置,`可以拓展`
+
+| . | . | . |
+|------|------------|------------|
+| |  | |
+
+---
+
+
+#### 3.item样式设置
+
+> 支持item样式设置,`可以拓展,支持征集`,详见`Flutter Unit 1.0 征集方案`
+
+| . | . | . |
+|------|------------|------------|
+|| | |
+
+---
+
+#### 4.代码面板风格设置
+
+> 支持代码风格设置,`可以拓展,支持征集`,详见`Flutter Unit 1.0 征集方案`
+
+| . | . |
+|------|------------|
+|| |
+ ||
+||
+
+
+---
+
+
+
+### 三、搜索与收藏功能
+
+
+#### 1.搜索功能
+
+> 由于Flutter中Widget比较杂乱,不太好分类,所以搜索是非常重要的
+另外可以根据星级进行过滤,支持多选。目前正在考虑根据功能分类,之后会有所完善。
+
+
+| . | . | . |
+|------|------------|------------|
+| | |  |
+
+---
+
+#### 2.搜藏功能
+
+> 搜藏页做得比较简陋,后面打算做收藏夹,可以自己创建的那种。
+
+| . | . | . |
+|------|------------|------------|
+||| |
+
+> `FlutterUnit 1.0 `目前基本就是这么多功能,可以在Github中下载打包后的apk玩玩
+希望能对你的Flutter学习有所帮助。
+
+---
+
+#### 3.关于我与项目
+> 不多说,都在图里。
+
+| . | . | . |
+|------|------------|------------|
+||| 
+|
+
+
+
+---
+
+### 四、FlutterUnit 2.0 展望
+
+> 后面将是一些集录,需要更多的Flutter爱好者参与,计划方案将陆续发布。
+
+| . | . |
+|------|------------|
+||  |
+ ||
+
+
+---
+
+
+> 最后,欢迎[Star和关注FlutterUnit](https://github.com/toly1994328/FlutterUnit) 的发展,让我们一起携手,成为Unit一员。
diff --git a/android/.gitignore b/android/.gitignore
new file mode 100644
index 0000000..82ed62c
--- /dev/null
+++ b/android/.gitignore
@@ -0,0 +1,8 @@
+gradle-wrapper.jar
+/.gradle
+/captures/
+/gradlew
+/gradlew.bat
+/local.properties
+/key.properties
+GeneratedPluginRegistrant.java
diff --git a/android/app/build.gradle b/android/app/build.gradle
new file mode 100644
index 0000000..e135c38
--- /dev/null
+++ b/android/app/build.gradle
@@ -0,0 +1,81 @@
+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 plugin: 'kotlin-android'
+apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
+
+//add------------------start
+def keystorePropertiesFile = rootProject.file("key.properties")
+def keystoreProperties = new Properties()
+keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
+//add------------------end
+
+android {
+ compileSdkVersion 28
+
+ sourceSets {
+ main.java.srcDirs += 'src/main/kotlin'
+ }
+
+ lintOptions {
+ disable 'InvalidPackage'
+ }
+
+ defaultConfig {
+ // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
+ applicationId "com.toly1994.flutter_unit"
+ minSdkVersion 16
+ targetSdkVersion 28
+ versionCode flutterVersionCode.toInteger()
+ versionName flutterVersionName
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ }
+
+ signingConfigs {
+ release {
+ keyAlias keystoreProperties['keyAlias']
+ keyPassword keystoreProperties['keyPassword']
+ storeFile file(keystoreProperties['storeFile'])
+ storePassword keystoreProperties['storePassword']
+ }
+ }
+ 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.release
+ }
+ }
+}
+
+flutter {
+ source '../..'
+}
+
+dependencies {
+ implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
+ testImplementation 'junit:junit:4.12'
+ androidTestImplementation 'androidx.test:runner:1.1.1'
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
+}
diff --git a/android/app/src/debug/AndroidManifest.xml b/android/app/src/debug/AndroidManifest.xml
new file mode 100644
index 0000000..db3bcba
--- /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..4d701f0
--- /dev/null
+++ b/android/app/src/main/AndroidManifest.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/android/app/src/main/kotlin/com/toly1994/flutter_unit/MainActivity.kt b/android/app/src/main/kotlin/com/toly1994/flutter_unit/MainActivity.kt
new file mode 100644
index 0000000..40bf860
--- /dev/null
+++ b/android/app/src/main/kotlin/com/toly1994/flutter_unit/MainActivity.kt
@@ -0,0 +1,12 @@
+package com.toly1994.flutter_unit
+
+import androidx.annotation.NonNull;
+import io.flutter.embedding.android.FlutterActivity
+import io.flutter.embedding.engine.FlutterEngine
+import io.flutter.plugins.GeneratedPluginRegistrant
+
+class MainActivity: FlutterActivity() {
+ override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) {
+ GeneratedPluginRegistrant.registerWith(flutterEngine);
+ }
+}
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..304732f
--- /dev/null
+++ b/android/app/src/main/res/drawable/launch_background.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 0000000..db77bb4
Binary files /dev/null and b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 0000000..17987b7
Binary files /dev/null and b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 0000000..09d4391
Binary files /dev/null and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 0000000..d5f1c8d
Binary files /dev/null and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-xxhdpi/logo.png b/android/app/src/main/res/mipmap-xxhdpi/logo.png
new file mode 100644
index 0000000..fe2a961
Binary files /dev/null and b/android/app/src/main/res/mipmap-xxhdpi/logo.png differ
diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 0000000..4d6372e
Binary files /dev/null and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
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..00fa441
--- /dev/null
+++ b/android/app/src/main/res/values/styles.xml
@@ -0,0 +1,8 @@
+
+
+
+
diff --git a/android/app/src/profile/AndroidManifest.xml b/android/app/src/profile/AndroidManifest.xml
new file mode 100644
index 0000000..db3bcba
--- /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..3100ad2
--- /dev/null
+++ b/android/build.gradle
@@ -0,0 +1,31 @@
+buildscript {
+ ext.kotlin_version = '1.3.50'
+ repositories {
+ google()
+ jcenter()
+ }
+
+ dependencies {
+ classpath 'com.android.tools.build:gradle:3.5.0'
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
+ }
+}
+
+allprojects {
+ repositories {
+ google()
+ jcenter()
+ }
+}
+
+rootProject.buildDir = '../build'
+subprojects {
+ project.buildDir = "${rootProject.buildDir}/${project.name}"
+}
+subprojects {
+ 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..38c8d45
--- /dev/null
+++ b/android/gradle.properties
@@ -0,0 +1,4 @@
+org.gradle.jvmargs=-Xmx1536M
+android.enableR8=true
+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..296b146
--- /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-5.6.2-all.zip
diff --git a/android/key.properties b/android/key.properties
new file mode 100644
index 0000000..4a650df
--- /dev/null
+++ b/android/key.properties
@@ -0,0 +1,4 @@
+storePassword=toly1994
+keyPassword=toly1994
+keyAlias=key
+storeFile=/Volumes/coder/file/key/toly.jks
\ No newline at end of file
diff --git a/android/settings.gradle b/android/settings.gradle
new file mode 100644
index 0000000..5a2f14f
--- /dev/null
+++ b/android/settings.gradle
@@ -0,0 +1,15 @@
+include ':app'
+
+def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()
+
+def plugins = new Properties()
+def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
+if (pluginsFile.exists()) {
+ pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) }
+}
+
+plugins.each { name, path ->
+ def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
+ include ":$name"
+ project(":$name").projectDir = pluginDirectory
+}
diff --git a/assets/flutter.db b/assets/flutter.db
new file mode 100644
index 0000000..033908c
Binary files /dev/null and b/assets/flutter.db differ
diff --git a/assets/fonts/BalooBhai2-Regular.ttf b/assets/fonts/BalooBhai2-Regular.ttf
new file mode 100644
index 0000000..21a9430
Binary files /dev/null and b/assets/fonts/BalooBhai2-Regular.ttf differ
diff --git a/assets/fonts/ComicNeue-Regular.ttf b/assets/fonts/ComicNeue-Regular.ttf
new file mode 100644
index 0000000..cbfed15
Binary files /dev/null and b/assets/fonts/ComicNeue-Regular.ttf differ
diff --git a/assets/fonts/Inconsolata-Regular.ttf b/assets/fonts/Inconsolata-Regular.ttf
new file mode 100644
index 0000000..18a0708
Binary files /dev/null and b/assets/fonts/Inconsolata-Regular.ttf differ
diff --git a/assets/fonts/IndieFlower-Regular.ttf b/assets/fonts/IndieFlower-Regular.ttf
new file mode 100644
index 0000000..1070aac
Binary files /dev/null and b/assets/fonts/IndieFlower-Regular.ttf differ
diff --git a/assets/fonts/Neucha-Regular.ttf b/assets/fonts/Neucha-Regular.ttf
new file mode 100644
index 0000000..a9b9158
Binary files /dev/null and b/assets/fonts/Neucha-Regular.ttf differ
diff --git a/assets/iconfont/icon_builder.dart b/assets/iconfont/icon_builder.dart
new file mode 100644
index 0000000..885f584
--- /dev/null
+++ b/assets/iconfont/icon_builder.dart
@@ -0,0 +1,48 @@
+import 'dart:io';
+
+import 'package:path/path.dart' as path;
+
+main() async{
+ var fontName ='TolyIcon';
+ var resDir="assets/iconfont";//资源文件夹
+ var outFile='lib/app/style/$fontName.dart';//输出文件地址
+
+ var result = """import 'package:flutter/widgets.dart';
+//Power By 张风捷特烈--- Generated file. Do not edit.
+
+class $fontName {
+
+ $fontName._();
+""";
+ var fileCss = File(path.join(Directory.current.path,"$resDir/iconfont.css"));
+ if (! await fileCss.exists()) return;
+
+ var read = await fileCss.readAsString();
+ var split = read.split(".icon-");
+ split.forEach((str) {
+ if (str.contains("before")) {
+ var split = str.split(":");
+ result += "static const IconData " +
+ split[0].replaceAll("-", "_") +
+ " = const IconData(" +
+ split[2].replaceAll("\"\\", "0x").split("\"")[0] +
+ ", fontFamily: \"$fontName\");\n";
+ }
+ });
+ result+="}";
+ fileCss.delete();//删除css文件
+
+ var fileOut = File(path.join(Directory.current.path,"$outFile"));
+ if(! await fileOut.exists()){
+ await fileOut.create(recursive: true);
+ }
+ fileOut.writeAsString(result);//将代码写入dart文件
+
+ var config="""
+ fonts:
+ - family: $fontName
+ fonts:
+ - asset: """+"$resDir/iconfont.ttf";
+
+ print("build OK:\n $config");
+}
\ No newline at end of file
diff --git a/assets/iconfont/iconfont.ttf b/assets/iconfont/iconfont.ttf
new file mode 100644
index 0000000..961ac27
Binary files /dev/null and b/assets/iconfont/iconfont.ttf differ
diff --git a/assets/images/caver.jpeg b/assets/images/caver.jpeg
new file mode 100755
index 0000000..5213cea
Binary files /dev/null and b/assets/images/caver.jpeg differ
diff --git a/assets/images/dart.jpg b/assets/images/dart.jpg
new file mode 100644
index 0000000..362e81c
Binary files /dev/null and b/assets/images/dart.jpg differ
diff --git a/assets/images/head_icon/icon_5.jpg b/assets/images/head_icon/icon_5.jpg
new file mode 100644
index 0000000..67f42e7
Binary files /dev/null and b/assets/images/head_icon/icon_5.jpg differ
diff --git a/assets/images/head_icon/icon_6.jpg b/assets/images/head_icon/icon_6.jpg
new file mode 100644
index 0000000..562a4f7
Binary files /dev/null and b/assets/images/head_icon/icon_6.jpg differ
diff --git a/assets/images/head_icon/icon_7.jpg b/assets/images/head_icon/icon_7.jpg
new file mode 100644
index 0000000..1d2788d
Binary files /dev/null and b/assets/images/head_icon/icon_7.jpg differ
diff --git a/assets/images/head_icon/icon_8.jpg b/assets/images/head_icon/icon_8.jpg
new file mode 100644
index 0000000..0850b12
Binary files /dev/null and b/assets/images/head_icon/icon_8.jpg differ
diff --git a/assets/images/icon_head.png b/assets/images/icon_head.png
new file mode 100755
index 0000000..e12afaa
Binary files /dev/null and b/assets/images/icon_head.png differ
diff --git a/assets/images/java.jpeg b/assets/images/java.jpeg
new file mode 100644
index 0000000..872333c
Binary files /dev/null and b/assets/images/java.jpeg differ
diff --git a/assets/images/kotlin.jpg b/assets/images/kotlin.jpg
new file mode 100644
index 0000000..fe48186
Binary files /dev/null and b/assets/images/kotlin.jpg differ
diff --git a/assets/images/leaf.png b/assets/images/leaf.png
new file mode 100644
index 0000000..5755c73
Binary files /dev/null and b/assets/images/leaf.png differ
diff --git a/assets/images/left_chat.png b/assets/images/left_chat.png
new file mode 100755
index 0000000..7460d5f
Binary files /dev/null and b/assets/images/left_chat.png differ
diff --git a/assets/images/pica.gif b/assets/images/pica.gif
new file mode 100644
index 0000000..6d2b050
Binary files /dev/null and b/assets/images/pica.gif differ
diff --git a/assets/images/right_chat.png b/assets/images/right_chat.png
new file mode 100755
index 0000000..299edbd
Binary files /dev/null and b/assets/images/right_chat.png differ
diff --git a/assets/images/sabar.jpg b/assets/images/sabar.jpg
new file mode 100644
index 0000000..10b7aee
Binary files /dev/null and b/assets/images/sabar.jpg differ
diff --git a/assets/images/sabar_bar.jpg b/assets/images/sabar_bar.jpg
new file mode 100644
index 0000000..410674d
Binary files /dev/null and b/assets/images/sabar_bar.jpg differ
diff --git a/assets/images/wechat.jpg b/assets/images/wechat.jpg
new file mode 100644
index 0000000..91cc16a
Binary files /dev/null and b/assets/images/wechat.jpg differ
diff --git a/assets/images/wei_x.jpg b/assets/images/wei_x.jpg
new file mode 100644
index 0000000..45c3c19
Binary files /dev/null and b/assets/images/wei_x.jpg differ
diff --git a/assets/images/widgets/ActionChip.png b/assets/images/widgets/ActionChip.png
new file mode 100644
index 0000000..b9ce8eb
Binary files /dev/null and b/assets/images/widgets/ActionChip.png differ
diff --git a/assets/images/widgets/Banner.png b/assets/images/widgets/Banner.png
new file mode 100644
index 0000000..f6c0288
Binary files /dev/null and b/assets/images/widgets/Banner.png differ
diff --git a/assets/images/widgets/Card.png b/assets/images/widgets/Card.png
new file mode 100644
index 0000000..4118c05
Binary files /dev/null and b/assets/images/widgets/Card.png differ
diff --git a/assets/images/widgets/CheckBoxListTile.png b/assets/images/widgets/CheckBoxListTile.png
new file mode 100644
index 0000000..ff650a1
Binary files /dev/null and b/assets/images/widgets/CheckBoxListTile.png differ
diff --git a/assets/images/widgets/Chip.png b/assets/images/widgets/Chip.png
new file mode 100644
index 0000000..252ccfe
Binary files /dev/null and b/assets/images/widgets/Chip.png differ
diff --git a/assets/images/widgets/ChoiceChip.png b/assets/images/widgets/ChoiceChip.png
new file mode 100644
index 0000000..d409c99
Binary files /dev/null and b/assets/images/widgets/ChoiceChip.png differ
diff --git a/assets/images/widgets/CircleAvatar.png b/assets/images/widgets/CircleAvatar.png
new file mode 100644
index 0000000..45c3e43
Binary files /dev/null and b/assets/images/widgets/CircleAvatar.png differ
diff --git a/assets/images/widgets/Container.png b/assets/images/widgets/Container.png
new file mode 100644
index 0000000..032eea2
Binary files /dev/null and b/assets/images/widgets/Container.png differ
diff --git a/assets/images/widgets/FadeInImage.png b/assets/images/widgets/FadeInImage.png
new file mode 100644
index 0000000..c11b3d3
Binary files /dev/null and b/assets/images/widgets/FadeInImage.png differ
diff --git a/assets/images/widgets/FilterChip.png b/assets/images/widgets/FilterChip.png
new file mode 100644
index 0000000..c9b93ce
Binary files /dev/null and b/assets/images/widgets/FilterChip.png differ
diff --git a/assets/images/widgets/FlutterLogo.png b/assets/images/widgets/FlutterLogo.png
new file mode 100644
index 0000000..479e095
Binary files /dev/null and b/assets/images/widgets/FlutterLogo.png differ
diff --git a/assets/images/widgets/GridTile.png b/assets/images/widgets/GridTile.png
new file mode 100644
index 0000000..731a278
Binary files /dev/null and b/assets/images/widgets/GridTile.png differ
diff --git a/assets/images/widgets/GridTileBar.png b/assets/images/widgets/GridTileBar.png
new file mode 100644
index 0000000..a043ed0
Binary files /dev/null and b/assets/images/widgets/GridTileBar.png differ
diff --git a/assets/images/widgets/Icon.png b/assets/images/widgets/Icon.png
new file mode 100644
index 0000000..4aea9bc
Binary files /dev/null and b/assets/images/widgets/Icon.png differ
diff --git a/assets/images/widgets/ImageIcon.png b/assets/images/widgets/ImageIcon.png
new file mode 100644
index 0000000..d458628
Binary files /dev/null and b/assets/images/widgets/ImageIcon.png differ
diff --git a/assets/images/widgets/InputChip.png b/assets/images/widgets/InputChip.png
new file mode 100644
index 0000000..a597e02
Binary files /dev/null and b/assets/images/widgets/InputChip.png differ
diff --git a/assets/images/widgets/ListTile.png b/assets/images/widgets/ListTile.png
new file mode 100644
index 0000000..9a2cfa7
Binary files /dev/null and b/assets/images/widgets/ListTile.png differ
diff --git a/assets/images/widgets/RadioListTile.png b/assets/images/widgets/RadioListTile.png
new file mode 100644
index 0000000..3aef662
Binary files /dev/null and b/assets/images/widgets/RadioListTile.png differ
diff --git a/assets/images/widgets/SwitchListTile.png b/assets/images/widgets/SwitchListTile.png
new file mode 100644
index 0000000..5cbcaa6
Binary files /dev/null and b/assets/images/widgets/SwitchListTile.png differ
diff --git a/assets/images/widgets/Text.png b/assets/images/widgets/Text.png
new file mode 100644
index 0000000..0c6fbe0
Binary files /dev/null and b/assets/images/widgets/Text.png differ
diff --git a/assets/images/widgets/UserAccountsDrawerHeader.png b/assets/images/widgets/UserAccountsDrawerHeader.png
new file mode 100644
index 0000000..ceaed63
Binary files /dev/null and b/assets/images/widgets/UserAccountsDrawerHeader.png differ
diff --git a/assets/images/widgets/Visibility.png b/assets/images/widgets/Visibility.png
new file mode 100644
index 0000000..8653677
Binary files /dev/null and b/assets/images/widgets/Visibility.png differ
diff --git a/assets/images/wy_200x300.jpg b/assets/images/wy_200x300.jpg
new file mode 100644
index 0000000..ce7c56b
Binary files /dev/null and b/assets/images/wy_200x300.jpg differ
diff --git a/assets/images/wy_300x200.jpg b/assets/images/wy_300x200.jpg
new file mode 100644
index 0000000..82ad407
Binary files /dev/null and b/assets/images/wy_300x200.jpg differ
diff --git a/assets/images/wy_300x200_filter.jpg b/assets/images/wy_300x200_filter.jpg
new file mode 100755
index 0000000..847a7ad
Binary files /dev/null and b/assets/images/wy_300x200_filter.jpg differ
diff --git a/assets/images/wy_30x20.jpg b/assets/images/wy_30x20.jpg
new file mode 100644
index 0000000..7795ad4
Binary files /dev/null and b/assets/images/wy_30x20.jpg differ
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..b30a428
--- /dev/null
+++ b/ios/Podfile
@@ -0,0 +1,90 @@
+# 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 parse_KV_file(file, separator='=')
+ file_abs_path = File.expand_path(file)
+ if !File.exists? file_abs_path
+ return [];
+ end
+ generated_key_values = {}
+ skip_line_start_symbols = ["#", "/"]
+ File.foreach(file_abs_path) do |line|
+ next if skip_line_start_symbols.any? { |symbol| line =~ /^\s*#{symbol}/ }
+ plugin = line.split(pattern=separator)
+ if plugin.length == 2
+ podname = plugin[0].strip()
+ path = plugin[1].strip()
+ podpath = File.expand_path("#{path}", file_abs_path)
+ generated_key_values[podname] = podpath
+ else
+ puts "Invalid plugin specification: #{line}"
+ end
+ end
+ generated_key_values
+end
+
+target 'Runner' do
+ use_frameworks!
+ use_modular_headers!
+
+ # Flutter Pod
+
+ copied_flutter_dir = File.join(__dir__, 'Flutter')
+ copied_framework_path = File.join(copied_flutter_dir, 'Flutter.framework')
+ copied_podspec_path = File.join(copied_flutter_dir, 'Flutter.podspec')
+ unless File.exist?(copied_framework_path) && File.exist?(copied_podspec_path)
+ # Copy Flutter.framework and Flutter.podspec to Flutter/ to have something to link against if the xcode backend script has not run yet.
+ # That script will copy the correct debug/profile/release version of the framework based on the currently selected Xcode configuration.
+ # CocoaPods will not embed the framework on pod install (before any build phases can generate) if the dylib does not exist.
+
+ generated_xcode_build_settings_path = File.join(copied_flutter_dir, 'Generated.xcconfig')
+ unless File.exist?(generated_xcode_build_settings_path)
+ raise "Generated.xcconfig must exist. If you're running pod install manually, make sure flutter pub get is executed first"
+ end
+ generated_xcode_build_settings = parse_KV_file(generated_xcode_build_settings_path)
+ cached_framework_dir = generated_xcode_build_settings['FLUTTER_FRAMEWORK_DIR'];
+
+ unless File.exist?(copied_framework_path)
+ FileUtils.cp_r(File.join(cached_framework_dir, 'Flutter.framework'), copied_flutter_dir)
+ end
+ unless File.exist?(copied_podspec_path)
+ FileUtils.cp(File.join(cached_framework_dir, 'Flutter.podspec'), copied_flutter_dir)
+ end
+ end
+
+ # Keep pod path relative so it can be checked into Podfile.lock.
+ pod 'Flutter', :path => 'Flutter'
+
+ # Plugin Pods
+
+ # Prepare symlinks folder. We use symlinks to avoid having Podfile.lock
+ # referring to absolute paths on developers' machines.
+ system('rm -rf .symlinks')
+ system('mkdir -p .symlinks/plugins')
+ plugin_pods = parse_KV_file('../.flutter-plugins')
+ plugin_pods.each do |name, path|
+ symlink = File.join('.symlinks', 'plugins', name)
+ File.symlink(path, symlink)
+ pod name, :path => File.join(symlink, 'ios')
+ end
+end
+
+# Prevent Cocoapods from embedding a second Flutter framework and causing an error with the new Xcode build system.
+install! 'cocoapods', :disable_input_output_paths => true
+
+post_install do |installer|
+ installer.pods_project.targets.each do |target|
+ target.build_configurations.each do |config|
+ config.build_settings['ENABLE_BITCODE'] = 'NO'
+ end
+ end
+end
diff --git a/ios/Podfile.lock b/ios/Podfile.lock
new file mode 100644
index 0000000..b379bb9
--- /dev/null
+++ b/ios/Podfile.lock
@@ -0,0 +1,31 @@
+PODS:
+ - Flutter (1.0.0)
+ - FMDB (2.7.5):
+ - FMDB/standard (= 2.7.5)
+ - FMDB/standard (2.7.5)
+ - sqflite (0.0.1):
+ - Flutter
+ - FMDB (~> 2.7.2)
+
+DEPENDENCIES:
+ - Flutter (from `Flutter`)
+ - sqflite (from `.symlinks/plugins/sqflite/ios`)
+
+SPEC REPOS:
+ trunk:
+ - FMDB
+
+EXTERNAL SOURCES:
+ Flutter:
+ :path: Flutter
+ sqflite:
+ :path: ".symlinks/plugins/sqflite/ios"
+
+SPEC CHECKSUMS:
+ Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
+ FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
+ sqflite: 4001a31ff81d210346b500c55b17f4d6c7589dd0
+
+PODFILE CHECKSUM: 1b66dae606f75376c5f2135a8290850eeb09ae83
+
+COCOAPODS: 1.8.4
diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj
new file mode 100644
index 0000000..7742cd1
--- /dev/null
+++ b/ios/Runner.xcodeproj/project.pbxproj
@@ -0,0 +1,584 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 05552E71DDEE1B210A67DBD4 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 70F3B239A93318DF93C8360D /* Pods_Runner.framework */; };
+ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
+ 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
+ 3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; };
+ 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
+ 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
+ 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; };
+ 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
+ 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 */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 10;
+ files = (
+ 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */,
+ 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */,
+ );
+ name = "Embed Frameworks";
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ 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 = ""; };
+ 33DC5F3DBC90F47343297D28 /* 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 = ""; };
+ 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
+ 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; };
+ 70F3B239A93318DF93C8360D /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+ 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
+ 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
+ 877C40FF2CB98D47D56F9EDA /* 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 = ""; };
+ 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 = ""; };
+ 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; };
+ 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 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 = ""; };
+ F3E5257BAD406E789F4D36B1 /* 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 = ""; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 97C146EB1CF9000F007C117D /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */,
+ 3B80C3941E831B6300D905FE /* App.framework in Frameworks */,
+ 05552E71DDEE1B210A67DBD4 /* Pods_Runner.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 02D8EC7DCA94EAA4A49FE3C6 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 70F3B239A93318DF93C8360D /* Pods_Runner.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "";
+ };
+ 9740EEB11CF90186004384FC /* Flutter */ = {
+ isa = PBXGroup;
+ children = (
+ 3B80C3931E831B6300D905FE /* App.framework */,
+ 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
+ 9740EEBA1CF902C7004384FC /* Flutter.framework */,
+ 9740EEB21CF90195004384FC /* Debug.xcconfig */,
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
+ 9740EEB31CF90195004384FC /* Generated.xcconfig */,
+ );
+ name = Flutter;
+ sourceTree = "";
+ };
+ 97C146E51CF9000F007C117D = {
+ isa = PBXGroup;
+ children = (
+ 9740EEB11CF90186004384FC /* Flutter */,
+ 97C146F01CF9000F007C117D /* Runner */,
+ 97C146EF1CF9000F007C117D /* Products */,
+ A408DD350F97C3364EAE65A1 /* Pods */,
+ 02D8EC7DCA94EAA4A49FE3C6 /* Frameworks */,
+ );
+ sourceTree = "";
+ };
+ 97C146EF1CF9000F007C117D /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 97C146EE1CF9000F007C117D /* Runner.app */,
+ );
+ name = Products;
+ sourceTree = "";
+ };
+ 97C146F01CF9000F007C117D /* Runner */ = {
+ isa = PBXGroup;
+ children = (
+ 97C146FA1CF9000F007C117D /* Main.storyboard */,
+ 97C146FD1CF9000F007C117D /* Assets.xcassets */,
+ 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
+ 97C147021CF9000F007C117D /* Info.plist */,
+ 97C146F11CF9000F007C117D /* Supporting Files */,
+ 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
+ 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
+ 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
+ 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
+ );
+ path = Runner;
+ sourceTree = "";
+ };
+ 97C146F11CF9000F007C117D /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ );
+ name = "Supporting Files";
+ sourceTree = "";
+ };
+ A408DD350F97C3364EAE65A1 /* Pods */ = {
+ isa = PBXGroup;
+ children = (
+ 877C40FF2CB98D47D56F9EDA /* Pods-Runner.debug.xcconfig */,
+ F3E5257BAD406E789F4D36B1 /* Pods-Runner.release.xcconfig */,
+ 33DC5F3DBC90F47343297D28 /* Pods-Runner.profile.xcconfig */,
+ );
+ name = Pods;
+ path = Pods;
+ sourceTree = "";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 97C146ED1CF9000F007C117D /* Runner */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
+ buildPhases = (
+ 42D53A7D2712838DCD2AB50C /* [CP] Check Pods Manifest.lock */,
+ 9740EEB61CF901F6004384FC /* Run Script */,
+ 97C146EA1CF9000F007C117D /* Sources */,
+ 97C146EB1CF9000F007C117D /* Frameworks */,
+ 97C146EC1CF9000F007C117D /* Resources */,
+ 9705A1C41CF9048500538489 /* Embed Frameworks */,
+ 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
+ 0C4E6FBEBC575BC370836E94 /* [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 = 1020;
+ ORGANIZATIONNAME = "The Chromium Authors";
+ TargetAttributes = {
+ 97C146ED1CF9000F007C117D = {
+ CreatedOnToolsVersion = 7.3.1;
+ LastSwiftMigration = 1100;
+ };
+ };
+ };
+ buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
+ compatibilityVersion = "Xcode 3.2";
+ 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 */
+ 0C4E6FBEBC575BC370836E94 /* [CP] Embed Pods Frameworks */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "[CP] Embed Pods Frameworks";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
+ showEnvVarsInLog = 0;
+ };
+ 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\" thin";
+ };
+ 42D53A7D2712838DCD2AB50C /* [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";
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 97C146EA1CF9000F007C117D /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 74858FAF1ED2DC5600515810 /* AppDelegate.swift 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;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ 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_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 = 8.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;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ 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.toly1994.flutterUnit;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
+ SWIFT_VERSION = 5.0;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Profile;
+ };
+ 97C147031CF9000F007C117D /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
+ 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_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 = 8.0;
+ MTL_ENABLE_DEBUG_INFO = YES;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ };
+ name = Debug;
+ };
+ 97C147041CF9000F007C117D /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ 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_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 = 8.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = iphoneos;
+ SUPPORTED_PLATFORMS = iphoneos;
+ SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ 97C147061CF9000F007C117D /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ 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.toly1994.flutterUnit;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ SWIFT_VERSION = 5.0;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Debug;
+ };
+ 97C147071CF9000F007C117D /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ 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.toly1994.flutterUnit;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
+ SWIFT_VERSION = 5.0;
+ 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/xcshareddata/xcschemes/Runner.xcscheme b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
new file mode 100644
index 0000000..a28140c
--- /dev/null
+++ b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
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/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..d36b1fa
--- /dev/null
+++ b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,122 @@
+{
+ "images" : [
+ {
+ "size" : "20x20",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-20x20@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-20x20@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-40x40@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-40x40@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-60x60@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-60x60@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-20x20@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-20x20@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-29x29@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-29x29@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-40x40@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-40x40@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-76x76@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-76x76@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "83.5x83.5",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-83.5x83.5@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "1024x1024",
+ "idiom" : "ios-marketing",
+ "filename" : "Icon-App-1024x1024@1x.png",
+ "scale" : "1x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
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/LaunchImage.imageset/Contents.json b/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
new file mode 100644
index 0000000..0bedcf2
--- /dev/null
+++ b/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
@@ -0,0 +1,23 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchImage.png",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchImage@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchImage@3x.png",
+ "scale" : "3x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
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..f3c2851
--- /dev/null
+++ b/ios/Runner/Base.lproj/Main.storyboard
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist
new file mode 100644
index 0000000..0954408
--- /dev/null
+++ b/ios/Runner/Info.plist
@@ -0,0 +1,45 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleExecutable
+ $(EXECUTABLE_NAME)
+ CFBundleIdentifier
+ $(PRODUCT_BUNDLE_IDENTIFIER)
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ flutter_unit
+ 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
+
+
+
diff --git a/ios/Runner/Runner-Bridging-Header.h b/ios/Runner/Runner-Bridging-Header.h
new file mode 100644
index 0000000..7335fdf
--- /dev/null
+++ b/ios/Runner/Runner-Bridging-Header.h
@@ -0,0 +1 @@
+#import "GeneratedPluginRegistrant.h"
\ No newline at end of file
diff --git a/lib/.gitignore b/lib/.gitignore
new file mode 100644
index 0000000..84ea85a
--- /dev/null
+++ b/lib/.gitignore
@@ -0,0 +1 @@
+/tools/
\ No newline at end of file
diff --git a/lib/app/convert.dart b/lib/app/convert.dart
new file mode 100644
index 0000000..d52c8bf
--- /dev/null
+++ b/lib/app/convert.dart
@@ -0,0 +1,30 @@
+import 'package:flutter_unit/app/enums.dart';
+
+/// create by 张风捷特烈 on 2020-03-07
+/// contact me by email 1981462002@qq.com
+/// 说明:
+
+class Convert {
+
+
+ static WidgetFamily toFamily(int id) {
+ switch (id) {
+ case 0:
+ return WidgetFamily.statelessWidget;
+ case 1:
+ return WidgetFamily.statefulWidget;
+ case 2:
+ return WidgetFamily.singleChildRenderObjectWidget;
+ case 3:
+ return WidgetFamily.multiChildRenderObjectWidget;
+ case 4:
+ return WidgetFamily.sliver;
+ case 5:
+ return WidgetFamily.proxyWidget;
+ case 6:
+ return WidgetFamily.other;
+ default:
+ return WidgetFamily.statelessWidget;
+ }
+ }
+}
diff --git a/lib/app/enums.dart b/lib/app/enums.dart
new file mode 100644
index 0000000..37a3338
--- /dev/null
+++ b/lib/app/enums.dart
@@ -0,0 +1,13 @@
+/// create by 张风捷特烈 on 2020-03-07
+/// contact me by email 1981462002@qq.com
+/// 说明:
+
+enum WidgetFamily {
+ statelessWidget,
+ statefulWidget,
+ singleChildRenderObjectWidget,
+ multiChildRenderObjectWidget,
+ sliver,
+ proxyWidget,
+ other,
+}
diff --git a/lib/app/res/cons.dart b/lib/app/res/cons.dart
new file mode 100644
index 0000000..050fa7e
--- /dev/null
+++ b/lib/app/res/cons.dart
@@ -0,0 +1,88 @@
+import 'package:flutter/material.dart';
+import 'package:flutter_unit/app/style/TolyIcon.dart';
+import 'package:flutter_unit/components/permanent/code/highlighter_style.dart';
+
+class Cons {
+ static String version = 'V1.0.0';
+
+ static const MENU_INFO = ["关于", "帮助", "问题反馈"]; //菜单栏
+ static const ICONS_MAP = {
+ //底栏图标
+ "图鉴": TolyIcon.icon_layout, "收藏": TolyIcon.icon_star,
+// "喜欢": Icons.favorite, "手册": Icons.class_,
+// "我的": Icons.account_circle,
+ };
+
+ static const rainbow = [
+ 0xffff0000,
+ 0xffFF7F00,
+ 0xffFFFF00,
+ 0xff00FF00,
+ 0xff00FFFF,
+ 0xff0000FF,
+ 0xff8B00FF
+ ];
+
+ static const tabColors = [
+ 0xff44D1FD,
+ 0xffFD4F43,
+ 0xffB375FF,
+ 0xFF4CAF50,
+ 0xFFFF9800,
+ 0xFF00F1F1,
+ 0xFFDBD83F
+ ];
+ static const tabs = [
+ 'Stles',
+ 'Stful',
+ 'Scrow',
+ 'Mcrow',
+ 'Sliver',
+ 'Proxy',
+ 'Other'
+ ]; //标题列表
+
+ static const fontFamilySupport = [
+ 'local',
+ 'ComicNeue',
+ 'IndieFlower',
+ 'BalooBhai2',
+ 'Inconsolata',
+ 'Neucha'
+ ];
+
+ static var codeThemeSupport = {
+ HighlighterStyle.fromColors(HighlighterStyle.gitHub):"GitHub - Power By 张风捷特烈",
+ HighlighterStyle.fromColors(HighlighterStyle.darkColor):"捷特黑 - Power By 张风捷特烈",
+ HighlighterStyle.fromColors(HighlighterStyle.lightColor):"捷特白 - Power By 张风捷特烈",
+ HighlighterStyle.fromColors(HighlighterStyle.zenburn):"zenburn - Power By 张风捷特烈",
+ HighlighterStyle.fromColors(HighlighterStyle.mf):"mf - Power By MF",
+ HighlighterStyle.fromColors(HighlighterStyle.solarized):"cst - Power By cst",
+ };
+
+
+ static final themeColorSupport = {
+ Colors.red: "毁灭之红",
+ Colors.orange: "愤怒之橙",
+ Colors.yellow: "警告之黄",
+ Colors.green: "伪装之绿",
+ Colors.blue: "冷漠之蓝",
+ Colors.indigo: "无限之靛",
+ Colors.purple: "神秘之紫",
+
+ MaterialColor(0xff2D2D2D, {
+ 50: Color(0xFF8A8A8A),
+ 100: Color(0xFF747474),
+ 200: Color(0xFF616161),
+ 300: Color(0xFF484848),
+ 400: Color(0xFF3D3D3D),
+ 500: Color(0xff2D2D2D),
+ 600: Color(0xFF252525),
+ 700: Color(0xFF141414),
+ 800: Color(0xFF050505),
+ 900: Color(0xff000000),
+ }): "归宿之黑"
+ };
+
+}
+
diff --git a/lib/app/res/sp.dart b/lib/app/res/sp.dart
new file mode 100644
index 0000000..b5aeb7d
--- /dev/null
+++ b/lib/app/res/sp.dart
@@ -0,0 +1,13 @@
+/// create by 张风捷特烈 on 2020-04-10
+/// contact me by email 1981462002@qq.com
+/// 说明:
+
+class SP{
+
+ static const themeColorIndex = 'theme_color_index';
+ static const showBackground = 'show_background';
+ static const fontFamily = 'font_family';
+ static const codeStyleIndex = 'code_style';
+ static const itemStyleIndex = 'item_style_index';
+
+}
\ No newline at end of file
diff --git a/lib/app/router.dart b/lib/app/router.dart
new file mode 100644
index 0000000..36a9c35
--- /dev/null
+++ b/lib/app/router.dart
@@ -0,0 +1,86 @@
+import 'package:flutter/material.dart';
+import 'package:flutter_unit/views/pages/about/about_me_page.dart';
+import 'package:flutter_unit/views/pages/about/about_app_page.dart';
+import 'package:flutter_unit/views/pages/search/serach_page.dart';
+import 'package:flutter_unit/views/pages/setting/code_style_setting.dart';
+import 'package:flutter_unit/views/pages/setting/font_setting.dart';
+import 'package:flutter_unit/views/pages/setting/item_style_setting.dart';
+import 'package:flutter_unit/views/pages/setting/theme_color_setting.dart';
+import 'package:flutter_unit/views/pages/unit_todo/attr_unit_page.dart';
+import 'package:flutter_unit/views/pages/unit_todo/bug_unit_page.dart';
+import 'package:flutter_unit/views/pages/collect/collect_page.dart';
+import 'package:flutter_unit/views/pages/detail/widget_detail_page.dart';
+import 'package:flutter_unit/views/pages/unit_todo/layout_unit_page.dart';
+import 'package:flutter_unit/views/pages/unit_todo/paint_unit_page.dart';
+import 'package:flutter_unit/views/pages/setting/setting_page.dart';
+import 'package:flutter_unit/views/pages/navigation/unit_navigation.dart';
+
+import 'utils/router_utils.dart';
+
+class Router {
+ static const String detail = 'detail';
+ static const String home = '/';
+ static const String logo = 'logo';
+ static const String search = 'search';
+ static const String nav = 'nav';
+ static const String widget_detail = 'WidgetDetail';
+ static const String collect = 'CollectPage';
+
+ static const String setting = 'SettingPage';
+ static const String font_setting = 'FountSettingPage';
+ static const String theme_color_setting = 'ThemeColorSettingPage';
+ static const String code_style_setting = 'CodeStyleSettingPage';
+ static const String item_style_setting = 'ItemStyleSettingPage';
+
+ static const String attr = 'AttrUnitPage';
+ static const String bug = 'BugUnitPage';
+ static const String paint = 'PaintUnitPage';
+ static const String layout = 'LayoutUnitPage';
+ static const String about_me = 'AboutMePage';
+ static const String about_app = 'AboutAppPage';
+
+ static Route generateRoute(RouteSettings settings) {
+ switch (settings.name) {
+ //根据名称跳转相应页面
+ case widget_detail:
+ return Right2LeftRouter(child: WidgetDetailPage());
+ case search:
+ return Right2LeftRouter(child: SearchPage());
+ case collect:
+ return Right2LeftRouter(child: CollectPage());
+ case nav:
+ return Left2RightRouter(child: UnitNavigation());
+ case setting:
+ return Right2LeftRouter(child: SettingPage());
+ case font_setting:
+ return Right2LeftRouter(child: FontSettingPage());
+ case theme_color_setting:
+ return Right2LeftRouter(child: ThemeColorSettingPage());
+ case code_style_setting:
+ return Right2LeftRouter(child: CodeStyleSettingPage());
+ case item_style_setting:
+ return Right2LeftRouter(child: ItemStyleSettingPage());
+
+ case attr:
+ return Right2LeftRouter(child: AttrUnitPage());
+ case bug:
+ return Right2LeftRouter(child: BugUnitPage());
+ case paint:
+ return Right2LeftRouter(child: PaintUnitPage());
+ case layout:
+ return Right2LeftRouter(child: LayoutUnitPage());
+ case about_app:
+ return Right2LeftRouter(child: AboutAppPage());
+ case about_me:
+ return Right2LeftRouter(child: AboutMePage());
+
+ default:
+ return MaterialPageRoute(
+ builder: (_) => Scaffold(
+ body: Center(
+ child: Text('No route defined for ${settings.name}'),
+ ),
+ ));
+ }
+ }
+}
diff --git a/lib/app/style/TolyIcon.dart b/lib/app/style/TolyIcon.dart
new file mode 100644
index 0000000..681afdc
--- /dev/null
+++ b/lib/app/style/TolyIcon.dart
@@ -0,0 +1,24 @@
+import 'package:flutter/widgets.dart';
+//Power By 张风捷特烈--- Generated file. Do not edit.
+
+class TolyIcon {
+
+ TolyIcon._();
+static const IconData icon_email = const IconData( 0xe694, fontFamily: "TolyIcon");
+static const IconData icon_github = const IconData( 0xe689, fontFamily: "TolyIcon");
+static const IconData icon_juejin = const IconData( 0xe601, fontFamily: "TolyIcon");
+static const IconData icon_share = const IconData( 0xe613, fontFamily: "TolyIcon");
+static const IconData icon_background = const IconData( 0xe60a, fontFamily: "TolyIcon");
+static const IconData icon_code = const IconData( 0xe70b, fontFamily: "TolyIcon");
+static const IconData icon_item = const IconData( 0xe66f, fontFamily: "TolyIcon");
+static const IconData icon_kafei = const IconData( 0xe6aa, fontFamily: "TolyIcon");
+static const IconData icon_tag = const IconData( 0xe6e7, fontFamily: "TolyIcon");
+static const IconData icon_them = const IconData( 0xe6c2, fontFamily: "TolyIcon");
+static const IconData icon_bug = const IconData( 0xe7af, fontFamily: "TolyIcon");
+static const IconData icon_layout = const IconData( 0xe631, fontFamily: "TolyIcon");
+static const IconData icon_sound = const IconData( 0xe606, fontFamily: "TolyIcon");
+static const IconData icon_search = const IconData( 0xe604, fontFamily: "TolyIcon");
+static const IconData icon_star_ok = const IconData( 0xe6ae, fontFamily: "TolyIcon");
+static const IconData icon_star = const IconData( 0xe609, fontFamily: "TolyIcon");
+static const IconData icon_star_add = const IconData( 0xe68e, fontFamily: "TolyIcon");
+}
\ No newline at end of file
diff --git a/lib/app/style/shape/coupon_shape_border.dart b/lib/app/style/shape/coupon_shape_border.dart
new file mode 100644
index 0000000..d58f1de
--- /dev/null
+++ b/lib/app/style/shape/coupon_shape_border.dart
@@ -0,0 +1,137 @@
+import 'dart:math';
+
+import 'package:flutter/material.dart';
+
+/// create by 张风捷特烈 on 2020-03-06
+/// contact me by email 1981462002@qq.com
+/// 说明:
+
+class CouponShapeBorder extends ShapeBorder {
+ final int holeCount;
+ final double lineRate;
+ final bool dash;
+ final bool hasLine;
+ final Color color;
+ final bool hasTopHole;
+ final bool hasBottomHole;
+ final double edgeRadius;
+
+ CouponShapeBorder(
+ {this.holeCount = 6,
+ this.hasTopHole =true,
+ this.hasBottomHole =false,
+ this.lineRate = 0.718,
+ this.dash = true,
+ this.hasLine = true,
+ this.color = Colors.white,this.edgeRadius});
+
+ @override
+ EdgeInsetsGeometry get dimensions => null;
+
+ @override
+ Path getInnerPath(Rect rect, {TextDirection textDirection}) {
+ return null;
+ }
+
+ @override
+ Path getOuterPath(Rect rect, {TextDirection textDirection}) {
+ var w = rect.width;
+ var h = rect.height;
+
+ var d = h / (1 + 2 * holeCount);
+
+ var path = Path();
+ path.addRect(rect);
+
+ _formHoldLeft(path, d);
+
+ _formHoldRight(path, w, d);
+ if (hasLine) {
+ _formHoleTop(path, rect, d);
+ _formHoleBottom(path, rect, d);
+ }
+ if(edgeRadius!=null){
+ if(hasTopHole){
+ _formHoleTop(path, rect, edgeRadius);
+ }
+ if(hasBottomHole){
+ _formHoleBottom(path, rect, edgeRadius);
+ }
+
+ }
+ path.fillType = PathFillType.evenOdd;
+
+ return path;
+ }
+
+ void _formHoleBottom(Path path, Rect rect, double d) {
+ path.addArc(
+ Rect.fromCenter(
+ center: Offset(lineRate * rect.width, rect.height),
+ width: d,
+ height: d),
+ pi,
+ pi);
+ }
+
+ void _formHoleTop(Path path, Rect rect, double d) {
+ path.addArc(
+ Rect.fromCenter(
+ center: Offset(lineRate * rect.width, 0), width: d, height: d),
+ 0,
+ pi);
+ }
+
+ _formHoldLeft(Path path, double d) {
+ for (int i = 0; i < holeCount; i++) {
+ var left = -d / 2;
+ var top = 0.0 + d + 2 * d * (i);
+ var right = left + d;
+ var bottom = top + d;
+ path.addArc(Rect.fromLTRB(left, top, right, bottom), -pi / 2, pi);
+ }
+ }
+
+ _formHoldRight(Path path, double w, double d) {
+ for (int i = 0; i < holeCount; i++) {
+ var left = -d / 2 + w;
+ var top = 0.0 + d + 2 * d * (i);
+ var right = left + d;
+ var bottom = top + d;
+ path.addArc(Rect.fromLTRB(left, top, right, bottom), pi / 2, pi);
+ }
+ }
+
+ @override
+ void paint(Canvas canvas, Rect rect, {TextDirection textDirection}) {
+ if(!hasLine) return;
+ var paint = Paint()
+ ..color = color
+ ..strokeWidth = 1.5
+ ..style = PaintingStyle.stroke
+ ..strokeJoin = StrokeJoin.round;
+ var d = rect.height / (1 + 2 * holeCount);
+ if (dash) {
+ _drawDashLine(canvas, Offset(lineRate * rect.width, d / 2),
+ rect.height / 16, rect.height - 13, paint);
+ } else {
+ canvas.drawLine(Offset(lineRate * rect.width, d / 2),
+ Offset(lineRate * rect.width, rect.height - d / 2), paint);
+ }
+ }
+
+ _drawDashLine(
+ Canvas canvas, Offset start, double count, double length, Paint paint) {
+ var step = length / count / 2;
+ for (int i = 0; i < count; i++) {
+ var offset = start + Offset(0, 2 * step * i);
+ canvas.drawLine(offset, offset + Offset(0, step), paint);
+ }
+ }
+
+ @override
+ ShapeBorder scale(double t) {
+ // TODO: implement scale
+ return null;
+ }
+}
diff --git a/lib/app/style/shape/techno_shape.dart b/lib/app/style/shape/techno_shape.dart
new file mode 100644
index 0000000..656f5bb
--- /dev/null
+++ b/lib/app/style/shape/techno_shape.dart
@@ -0,0 +1,89 @@
+import 'dart:math';
+
+import 'package:flutter/cupertino.dart';
+import 'package:flutter/material.dart';
+
+/// create by 张风捷特烈 on 2020-03-06
+/// contact me by email 1981462002@qq.com
+/// 说明: 打个洞
+/// offset 洞的偏移量分率 x,y 在 0~1 之间
+/// size 洞的大小
+
+class TechnoShapeBorder extends ShapeBorder {
+ final Path outLinePath = Path();
+ final Paint _paint = Paint();
+ final Path innerLinePath = Path();
+ final Path innerLinePathTop = Path();
+ final Color color;
+
+ final cornerWidth;
+
+ final spanWidth;
+ final storkWidth;
+ final innerRate;
+
+ TechnoShapeBorder(
+ {this.color = Colors.green,
+ this.cornerWidth = 10.0,
+ this.spanWidth = 2.5,
+ this.innerRate = 0.15,
+ this.storkWidth = 1.0}) {
+ _paint
+ ..color = color
+ ..strokeWidth = storkWidth;
+ }
+
+ @override
+ EdgeInsetsGeometry get dimensions => null;
+
+ @override
+ Path getInnerPath(Rect rect, {TextDirection textDirection}) {
+ var path = Path();
+ path.addRRect(RRect.fromRectAndRadius(rect, Radius.circular(5)));
+ return path;
+ }
+
+ @override
+ Path getOuterPath(Rect rect, {TextDirection textDirection}) {
+ outLinePath
+ ..moveTo(cornerWidth, 0)
+ ..lineTo(rect.width - cornerWidth, 0)
+ ..lineTo(rect.width, cornerWidth)
+ ..lineTo(rect.width, rect.height - cornerWidth)
+ ..lineTo(rect.width - cornerWidth, rect.height)
+ ..lineTo(cornerWidth, rect.height)
+ ..lineTo(0, rect.height - cornerWidth)
+ ..lineTo(0, cornerWidth)
+ ..close();
+ innerLinePath
+ ..moveTo(rect.width / 2, rect.height)
+ ..relativeLineTo(rect.width * innerRate, 0)
+ ..relativeLineTo(-spanWidth * 2, -spanWidth)
+ ..relativeLineTo(-rect.width * innerRate * 2, 0)
+ ..relativeLineTo(-spanWidth * 2, spanWidth)
+ ..close();
+ return Path.combine(PathOperation.difference, outLinePath, innerLinePath);
+ }
+
+ @override
+ void paint(Canvas canvas, Rect rect, {TextDirection textDirection}) {
+ canvas.drawPath(
+ Path.combine(PathOperation.difference, outLinePath, innerLinePath),
+ _paint..style = PaintingStyle.stroke);
+
+ innerLinePathTop
+ ..moveTo(rect.width / 2, 0)
+ ..relativeLineTo(rect.width * innerRate, 0)
+ ..relativeLineTo(-spanWidth * 2, spanWidth)
+ ..relativeLineTo(-rect.width * innerRate * 2, 0)
+ ..relativeLineTo(-spanWidth * 2, -spanWidth)
+ ..close();
+ canvas.drawPath(innerLinePathTop, _paint..style = PaintingStyle.fill);
+ }
+
+ @override
+ ShapeBorder scale(double t) {
+ // TODO: implement scale
+ return null;
+ }
+}
diff --git a/lib/app/utils/Toast.dart b/lib/app/utils/Toast.dart
new file mode 100644
index 0000000..054b566
--- /dev/null
+++ b/lib/app/utils/Toast.dart
@@ -0,0 +1,13 @@
+import 'package:flutter/cupertino.dart';
+import 'package:flutter/material.dart';
+
+class Toast {
+ static toast(BuildContext context, String msg,
+ {duration = const Duration(milliseconds: 600)}) {
+ Scaffold.of(context).showSnackBar(SnackBar(
+ content: Text(msg),
+ duration: duration,
+ backgroundColor: Theme.of(context).primaryColor,
+ ));
+ }
+}
diff --git a/lib/app/utils/color_utils.dart b/lib/app/utils/color_utils.dart
new file mode 100644
index 0000000..e10352c
--- /dev/null
+++ b/lib/app/utils/color_utils.dart
@@ -0,0 +1,86 @@
+import 'dart:math';
+
+import 'package:flutter/material.dart';
+
+import 'random_provider.dart';
+
+//Color randomColor(){/// 用来返回一个随机色
+//var random=Random();
+//var a = random.nextInt(256);//透明度值
+//var r = random.nextInt(256);//红值
+//var g = random.nextInt(256);//绿值
+//var b = random.nextInt(256);//蓝值
+//return Color.fromARGB(a, r, g, b);//生成argb模式的颜色
+//}
+
+//Color randomColor(int limitA){
+// var random=Random();
+// var a = limitA+random.nextInt(256-limitA);//透明度值
+// var r = random.nextInt(256);//红值
+// var g = random.nextInt(256);//绿值
+// var b = random.nextInt(256);//蓝值
+// return Color.fromARGB(a, r, g, b);//生成argb模式的颜色
+//}
+
+class ColorUtils {
+ static Color randomColor({
+ int limitA = 120,
+ int limitR = 0,
+ int limitG = 0,
+ int limitB = 0,
+ }) {
+ var random = RandomProvider.random;
+ var a = limitA + random.nextInt(256 - limitA); //透明度值
+ var r = limitR + random.nextInt(256 - limitR); //红值
+ var g = limitG + random.nextInt(256 - limitG); //绿值
+ var b = limitB + random.nextInt(256 - limitB); //蓝值
+ return Color.fromARGB(a, r, g, b); //生成argb模式的颜色
+ }
+
+
+ /// 使用方法:
+ /// var color1=ColorUtils.parse("#33428A43");
+ /// var color2=ColorUtils.parse("33428A43");
+ /// var color3=ColorUtils.parse("#428A43");
+ ///var color4=ColorUtils.parse("428A43");
+ ///
+ static Color parse(String code) {
+ Color result =Colors.red;
+ var value = 0 ;
+ if (code.contains("#")) {
+ try {
+ value = int.parse(code.substring(1), radix: 16);
+ } catch (e) {
+ print(e);
+ }
+ switch (code.length) {
+ case 1 + 6://6位
+ result = Color(value + 0xFF000000);
+ break;
+ case 1 + 8://8位
+ result = Color(value);
+ break;
+ default:
+ result =Colors.red;
+ }
+ }else {
+ try {
+ value = int.parse(code, radix: 16);
+ } catch (e) {
+ print(e);
+ }
+ switch (code.length) {
+ case 6:
+ result = Color(value + 0xFF000000);
+ break;
+ case 8:
+ result = Color(value);
+ break;
+ default:
+ result =Colors.red;
+ }
+ }
+ return result;
+ }
+}
+
diff --git a/lib/app/utils/pather.dart b/lib/app/utils/pather.dart
new file mode 100644
index 0000000..f4ed2dd
--- /dev/null
+++ b/lib/app/utils/pather.dart
@@ -0,0 +1,25 @@
+import 'dart:math';
+
+import 'package:flutter/cupertino.dart';
+
+class Pather {
+ Pather._();
+
+ static Pather create = Pather._();
+
+ Path _path = Path();
+
+ Path nStarPath(int num, double R, double r, {dx = 0, dy = 0}) {
+ _path.reset();//重置路径
+ double perRad = 2 * pi / num;//每份的角度
+ double radA = perRad / 2 / 2;//a角
+ double radB = 2 * pi / (num - 1) / 2 - radA / 2 + radA;//起始b角
+ _path.moveTo(cos(radA) * R + dx, -sin(radA) * R + dy);//移动到起点
+ for (int i = 0; i < num; i++) {//循环生成点,路径连至
+ _path.lineTo(cos(radA + perRad * i) * R + dx, -sin(radA + perRad * i) * R + dy);
+ _path.lineTo(cos(radB + perRad * i) * r + dx, -sin(radB + perRad * i) * r + dy);
+ }
+ _path.close();
+ return _path;
+ }
+}
diff --git a/lib/app/utils/random_provider.dart b/lib/app/utils/random_provider.dart
new file mode 100644
index 0000000..11239d8
--- /dev/null
+++ b/lib/app/utils/random_provider.dart
@@ -0,0 +1,7 @@
+import 'dart:math';
+
+class RandomProvider{
+ RandomProvider._();//私有化构造
+ static final _random= Random();
+ static get random =>_random;
+}
\ No newline at end of file
diff --git a/lib/app/utils/router_utils.dart b/lib/app/utils/router_utils.dart
new file mode 100644
index 0000000..9bce89c
--- /dev/null
+++ b/lib/app/utils/router_utils.dart
@@ -0,0 +1,163 @@
+import 'package:flutter/material.dart';
+
+//缩放路由动画
+class ScaleRouter extends PageRouteBuilder {
+ final Widget child;
+ final int durationMs;
+ final Curve curve;
+ ScaleRouter({this.child, this.durationMs = 500,this.curve=Curves.fastOutSlowIn})
+ : super(
+ pageBuilder: (context, animation, secondaryAnimation) => child,
+ transitionDuration: Duration(milliseconds: durationMs),
+ transitionsBuilder: (context, a1, a2, child) =>
+ ScaleTransition(
+ scale: Tween(begin: 0.0, end: 1.0).animate(
+ CurvedAnimation(parent: a1, curve: curve)),
+ child: child,
+ ),
+ );
+}
+//渐变透明路由动画
+class FadeRouter extends PageRouteBuilder {
+ final Widget child;
+ final int durationMs;
+ final Curve curve;
+ FadeRouter({this.child, this.durationMs = 500,this.curve=Curves.fastOutSlowIn})
+ : super(
+ pageBuilder: (context, animation, secondaryAnimation) => child,
+ transitionDuration: Duration(milliseconds: durationMs),
+ transitionsBuilder: (context, a1, a2, child) =>
+ FadeTransition(
+ opacity: Tween(begin: 0.1, end: 1.0).animate(
+ CurvedAnimation(parent: a1, curve:curve,)),
+ child: child,
+ ));
+}
+
+//旋转路由动画
+class RotateRouter extends PageRouteBuilder {
+ final Widget child;
+ final int durationMs;
+ final Curve curve;
+ RotateRouter({this.child, this.durationMs = 500,this.curve=Curves.fastOutSlowIn})
+ : super(
+ pageBuilder: (context, animation, secondaryAnimation) => child,
+ transitionDuration: Duration(milliseconds: durationMs),
+ transitionsBuilder: (context, a1, a2, child) =>
+ RotationTransition(
+ turns: Tween(begin: 0.1, end: 1.0).animate(
+ CurvedAnimation(parent: a1, curve:curve,)),
+ child: child,
+ ));
+}
+
+//右--->左
+class Right2LeftRouter extends PageRouteBuilder {
+ final Widget child;
+ final int durationMs;
+ final Curve curve;
+ Right2LeftRouter({this.child,this.durationMs=500,this.curve=Curves.fastOutSlowIn})
+ :super(
+ transitionDuration:Duration(milliseconds: durationMs),
+ pageBuilder:(ctx,a1,a2)=>child,
+ transitionsBuilder:(ctx,a1,a2, child,) =>
+ SlideTransition(
+ child: child,
+ position: Tween(
+ begin: Offset(1.0, 0.0), end: Offset(0.0, 0.0),).animate(
+ CurvedAnimation(parent: a1, curve: curve)),
+ ));
+}
+
+//左--->右
+class Left2RightRouter extends PageRouteBuilder {
+ final Widget child;
+ final int durationMs;
+ final Curve curve;
+ List mapper;
+ Left2RightRouter({this.child,this.durationMs=500,this.curve=Curves.fastOutSlowIn})
+ :assert(true),super(
+ transitionDuration:Duration(milliseconds: durationMs),
+ pageBuilder:(ctx,a1,a2){return child;},
+ transitionsBuilder:(ctx,a1,a2,child,) {
+ return SlideTransition(
+ position: Tween(
+ begin: Offset(-1.0, 0.0), end: Offset(0.0, 0.0),).animate(
+ CurvedAnimation(parent: a1, curve: curve)),
+ child: child
+ );
+ });
+}
+
+//上--->下
+class Top2BottomRouter extends PageRouteBuilder {
+ final Widget child;
+ final int durationMs;
+ final Curve curve;
+ Top2BottomRouter({this.child,this.durationMs=500,this.curve=Curves.fastOutSlowIn})
+ :super(
+ transitionDuration:Duration(milliseconds: durationMs),
+ pageBuilder:(ctx,a1,a2){return child;},
+ transitionsBuilder:(ctx,a1,a2, child,) {
+ return SlideTransition(
+ position: Tween(
+ begin: Offset(0.0,-1.0), end: Offset(0.0, 0.0),).animate(
+ CurvedAnimation(parent: a1, curve: curve)),
+ child: child
+ );
+ });
+}
+
+//下--->上
+class Bottom2TopRouter extends PageRouteBuilder {
+ final Widget child;
+ final int durationMs;
+ final Curve curve;
+ Bottom2TopRouter({this.child,this.durationMs=500,this.curve=Curves.fastOutSlowIn})
+ :super(
+ transitionDuration:Duration(milliseconds: durationMs),
+ pageBuilder:(ctx,a1,a2)=> child,
+ transitionsBuilder:(ctx,a1,a2, child,) {
+ return SlideTransition(
+ position: Tween(
+ begin: Offset(0.0, 1.0), end: Offset(0.0, 0.0),).animate(
+ CurvedAnimation(parent: a1, curve: curve)),
+ child: child
+ );
+ });
+}
+
+//缩放+透明+旋转路由动画
+class ScaleFadeRotateRouter extends PageRouteBuilder {
+ final Widget child;
+ final int durationMs;
+ final Curve curve;
+ ScaleFadeRotateRouter({this.child, this.durationMs = 1000,this.curve=Curves.fastOutSlowIn}) : super(
+ transitionDuration: Duration(milliseconds: durationMs),
+ pageBuilder: (ctx, a1, a2)=>child,//页面
+ transitionsBuilder: (ctx, a1, a2, Widget child,) =>
+ RotationTransition(//旋转动画
+ turns: Tween(begin: 0.0, end: 1.0).animate(CurvedAnimation(
+ parent: a1,
+ curve: curve,
+ )),
+ child: ScaleTransition(//缩放动画
+ scale: Tween(begin: 0.0, end: 1.0).animate(
+ CurvedAnimation(parent: a1, curve: curve)),
+ child: FadeTransition(opacity://透明度动画
+ Tween(begin: 0.5, end: 1.0).animate(CurvedAnimation(parent: a1, curve: curve)),
+ child: child,),
+ ),
+ ));
+}
+//无动画
+class NoAnimRouter extends PageRouteBuilder {
+ final Widget child;
+ NoAnimRouter({this.child})
+ : super(
+ opaque: false,
+ pageBuilder: (context, animation, secondaryAnimation) => child,
+ transitionDuration: Duration(milliseconds: 0),
+ transitionsBuilder:
+ (context, animation, secondaryAnimation, child) => child);
+}
diff --git a/lib/app/utils/toly_utils.dart b/lib/app/utils/toly_utils.dart
new file mode 100644
index 0000000..ea48a99
--- /dev/null
+++ b/lib/app/utils/toly_utils.dart
@@ -0,0 +1,3 @@
+library toly_utils;
+export 'color_utils.dart';
+export 'random_provider.dart';
diff --git a/lib/blocs/collect/collect_bloc.dart b/lib/blocs/collect/collect_bloc.dart
new file mode 100644
index 0000000..209638c
--- /dev/null
+++ b/lib/blocs/collect/collect_bloc.dart
@@ -0,0 +1,38 @@
+import 'package:equatable/equatable.dart';
+import 'package:flutter/cupertino.dart';
+import 'package:flutter_bloc/flutter_bloc.dart';
+import 'package:flutter_unit/storage/widget_dao.dart';
+import 'package:flutter_unit/repositorys/widget_repository.dart';
+
+import 'collect_event.dart';
+import 'collect_state.dart';
+
+/// create by 张风捷特烈 on 2020-04-07
+/// contact me by email 1981462002@qq.com
+/// 说明:
+
+
+
+class CollectBloc extends Bloc {
+ final WidgetRepository repository;
+
+ CollectBloc({@required this.repository});
+
+ @override
+ CollectState get initialState => CollectState(widgets: []); //初始状态
+
+ @override
+ Stream mapEventToState(
+ CollectEvent event,
+ ) async* {
+ if (event is ToggleCollectEvent) {
+ await repository.toggleCollect(event.id);
+ final widgets = await repository.loadCollectWidgets();
+ yield CollectState(widgets: widgets);
+ }
+ if( event is EventSetCollectData){
+ final widgets = await repository.loadCollectWidgets();
+ yield CollectState(widgets: widgets);
+ }
+ }
+}
diff --git a/lib/blocs/collect/collect_event.dart b/lib/blocs/collect/collect_event.dart
new file mode 100644
index 0000000..f351d4d
--- /dev/null
+++ b/lib/blocs/collect/collect_event.dart
@@ -0,0 +1,42 @@
+import 'package:equatable/equatable.dart';
+import 'package:flutter_unit/model/widget_model.dart';
+
+/// create by 张风捷特烈 on 2020-04-09
+/// contact me by email 1981462002@qq.com
+/// 说明:
+
+
+abstract class CollectEvent extends Equatable {}
+
+
+//class EventSetCollect extends CollectEvent {
+// final bool collect;
+//
+// EventSetCollect({this.collect});
+//
+// @override
+// // TODO: implement props
+// List