├── .gitignore
├── .metadata
├── .vscode
├── launch.json
└── settings.json
├── README.md
├── android
├── app
│ ├── build.gradle
│ └── src
│ │ ├── debug
│ │ └── AndroidManifest.xml
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── kotlin
│ │ │ └── la
│ │ │ │ └── zouna
│ │ │ │ └── messager
│ │ │ │ └── MainActivity.kt
│ │ └── res
│ │ │ ├── drawable
│ │ │ └── launch_background.xml
│ │ │ ├── mipmap-hdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ └── ic_launcher.png
│ │ │ └── values
│ │ │ └── styles.xml
│ │ └── profile
│ │ └── AndroidManifest.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
└── settings.gradle
├── assets
├── img1.jpg
├── img10.jpg
├── img11.jpg
├── img12.jpg
├── img13.jpg
├── img14.jpg
├── img15.jpg
├── img16.jpg
├── img2.jpg
├── img3.jpg
├── img4.jpg
├── img5.jpg
├── img6.jpg
├── img7.jpg
├── img8.jpg
└── img9.jpg
├── github-assets
├── Screenshot_1567244598.png
├── Screenshot_1567244610.png
├── Screenshot_1567244623.png
├── logo.png
└── official.png
├── ios
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ └── contents.xcworkspacedata
└── Runner
│ ├── AppDelegate.swift
│ ├── Assets.xcassets
│ ├── AppIcon.appiconset
│ │ ├── Contents.json
│ │ ├── Icon-App-1024x1024@1x.png
│ │ ├── Icon-App-20x20@1x.png
│ │ ├── Icon-App-20x20@2x.png
│ │ ├── Icon-App-20x20@3x.png
│ │ ├── Icon-App-29x29@1x.png
│ │ ├── Icon-App-29x29@2x.png
│ │ ├── Icon-App-29x29@3x.png
│ │ ├── Icon-App-40x40@1x.png
│ │ ├── Icon-App-40x40@2x.png
│ │ ├── Icon-App-40x40@3x.png
│ │ ├── Icon-App-60x60@2x.png
│ │ ├── Icon-App-60x60@3x.png
│ │ ├── Icon-App-76x76@1x.png
│ │ ├── Icon-App-76x76@2x.png
│ │ └── Icon-App-83.5x83.5@2x.png
│ └── LaunchImage.imageset
│ │ ├── Contents.json
│ │ ├── LaunchImage.png
│ │ ├── LaunchImage@2x.png
│ │ ├── LaunchImage@3x.png
│ │ └── README.md
│ ├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
│ ├── Info.plist
│ └── Runner-Bridging-Header.h
├── lib
├── board.dart
├── button.dart
├── common.dart
├── emojis.dart
├── images.dart
├── main.dart
├── messager.dart
├── route.dart
├── todo.dart
├── toolbar.dart
└── wrapper.dart
├── pubspec.lock
├── pubspec.yaml
└── test
└── widget_test.dart
/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 |
12 | # IntelliJ related
13 | *.iml
14 | *.ipr
15 | *.iws
16 | .idea/
17 |
18 | # The .vscode folder contains launch configuration and tasks you configure in
19 | # VS Code which you may wish to be included in version control, so this line
20 | # is commented out by default.
21 | #.vscode/
22 |
23 | # Flutter/Dart/Pub related
24 | **/doc/api/
25 | .dart_tool/
26 | .flutter-plugins
27 | .packages
28 | .pub-cache/
29 | .pub/
30 | /build/
31 |
32 | # Android related
33 | **/android/**/gradle-wrapper.jar
34 | **/android/.gradle
35 | **/android/captures/
36 | **/android/gradlew
37 | **/android/gradlew.bat
38 | **/android/local.properties
39 | **/android/**/GeneratedPluginRegistrant.java
40 |
41 | # iOS/XCode related
42 | **/ios/**/*.mode1v3
43 | **/ios/**/*.mode2v3
44 | **/ios/**/*.moved-aside
45 | **/ios/**/*.pbxuser
46 | **/ios/**/*.perspectivev3
47 | **/ios/**/*sync/
48 | **/ios/**/.sconsign.dblite
49 | **/ios/**/.tags*
50 | **/ios/**/.vagrant/
51 | **/ios/**/DerivedData/
52 | **/ios/**/Icon?
53 | **/ios/**/Pods/
54 | **/ios/**/.symlinks/
55 | **/ios/**/profile
56 | **/ios/**/xcuserdata
57 | **/ios/.generated/
58 | **/ios/Flutter/App.framework
59 | **/ios/Flutter/Flutter.framework
60 | **/ios/Flutter/Generated.xcconfig
61 | **/ios/Flutter/app.flx
62 | **/ios/Flutter/app.zip
63 | **/ios/Flutter/flutter_assets/
64 | **/ios/ServiceDefinitions.json
65 | **/ios/Runner/GeneratedPluginRegistrant.*
66 |
67 | # Exceptions to above rules.
68 | !**/ios/**/default.mode1v3
69 | !**/ios/**/default.mode2v3
70 | !**/ios/**/default.pbxuser
71 | !**/ios/**/default.perspectivev3
72 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
73 |
--------------------------------------------------------------------------------
/.metadata:
--------------------------------------------------------------------------------
1 | # This file tracks properties of this Flutter project.
2 | # Used by Flutter tool to assess capabilities and perform upgrades etc.
3 | #
4 | # This file should be version controlled and should not be manually edited.
5 |
6 | version:
7 | revision: 20e59316b8b8474554b38493b8ca888794b0234a
8 | channel: stable
9 |
10 | project_type: app
11 |
--------------------------------------------------------------------------------
/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // Use IntelliSense to learn about possible attributes.
3 | // Hover to view descriptions of existing attributes.
4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5 | "version": "0.2.0",
6 | "configurations": [
7 | {
8 | "name": "Flutter",
9 | "request": "launch",
10 | "type": "dart"
11 | }
12 | ]
13 | }
--------------------------------------------------------------------------------
/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.formatOnSave": true
3 | }
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | The project is maintained by a non-profit organisation, along with an amazing collections of Flutter samples. We're trying to make continuous commits for changes along with the Flutter tech progress.
4 |
5 | # The UX For Messager Design
6 |
7 | ---
8 |
9 | ## Goals for this sample
10 |
11 | - Shows a UI design for a social messager App(only send message page),something like Tik Tok(I like the UX).
12 | - The design based on [Rubber](https://github.com/mcrovero/rubber)
13 |
14 | # Screen Shots
15 |
16 |
17 |
18 |  |
19 |  |
20 |  |
21 |
22 |
23 |
24 | ---
25 |
26 | Welcome Contribute With Pull Request.
27 |
28 | ---
29 |
30 | [For Chinese,you can read this wechat official article](https://mp.weixin.qq.com/s/nyCp9KaWpMqyzVnbv_07Iw)
31 |
32 | ---
33 |
34 | # About
35 | 
36 |
37 |
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | def localProperties = new Properties()
2 | def localPropertiesFile = rootProject.file('local.properties')
3 | if (localPropertiesFile.exists()) {
4 | localPropertiesFile.withReader('UTF-8') { reader ->
5 | localProperties.load(reader)
6 | }
7 | }
8 |
9 | def flutterRoot = localProperties.getProperty('flutter.sdk')
10 | if (flutterRoot == null) {
11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12 | }
13 |
14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15 | if (flutterVersionCode == null) {
16 | flutterVersionCode = '1'
17 | }
18 |
19 | def flutterVersionName = localProperties.getProperty('flutter.versionName')
20 | if (flutterVersionName == null) {
21 | flutterVersionName = '1.0'
22 | }
23 |
24 | apply plugin: 'com.android.application'
25 | apply plugin: 'kotlin-android'
26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27 |
28 | android {
29 | compileSdkVersion 28
30 |
31 | sourceSets {
32 | main.java.srcDirs += 'src/main/kotlin'
33 | }
34 |
35 | lintOptions {
36 | disable 'InvalidPackage'
37 | }
38 |
39 | defaultConfig {
40 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
41 | applicationId "la.zouna.messager"
42 | minSdkVersion 16
43 | targetSdkVersion 28
44 | versionCode flutterVersionCode.toInteger()
45 | versionName flutterVersionName
46 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
47 | }
48 |
49 | buildTypes {
50 | release {
51 | // TODO: Add your own signing config for the release build.
52 | // Signing with the debug keys for now, so `flutter run --release` works.
53 | signingConfig signingConfigs.debug
54 | }
55 | }
56 | }
57 |
58 | flutter {
59 | source '../..'
60 | }
61 |
62 | dependencies {
63 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
64 | testImplementation 'junit:junit:4.12'
65 | androidTestImplementation 'com.android.support.test:runner:1.0.2'
66 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
67 | }
68 |
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
9 |
13 |
20 |
24 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/la/zouna/messager/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package la.zouna.messager
2 |
3 | import android.os.Bundle
4 |
5 | import io.flutter.app.FlutterActivity
6 | import io.flutter.plugins.GeneratedPluginRegistrant
7 |
8 | class MainActivity: FlutterActivity() {
9 | override fun onCreate(savedInstanceState: Bundle?) {
10 | super.onCreate(savedInstanceState)
11 | GeneratedPluginRegistrant.registerWith(this)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
--------------------------------------------------------------------------------
/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.2.71'
3 | repositories {
4 | google()
5 | jcenter()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:3.2.1'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 | }
12 | }
13 |
14 | allprojects {
15 | repositories {
16 | google()
17 | jcenter()
18 | }
19 | }
20 |
21 | rootProject.buildDir = '../build'
22 | subprojects {
23 | project.buildDir = "${rootProject.buildDir}/${project.name}"
24 | }
25 | subprojects {
26 | project.evaluationDependsOn(':app')
27 | }
28 |
29 | task clean(type: Delete) {
30 | delete rootProject.buildDir
31 | }
32 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 |
3 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Jun 23 08:50:38 CEST 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
7 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()
4 |
5 | def plugins = new Properties()
6 | def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
7 | if (pluginsFile.exists()) {
8 | pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) }
9 | }
10 |
11 | plugins.each { name, path ->
12 | def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
13 | include ":$name"
14 | project(":$name").projectDir = pluginDirectory
15 | }
16 |
--------------------------------------------------------------------------------
/assets/img1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/assets/img1.jpg
--------------------------------------------------------------------------------
/assets/img10.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/assets/img10.jpg
--------------------------------------------------------------------------------
/assets/img11.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/assets/img11.jpg
--------------------------------------------------------------------------------
/assets/img12.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/assets/img12.jpg
--------------------------------------------------------------------------------
/assets/img13.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/assets/img13.jpg
--------------------------------------------------------------------------------
/assets/img14.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/assets/img14.jpg
--------------------------------------------------------------------------------
/assets/img15.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/assets/img15.jpg
--------------------------------------------------------------------------------
/assets/img16.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/assets/img16.jpg
--------------------------------------------------------------------------------
/assets/img2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/assets/img2.jpg
--------------------------------------------------------------------------------
/assets/img3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/assets/img3.jpg
--------------------------------------------------------------------------------
/assets/img4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/assets/img4.jpg
--------------------------------------------------------------------------------
/assets/img5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/assets/img5.jpg
--------------------------------------------------------------------------------
/assets/img6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/assets/img6.jpg
--------------------------------------------------------------------------------
/assets/img7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/assets/img7.jpg
--------------------------------------------------------------------------------
/assets/img8.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/assets/img8.jpg
--------------------------------------------------------------------------------
/assets/img9.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/assets/img9.jpg
--------------------------------------------------------------------------------
/github-assets/Screenshot_1567244598.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/github-assets/Screenshot_1567244598.png
--------------------------------------------------------------------------------
/github-assets/Screenshot_1567244610.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/github-assets/Screenshot_1567244610.png
--------------------------------------------------------------------------------
/github-assets/Screenshot_1567244623.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/github-assets/Screenshot_1567244623.png
--------------------------------------------------------------------------------
/github-assets/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/github-assets/logo.png
--------------------------------------------------------------------------------
/github-assets/official.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/github-assets/official.png
--------------------------------------------------------------------------------
/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 8.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
12 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; };
13 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
14 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
15 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; };
16 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
17 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; };
18 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
19 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
20 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
21 | /* End PBXBuildFile section */
22 |
23 | /* Begin PBXCopyFilesBuildPhase section */
24 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
25 | isa = PBXCopyFilesBuildPhase;
26 | buildActionMask = 2147483647;
27 | dstPath = "";
28 | dstSubfolderSpec = 10;
29 | files = (
30 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */,
31 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */,
32 | );
33 | name = "Embed Frameworks";
34 | runOnlyForDeploymentPostprocessing = 0;
35 | };
36 | /* End PBXCopyFilesBuildPhase section */
37 |
38 | /* Begin PBXFileReference section */
39 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
40 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
41 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
42 | 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; };
43 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
44 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
45 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
46 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
47 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
48 | 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; };
49 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
50 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
51 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
52 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
53 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
54 | /* End PBXFileReference section */
55 |
56 | /* Begin PBXFrameworksBuildPhase section */
57 | 97C146EB1CF9000F007C117D /* Frameworks */ = {
58 | isa = PBXFrameworksBuildPhase;
59 | buildActionMask = 2147483647;
60 | files = (
61 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */,
62 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */,
63 | );
64 | runOnlyForDeploymentPostprocessing = 0;
65 | };
66 | /* End PBXFrameworksBuildPhase section */
67 |
68 | /* Begin PBXGroup section */
69 | 9740EEB11CF90186004384FC /* Flutter */ = {
70 | isa = PBXGroup;
71 | children = (
72 | 3B80C3931E831B6300D905FE /* App.framework */,
73 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
74 | 9740EEBA1CF902C7004384FC /* Flutter.framework */,
75 | 9740EEB21CF90195004384FC /* Debug.xcconfig */,
76 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
77 | 9740EEB31CF90195004384FC /* Generated.xcconfig */,
78 | );
79 | name = Flutter;
80 | sourceTree = "";
81 | };
82 | 97C146E51CF9000F007C117D = {
83 | isa = PBXGroup;
84 | children = (
85 | 9740EEB11CF90186004384FC /* Flutter */,
86 | 97C146F01CF9000F007C117D /* Runner */,
87 | 97C146EF1CF9000F007C117D /* Products */,
88 | );
89 | sourceTree = "";
90 | };
91 | 97C146EF1CF9000F007C117D /* Products */ = {
92 | isa = PBXGroup;
93 | children = (
94 | 97C146EE1CF9000F007C117D /* Runner.app */,
95 | );
96 | name = Products;
97 | sourceTree = "";
98 | };
99 | 97C146F01CF9000F007C117D /* Runner */ = {
100 | isa = PBXGroup;
101 | children = (
102 | 97C146FA1CF9000F007C117D /* Main.storyboard */,
103 | 97C146FD1CF9000F007C117D /* Assets.xcassets */,
104 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
105 | 97C147021CF9000F007C117D /* Info.plist */,
106 | 97C146F11CF9000F007C117D /* Supporting Files */,
107 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
108 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
109 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
110 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
111 | );
112 | path = Runner;
113 | sourceTree = "";
114 | };
115 | 97C146F11CF9000F007C117D /* Supporting Files */ = {
116 | isa = PBXGroup;
117 | children = (
118 | );
119 | name = "Supporting Files";
120 | sourceTree = "";
121 | };
122 | /* End PBXGroup section */
123 |
124 | /* Begin PBXNativeTarget section */
125 | 97C146ED1CF9000F007C117D /* Runner */ = {
126 | isa = PBXNativeTarget;
127 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
128 | buildPhases = (
129 | 9740EEB61CF901F6004384FC /* Run Script */,
130 | 97C146EA1CF9000F007C117D /* Sources */,
131 | 97C146EB1CF9000F007C117D /* Frameworks */,
132 | 97C146EC1CF9000F007C117D /* Resources */,
133 | 9705A1C41CF9048500538489 /* Embed Frameworks */,
134 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
135 | );
136 | buildRules = (
137 | );
138 | dependencies = (
139 | );
140 | name = Runner;
141 | productName = Runner;
142 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
143 | productType = "com.apple.product-type.application";
144 | };
145 | /* End PBXNativeTarget section */
146 |
147 | /* Begin PBXProject section */
148 | 97C146E61CF9000F007C117D /* Project object */ = {
149 | isa = PBXProject;
150 | attributes = {
151 | LastUpgradeCheck = 1020;
152 | ORGANIZATIONNAME = "The Chromium Authors";
153 | TargetAttributes = {
154 | 97C146ED1CF9000F007C117D = {
155 | CreatedOnToolsVersion = 7.3.1;
156 | LastSwiftMigration = 0910;
157 | };
158 | };
159 | };
160 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
161 | compatibilityVersion = "Xcode 3.2";
162 | developmentRegion = en;
163 | hasScannedForEncodings = 0;
164 | knownRegions = (
165 | en,
166 | Base,
167 | );
168 | mainGroup = 97C146E51CF9000F007C117D;
169 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
170 | projectDirPath = "";
171 | projectRoot = "";
172 | targets = (
173 | 97C146ED1CF9000F007C117D /* Runner */,
174 | );
175 | };
176 | /* End PBXProject section */
177 |
178 | /* Begin PBXResourcesBuildPhase section */
179 | 97C146EC1CF9000F007C117D /* Resources */ = {
180 | isa = PBXResourcesBuildPhase;
181 | buildActionMask = 2147483647;
182 | files = (
183 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
184 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
185 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */,
186 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
187 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
188 | );
189 | runOnlyForDeploymentPostprocessing = 0;
190 | };
191 | /* End PBXResourcesBuildPhase section */
192 |
193 | /* Begin PBXShellScriptBuildPhase section */
194 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
195 | isa = PBXShellScriptBuildPhase;
196 | buildActionMask = 2147483647;
197 | files = (
198 | );
199 | inputPaths = (
200 | );
201 | name = "Thin Binary";
202 | outputPaths = (
203 | );
204 | runOnlyForDeploymentPostprocessing = 0;
205 | shellPath = /bin/sh;
206 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin";
207 | };
208 | 9740EEB61CF901F6004384FC /* Run Script */ = {
209 | isa = PBXShellScriptBuildPhase;
210 | buildActionMask = 2147483647;
211 | files = (
212 | );
213 | inputPaths = (
214 | );
215 | name = "Run Script";
216 | outputPaths = (
217 | );
218 | runOnlyForDeploymentPostprocessing = 0;
219 | shellPath = /bin/sh;
220 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
221 | };
222 | /* End PBXShellScriptBuildPhase section */
223 |
224 | /* Begin PBXSourcesBuildPhase section */
225 | 97C146EA1CF9000F007C117D /* Sources */ = {
226 | isa = PBXSourcesBuildPhase;
227 | buildActionMask = 2147483647;
228 | files = (
229 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
230 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
231 | );
232 | runOnlyForDeploymentPostprocessing = 0;
233 | };
234 | /* End PBXSourcesBuildPhase section */
235 |
236 | /* Begin PBXVariantGroup section */
237 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
238 | isa = PBXVariantGroup;
239 | children = (
240 | 97C146FB1CF9000F007C117D /* Base */,
241 | );
242 | name = Main.storyboard;
243 | sourceTree = "";
244 | };
245 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
246 | isa = PBXVariantGroup;
247 | children = (
248 | 97C147001CF9000F007C117D /* Base */,
249 | );
250 | name = LaunchScreen.storyboard;
251 | sourceTree = "";
252 | };
253 | /* End PBXVariantGroup section */
254 |
255 | /* Begin XCBuildConfiguration section */
256 | 249021D3217E4FDB00AE95B9 /* Profile */ = {
257 | isa = XCBuildConfiguration;
258 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
259 | buildSettings = {
260 | ALWAYS_SEARCH_USER_PATHS = NO;
261 | CLANG_ANALYZER_NONNULL = YES;
262 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
263 | CLANG_CXX_LIBRARY = "libc++";
264 | CLANG_ENABLE_MODULES = YES;
265 | CLANG_ENABLE_OBJC_ARC = YES;
266 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
267 | CLANG_WARN_BOOL_CONVERSION = YES;
268 | CLANG_WARN_COMMA = YES;
269 | CLANG_WARN_CONSTANT_CONVERSION = YES;
270 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
271 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
272 | CLANG_WARN_EMPTY_BODY = YES;
273 | CLANG_WARN_ENUM_CONVERSION = YES;
274 | CLANG_WARN_INFINITE_RECURSION = YES;
275 | CLANG_WARN_INT_CONVERSION = YES;
276 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
277 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
278 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
279 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
280 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
281 | CLANG_WARN_STRICT_PROTOTYPES = YES;
282 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
283 | CLANG_WARN_UNREACHABLE_CODE = YES;
284 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
285 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
286 | COPY_PHASE_STRIP = NO;
287 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
288 | ENABLE_NS_ASSERTIONS = NO;
289 | ENABLE_STRICT_OBJC_MSGSEND = YES;
290 | GCC_C_LANGUAGE_STANDARD = gnu99;
291 | GCC_NO_COMMON_BLOCKS = YES;
292 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
293 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
294 | GCC_WARN_UNDECLARED_SELECTOR = YES;
295 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
296 | GCC_WARN_UNUSED_FUNCTION = YES;
297 | GCC_WARN_UNUSED_VARIABLE = YES;
298 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
299 | MTL_ENABLE_DEBUG_INFO = NO;
300 | SDKROOT = iphoneos;
301 | TARGETED_DEVICE_FAMILY = "1,2";
302 | VALIDATE_PRODUCT = YES;
303 | };
304 | name = Profile;
305 | };
306 | 249021D4217E4FDB00AE95B9 /* Profile */ = {
307 | isa = XCBuildConfiguration;
308 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
309 | buildSettings = {
310 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
311 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
312 | DEVELOPMENT_TEAM = S8QB4VV633;
313 | ENABLE_BITCODE = NO;
314 | FRAMEWORK_SEARCH_PATHS = (
315 | "$(inherited)",
316 | "$(PROJECT_DIR)/Flutter",
317 | );
318 | INFOPLIST_FILE = Runner/Info.plist;
319 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
320 | LIBRARY_SEARCH_PATHS = (
321 | "$(inherited)",
322 | "$(PROJECT_DIR)/Flutter",
323 | );
324 | PRODUCT_BUNDLE_IDENTIFIER = la.zouna.messager;
325 | PRODUCT_NAME = "$(TARGET_NAME)";
326 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
327 | SWIFT_VERSION = 4.0;
328 | VERSIONING_SYSTEM = "apple-generic";
329 | };
330 | name = Profile;
331 | };
332 | 97C147031CF9000F007C117D /* Debug */ = {
333 | isa = XCBuildConfiguration;
334 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
335 | buildSettings = {
336 | ALWAYS_SEARCH_USER_PATHS = NO;
337 | CLANG_ANALYZER_NONNULL = YES;
338 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
339 | CLANG_CXX_LIBRARY = "libc++";
340 | CLANG_ENABLE_MODULES = YES;
341 | CLANG_ENABLE_OBJC_ARC = YES;
342 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
343 | CLANG_WARN_BOOL_CONVERSION = YES;
344 | CLANG_WARN_COMMA = YES;
345 | CLANG_WARN_CONSTANT_CONVERSION = YES;
346 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
347 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
348 | CLANG_WARN_EMPTY_BODY = YES;
349 | CLANG_WARN_ENUM_CONVERSION = YES;
350 | CLANG_WARN_INFINITE_RECURSION = YES;
351 | CLANG_WARN_INT_CONVERSION = YES;
352 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
353 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
354 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
355 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
356 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
357 | CLANG_WARN_STRICT_PROTOTYPES = YES;
358 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
359 | CLANG_WARN_UNREACHABLE_CODE = YES;
360 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
361 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
362 | COPY_PHASE_STRIP = NO;
363 | DEBUG_INFORMATION_FORMAT = dwarf;
364 | ENABLE_STRICT_OBJC_MSGSEND = YES;
365 | ENABLE_TESTABILITY = YES;
366 | GCC_C_LANGUAGE_STANDARD = gnu99;
367 | GCC_DYNAMIC_NO_PIC = NO;
368 | GCC_NO_COMMON_BLOCKS = YES;
369 | GCC_OPTIMIZATION_LEVEL = 0;
370 | GCC_PREPROCESSOR_DEFINITIONS = (
371 | "DEBUG=1",
372 | "$(inherited)",
373 | );
374 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
375 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
376 | GCC_WARN_UNDECLARED_SELECTOR = YES;
377 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
378 | GCC_WARN_UNUSED_FUNCTION = YES;
379 | GCC_WARN_UNUSED_VARIABLE = YES;
380 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
381 | MTL_ENABLE_DEBUG_INFO = YES;
382 | ONLY_ACTIVE_ARCH = YES;
383 | SDKROOT = iphoneos;
384 | TARGETED_DEVICE_FAMILY = "1,2";
385 | };
386 | name = Debug;
387 | };
388 | 97C147041CF9000F007C117D /* Release */ = {
389 | isa = XCBuildConfiguration;
390 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
391 | buildSettings = {
392 | ALWAYS_SEARCH_USER_PATHS = NO;
393 | CLANG_ANALYZER_NONNULL = YES;
394 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
395 | CLANG_CXX_LIBRARY = "libc++";
396 | CLANG_ENABLE_MODULES = YES;
397 | CLANG_ENABLE_OBJC_ARC = YES;
398 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
399 | CLANG_WARN_BOOL_CONVERSION = YES;
400 | CLANG_WARN_COMMA = YES;
401 | CLANG_WARN_CONSTANT_CONVERSION = YES;
402 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
403 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
404 | CLANG_WARN_EMPTY_BODY = YES;
405 | CLANG_WARN_ENUM_CONVERSION = YES;
406 | CLANG_WARN_INFINITE_RECURSION = YES;
407 | CLANG_WARN_INT_CONVERSION = YES;
408 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
409 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
410 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
411 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
412 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
413 | CLANG_WARN_STRICT_PROTOTYPES = YES;
414 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
415 | CLANG_WARN_UNREACHABLE_CODE = YES;
416 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
417 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
418 | COPY_PHASE_STRIP = NO;
419 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
420 | ENABLE_NS_ASSERTIONS = NO;
421 | ENABLE_STRICT_OBJC_MSGSEND = YES;
422 | GCC_C_LANGUAGE_STANDARD = gnu99;
423 | GCC_NO_COMMON_BLOCKS = YES;
424 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
425 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
426 | GCC_WARN_UNDECLARED_SELECTOR = YES;
427 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
428 | GCC_WARN_UNUSED_FUNCTION = YES;
429 | GCC_WARN_UNUSED_VARIABLE = YES;
430 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
431 | MTL_ENABLE_DEBUG_INFO = NO;
432 | SDKROOT = iphoneos;
433 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
434 | TARGETED_DEVICE_FAMILY = "1,2";
435 | VALIDATE_PRODUCT = YES;
436 | };
437 | name = Release;
438 | };
439 | 97C147061CF9000F007C117D /* Debug */ = {
440 | isa = XCBuildConfiguration;
441 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
442 | buildSettings = {
443 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
444 | CLANG_ENABLE_MODULES = YES;
445 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
446 | ENABLE_BITCODE = NO;
447 | FRAMEWORK_SEARCH_PATHS = (
448 | "$(inherited)",
449 | "$(PROJECT_DIR)/Flutter",
450 | );
451 | INFOPLIST_FILE = Runner/Info.plist;
452 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
453 | LIBRARY_SEARCH_PATHS = (
454 | "$(inherited)",
455 | "$(PROJECT_DIR)/Flutter",
456 | );
457 | PRODUCT_BUNDLE_IDENTIFIER = la.zouna.messager;
458 | PRODUCT_NAME = "$(TARGET_NAME)";
459 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
460 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
461 | SWIFT_SWIFT3_OBJC_INFERENCE = On;
462 | SWIFT_VERSION = 4.0;
463 | VERSIONING_SYSTEM = "apple-generic";
464 | };
465 | name = Debug;
466 | };
467 | 97C147071CF9000F007C117D /* Release */ = {
468 | isa = XCBuildConfiguration;
469 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
470 | buildSettings = {
471 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
472 | CLANG_ENABLE_MODULES = YES;
473 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
474 | ENABLE_BITCODE = NO;
475 | FRAMEWORK_SEARCH_PATHS = (
476 | "$(inherited)",
477 | "$(PROJECT_DIR)/Flutter",
478 | );
479 | INFOPLIST_FILE = Runner/Info.plist;
480 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
481 | LIBRARY_SEARCH_PATHS = (
482 | "$(inherited)",
483 | "$(PROJECT_DIR)/Flutter",
484 | );
485 | PRODUCT_BUNDLE_IDENTIFIER = la.zouna.messager;
486 | PRODUCT_NAME = "$(TARGET_NAME)";
487 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
488 | SWIFT_SWIFT3_OBJC_INFERENCE = On;
489 | SWIFT_VERSION = 4.0;
490 | VERSIONING_SYSTEM = "apple-generic";
491 | };
492 | name = Release;
493 | };
494 | /* End XCBuildConfiguration section */
495 |
496 | /* Begin XCConfigurationList section */
497 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
498 | isa = XCConfigurationList;
499 | buildConfigurations = (
500 | 97C147031CF9000F007C117D /* Debug */,
501 | 97C147041CF9000F007C117D /* Release */,
502 | 249021D3217E4FDB00AE95B9 /* Profile */,
503 | );
504 | defaultConfigurationIsVisible = 0;
505 | defaultConfigurationName = Release;
506 | };
507 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
508 | isa = XCConfigurationList;
509 | buildConfigurations = (
510 | 97C147061CF9000F007C117D /* Debug */,
511 | 97C147071CF9000F007C117D /* Release */,
512 | 249021D4217E4FDB00AE95B9 /* Profile */,
513 | );
514 | defaultConfigurationIsVisible = 0;
515 | defaultConfigurationName = Release;
516 | };
517 | /* End XCConfigurationList section */
518 |
519 | };
520 | rootObject = 97C146E61CF9000F007C117D /* Project object */;
521 | }
522 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
39 |
40 |
41 |
42 |
43 |
44 |
54 |
56 |
62 |
63 |
64 |
65 |
66 |
67 |
73 |
75 |
81 |
82 |
83 |
84 |
86 |
87 |
90 |
91 |
92 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @UIApplicationMain
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-App-20x20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-App-20x20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-App-29x29@1x.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "Icon-App-29x29@2x.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "Icon-App-29x29@3x.png",
31 | "scale" : "3x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "Icon-App-40x40@2x.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "Icon-App-40x40@3x.png",
43 | "scale" : "3x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "Icon-App-60x60@2x.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "60x60",
53 | "idiom" : "iphone",
54 | "filename" : "Icon-App-60x60@3x.png",
55 | "scale" : "3x"
56 | },
57 | {
58 | "size" : "20x20",
59 | "idiom" : "ipad",
60 | "filename" : "Icon-App-20x20@1x.png",
61 | "scale" : "1x"
62 | },
63 | {
64 | "size" : "20x20",
65 | "idiom" : "ipad",
66 | "filename" : "Icon-App-20x20@2x.png",
67 | "scale" : "2x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "Icon-App-29x29@1x.png",
73 | "scale" : "1x"
74 | },
75 | {
76 | "size" : "29x29",
77 | "idiom" : "ipad",
78 | "filename" : "Icon-App-29x29@2x.png",
79 | "scale" : "2x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "Icon-App-40x40@1x.png",
85 | "scale" : "1x"
86 | },
87 | {
88 | "size" : "40x40",
89 | "idiom" : "ipad",
90 | "filename" : "Icon-App-40x40@2x.png",
91 | "scale" : "2x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "Icon-App-76x76@1x.png",
97 | "scale" : "1x"
98 | },
99 | {
100 | "size" : "76x76",
101 | "idiom" : "ipad",
102 | "filename" : "Icon-App-76x76@2x.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "83.5x83.5",
107 | "idiom" : "ipad",
108 | "filename" : "Icon-App-83.5x83.5@2x.png",
109 | "scale" : "2x"
110 | },
111 | {
112 | "size" : "1024x1024",
113 | "idiom" : "ios-marketing",
114 | "filename" : "Icon-App-1024x1024@1x.png",
115 | "scale" : "1x"
116 | }
117 | ],
118 | "info" : {
119 | "version" : 1,
120 | "author" : "xcode"
121 | }
122 | }
123 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchImage.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchImage@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "LaunchImage@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-samples/flutter-social-messager/cc47e877fd544bf7c64debdd6317005922cf34dc/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | messager
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | $(FLUTTER_BUILD_NAME)
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | $(FLUTTER_BUILD_NUMBER)
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UISupportedInterfaceOrientations
30 |
31 | UIInterfaceOrientationPortrait
32 | UIInterfaceOrientationLandscapeLeft
33 | UIInterfaceOrientationLandscapeRight
34 |
35 | UISupportedInterfaceOrientations~ipad
36 |
37 | UIInterfaceOrientationPortrait
38 | UIInterfaceOrientationPortraitUpsideDown
39 | UIInterfaceOrientationLandscapeLeft
40 | UIInterfaceOrientationLandscapeRight
41 |
42 | UIViewControllerBasedStatusBarAppearance
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
--------------------------------------------------------------------------------
/lib/board.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class InputStoryWidget extends StatefulWidget {
4 | final FocusNode storyInputNode;
5 | final TextEditingController textController;
6 | final Function onChange;
7 | final Function onTap;
8 | InputStoryWidget({
9 | this.storyInputNode,
10 | this.textController,
11 | this.onChange,
12 | this.onTap,
13 | Key key,
14 | }) : super(key: key);
15 | @override
16 | _InputStoryWidgetState createState() => _InputStoryWidgetState();
17 | }
18 |
19 | class _InputStoryWidgetState extends State
20 | with AutomaticKeepAliveClientMixin {
21 | FocusNode focusNode = new FocusNode();
22 | @override
23 | void initState() {
24 | super.initState();
25 | }
26 |
27 | @override
28 | void dispose() {
29 | super.dispose();
30 | }
31 |
32 | @override
33 | bool get wantKeepAlive => true;
34 |
35 | @override
36 | Widget build(BuildContext context) {
37 | super.build(context);
38 | return Container(
39 | child: Padding(
40 | padding: EdgeInsets.only(
41 | top: 2,
42 | bottom: 2,
43 | left: 8,
44 | right: 8,
45 | ),
46 | child: Container(
47 | child: TextField(
48 | controller: widget.textController,
49 | onTap: () {
50 | widget.onTap();
51 | },
52 | onChanged: (text) {
53 | widget.onChange(text);
54 | },
55 | style: new TextStyle(
56 | color: Colors.black,
57 | fontSize: 16,
58 | ),
59 | decoration: InputDecoration(
60 | border: InputBorder.none,
61 | hintText: 'Write a story...',
62 | hintStyle: new TextStyle(
63 | color: Colors.grey[400],
64 | ),
65 | fillColor: Colors.white70,
66 | ),
67 | maxLines: null,
68 | onSubmitted: (text) {},
69 | keyboardType: TextInputType.multiline,
70 | autofocus: true,
71 | focusNode: widget.storyInputNode,
72 | ),
73 | ),
74 | ),
75 | );
76 | }
77 | }
78 |
--------------------------------------------------------------------------------
/lib/button.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class RadioButton extends StatefulWidget {
4 | RadioButton({
5 | Key key,
6 | this.child,
7 | this.onTap,
8 | this.backgroud = Colors.black,
9 | this.text,
10 | this.circleColor = Colors.white,
11 | this.width,
12 | this.height,
13 | }) : super(key: key);
14 | final Widget child;
15 | final String text;
16 | final Function onTap;
17 | final Color backgroud;
18 | final double height;
19 | final double width;
20 | final Color circleColor;
21 | @override
22 | _RadioButtonState createState() => _RadioButtonState();
23 | }
24 |
25 | class _RadioButtonState extends State {
26 | bool isChecked = false;
27 | @override
28 | Widget build(BuildContext context) {
29 | return GestureDetector(
30 | onTap: () {
31 | setState(() {
32 | isChecked = !isChecked;
33 | });
34 | widget.onTap(isChecked);
35 | },
36 | child: Container(
37 | height: widget.height,
38 | width: widget.width,
39 | child: Stack(
40 | fit: StackFit.expand,
41 | children: [
42 | widget.child,
43 | Positioned(
44 | top: 10,
45 | right: 10,
46 | height: 25,
47 | width: 25,
48 | child: Container(
49 | decoration: BoxDecoration(
50 | shape: BoxShape.circle,
51 | color: widget.backgroud,
52 | border: Border.all(
53 | width: 2,
54 | color: widget.circleColor,
55 | ),
56 | ),
57 | child: isChecked
58 | ? Center(
59 | child: Text(
60 | widget.text,
61 | style: TextStyle(
62 | fontSize: 10.0,
63 | fontWeight: FontWeight.bold,
64 | color: widget.circleColor,
65 | ),
66 | ),
67 | )
68 | : null,
69 | ),
70 | )
71 | ],
72 | ),
73 | ),
74 | );
75 | }
76 | }
77 |
--------------------------------------------------------------------------------
/lib/common.dart:
--------------------------------------------------------------------------------
1 | final emj = [
2 | 128512,
3 | 128513,
4 | 128514,
5 | 129315,
6 | 128515,
7 | 128516,
8 | 128517,
9 | 128518,
10 | 128521,
11 | 128522,
12 | 128523,
13 | 128526,
14 | 128525,
15 | 128536,
16 | 128535,
17 | 128537,
18 | 128538,
19 | 128578,
20 | 129303,
21 | 129300,
22 | 128528,
23 | 128529,
24 | 128566,
25 | 128580,
26 | 128527,
27 | 128547,
28 | 128549,
29 | 128558,
30 | 129296,
31 | 128559,
32 | 128554,
33 | 128555,
34 | 128564,
35 | 128524,
36 | 129299,
37 | 128539,
38 | 128540,
39 | 128541,
40 | 129316,
41 | 128530,
42 | 128531,
43 | 128532,
44 | 128533,
45 | 128579,
46 | 129297,
47 | 128562,
48 | 128577,
49 | 128534,
50 | 128542,
51 | 128543,
52 | 128548,
53 | 128546,
54 | 128557,
55 | 128550,
56 | 128551,
57 | 128552,
58 | 128553,
59 | 128556,
60 | 128560,
61 | 128561,
62 | 128563,
63 | 128565,
64 | 128545,
65 | 128544,
66 | 128519,
67 | 129312,
68 | 129313,
69 | 129317,
70 | 128567,
71 | 129298,
72 | 129301,
73 | 129314,
74 | 129319
75 | ];
76 |
--------------------------------------------------------------------------------
/lib/emojis.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:messager/common.dart';
3 |
4 | class EmojiPanelWidget extends StatefulWidget {
5 | final TextEditingController textController;
6 | final int start;
7 | final int end;
8 | final Function onInsert;
9 | EmojiPanelWidget({
10 | this.textController,
11 | this.start,
12 | this.end,
13 | this.onInsert,
14 | Key key,
15 | }) : super(key: key);
16 |
17 | @override
18 | _EmojiPanelWidgetState createState() => _EmojiPanelWidgetState();
19 | }
20 |
21 | class _EmojiPanelWidgetState extends State {
22 | void initState() {
23 | super.initState();
24 | }
25 |
26 | @override
27 | void dispose() {
28 | super.dispose();
29 | }
30 |
31 | @override
32 | Widget build(BuildContext context) {
33 | List emojiWidgets = [];
34 | emj.forEach((int rune) {
35 | var character = new String.fromCharCode(rune);
36 | emojiWidgets.add(_emojiWidget(character));
37 | });
38 |
39 | return Container(
40 | color: Color(0xFFF0F0F0),
41 | child: Column(
42 | children: [
43 | Container(height: 1, color: Color(0xFFF5F5F5)),
44 | Expanded(
45 | child: GridView(
46 | gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
47 | crossAxisCount: 6,
48 | childAspectRatio: 1.0,
49 | ),
50 | children: emojiWidgets,
51 | ),
52 | ),
53 | ],
54 | ),
55 | );
56 | }
57 |
58 | String runeSubstring({String input, int start, int end}) {
59 | return String.fromCharCodes(input.runes.toList().sublist(start, end));
60 | }
61 |
62 | Widget _emojiWidget(text) {
63 | int textLength = text.length;
64 | return new Container(
65 | child: new Material(
66 | child: new InkWell(
67 | onTap: () {
68 | final addEmojiText = widget.textController.text.replaceRange(
69 | widget.start,
70 | widget.end,
71 | text,
72 | );
73 | widget.textController.text = addEmojiText;
74 | widget.textController.selection =
75 | TextSelection.collapsed(offset: widget.start + textLength);
76 | widget.onInsert(textLength);
77 | },
78 | child: new Container(
79 | alignment: Alignment.center,
80 | child: Text(
81 | text,
82 | ),
83 | ),
84 | ),
85 | color: Color(0xFFF0F0F0),
86 | ),
87 | );
88 | }
89 | }
90 |
--------------------------------------------------------------------------------
/lib/images.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:messager/button.dart';
3 |
4 | class ImagePanelWidget extends StatefulWidget {
5 | ImagePanelWidget({
6 | Key key,
7 | }) : super(key: key);
8 |
9 | @override
10 | _ImagePanelWidgetState createState() => _ImagePanelWidgetState();
11 | }
12 |
13 | class _ImagePanelWidgetState extends State {
14 | int selectCounter;
15 | void initState() {
16 | super.initState();
17 | selectCounter = 0;
18 | }
19 |
20 | @override
21 | void dispose() {
22 | selectCounter = 0;
23 | super.dispose();
24 | }
25 |
26 | @override
27 | Widget build(BuildContext context) {
28 | List imageWidgets = List();
29 |
30 | for (var i = 1; i < 16; i++) {
31 | imageWidgets.add(_imageWidgert(i));
32 | }
33 |
34 | return Container(
35 | color: Color(0xFFF0F0F0),
36 | child: Column(
37 | children: [
38 | Container(height: 1, color: Color(0xFFF5F5F5)),
39 | Expanded(
40 | child: GridView(
41 | gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
42 | crossAxisCount: 3,
43 | childAspectRatio: 1.0,
44 | ),
45 | children: imageWidgets,
46 | ),
47 | ),
48 | ],
49 | ),
50 | );
51 | }
52 |
53 | Widget _imageWidgert(index) {
54 | return RadioButton(
55 | height: 100,
56 | width: 100,
57 | onTap: (flag) {
58 | setState(() {});
59 | },
60 | text: "1",
61 | child: Container(
62 | padding: EdgeInsets.all(1.0),
63 | child: Image.asset('assets/img$index.jpg'),
64 | ),
65 | );
66 | }
67 | }
68 |
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:messager/messager.dart';
3 |
4 | void main() => runApp(MyApp());
5 |
6 | class MyApp extends StatelessWidget {
7 | @override
8 | Widget build(BuildContext context) {
9 | return MaterialApp(
10 | title: 'Messager',
11 | debugShowCheckedModeBanner: false,
12 | theme: ThemeData(
13 | primarySwatch: Colors.blue,
14 | ),
15 | home: MessagePage(),
16 | );
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/lib/messager.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:rubber/rubber.dart';
3 | import 'package:messager/board.dart';
4 | import 'package:messager/wrapper.dart';
5 | import 'package:messager/toolbar.dart';
6 | import 'package:messager/todo.dart';
7 | import 'package:messager/route.dart';
8 |
9 | class MessagePage extends StatefulWidget {
10 | MessagePage({Key key}) : super(key: key);
11 |
12 | @override
13 | _MessagePageState createState() => _MessagePageState();
14 | }
15 |
16 | class _MessagePageState extends State
17 | with TickerProviderStateMixin {
18 | RubberAnimationController _controller;
19 | FocusNode storyInputNode;
20 | TextEditingController textController;
21 | TextSelection textSelection;
22 |
23 | ScrollController _scrollController = ScrollController();
24 | int _showToolContent = 0;
25 | String label = "";
26 | IconButton leadingButton;
27 |
28 | int cursorStartPos = 0;
29 | int cursorEndPos = 0;
30 | @override
31 | void initState() {
32 | super.initState();
33 | label = "Add your story";
34 | leadingButton = IconButton(
35 | icon: Icon(
36 | Icons.close,
37 | color: Colors.black,
38 | ),
39 | onPressed: () => Navigator.of(context).pop(),
40 | );
41 | storyInputNode = FocusNode();
42 | textController = new TextEditingController();
43 | _controller = RubberAnimationController(
44 | vsync: this,
45 | halfBoundValue: AnimationControllerValue(percentage: 0.7),
46 | lowerBoundValue: AnimationControllerValue(pixel: 49.2),
47 | upperBoundValue: AnimationControllerValue(percentage: 1.0),
48 | duration: Duration(milliseconds: 200),
49 | );
50 | }
51 |
52 | @override
53 | void dispose() {
54 | storyInputNode.dispose();
55 | textController.dispose();
56 | super.dispose();
57 | }
58 |
59 | setCursor() {
60 | FocusScope.of(context).requestFocus(storyInputNode);
61 | textController.selection = TextSelection.collapsed(offset: cursorStartPos);
62 | }
63 |
64 | onInsert(length) {
65 | setState(() {
66 | cursorStartPos = cursorStartPos + length;
67 | cursorEndPos = cursorEndPos + length;
68 | });
69 | }
70 |
71 | onTextChange(text) {
72 | setState(() {
73 | cursorStartPos = textController.selection.start;
74 | cursorEndPos = textController.selection.end;
75 | });
76 | }
77 |
78 | onTextTap() {
79 | setState(() {
80 | cursorStartPos = textController.selection.start;
81 | cursorEndPos = textController.selection.end;
82 | });
83 | }
84 |
85 | void _showContentLayer(index) {
86 | switch (index) {
87 | case 0:
88 | setCursor();
89 | setState(() {
90 | label = "Add your story";
91 | leadingButton = IconButton(
92 | icon: Icon(
93 | Icons.close,
94 | color: Colors.black,
95 | ),
96 | onPressed: () => Navigator.of(context).pop(),
97 | );
98 | });
99 | break;
100 | case 1:
101 | _controller.launchTo(
102 | _showToolContent != index ? 0 : _controller.value,
103 | (_controller.value * 10).round() ==
104 | (_controller.upperBound * 10).round() ||
105 | _showToolContent != index
106 | ? _controller.halfBound
107 | : _controller.upperBound,
108 | velocity: 2,
109 | );
110 | storyInputNode.unfocus();
111 | setState(() {
112 | label = "Choose photos";
113 | leadingButton = IconButton(
114 | icon: Icon(
115 | Icons.arrow_downward,
116 | color: Colors.black,
117 | ),
118 | onPressed: () => _showContentLayer(0),
119 | );
120 | });
121 | break;
122 | case 2:
123 | _controller.launchTo(
124 | _showToolContent != index ? 0 : _controller.value,
125 | (_controller.value * 10).round() ==
126 | (_controller.upperBound * 10).round() ||
127 | _showToolContent != index
128 | ? _controller.halfBound
129 | : _controller.upperBound,
130 | velocity: 2,
131 | );
132 | storyInputNode.unfocus();
133 | setState(() {
134 | label = "Insert a emoji";
135 | leadingButton = IconButton(
136 | icon: Icon(
137 | Icons.arrow_downward,
138 | color: Colors.black,
139 | ),
140 | onPressed: () => _showContentLayer(0),
141 | );
142 | });
143 | break;
144 | case 3:
145 | Navigator.push(
146 | context,
147 | Router(
148 | TodoWidget(),
149 | ),
150 | );
151 | storyInputNode.unfocus();
152 | break;
153 | }
154 | setState(() {
155 | _showToolContent = index;
156 | });
157 | }
158 |
159 | @override
160 | Widget build(BuildContext context) {
161 | return Scaffold(
162 | appBar: AppBar(
163 | leading: leadingButton,
164 | title: Row(
165 | mainAxisAlignment: MainAxisAlignment.center,
166 | children: [
167 | Text(
168 | label,
169 | style: TextStyle(color: Colors.black, fontSize: 16.0),
170 | ),
171 | ],
172 | ),
173 | centerTitle: true,
174 | elevation: 0.2,
175 | backgroundColor: Colors.white,
176 | actions: [
177 | Padding(
178 | padding: new EdgeInsets.fromLTRB(10.0, 11.0, 10.0, 11.0),
179 | child: SizedBox(
180 | width: 65.0,
181 | child: FlatButton(
182 | onPressed: () {},
183 | child: Text("Send"),
184 | color: Theme.of(context).primaryColor,
185 | textColor: Colors.white,
186 | shape: RoundedRectangleBorder(
187 | borderRadius: BorderRadius.circular(20),
188 | ),
189 | ),
190 | ),
191 | ),
192 | ],
193 | ),
194 | body: Container(
195 | color: Colors.white,
196 | child: RubberBottomSheet(
197 | lowerLayer: InputStoryWidget(
198 | storyInputNode: storyInputNode,
199 | textController: textController,
200 | onChange: onTextChange,
201 | onTap: onTextTap,
202 | ),
203 | menuLayer: ToolBarWidget(
204 | onPressed: _showContentLayer,
205 | ),
206 | upperLayer: WrapperWidget(
207 | scrollController: _scrollController,
208 | textController: textController,
209 | index: _showToolContent,
210 | start: cursorStartPos,
211 | end: cursorEndPos,
212 | onInsert: onInsert,
213 | ),
214 | animationController: _controller,
215 | ),
216 | ),
217 | );
218 | }
219 | }
220 |
--------------------------------------------------------------------------------
/lib/route.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class Router extends PageRouteBuilder {
4 | final Widget widget;
5 | Router(
6 | this.widget,
7 | ) : super(
8 | transitionDuration: const Duration(
9 | milliseconds: 500,
10 | ),
11 | pageBuilder: (
12 | BuildContext context,
13 | Animation animation1,
14 | Animation animation2,
15 | ) {
16 | return widget;
17 | },
18 | transitionsBuilder: (
19 | BuildContext context,
20 | Animation animation1,
21 | Animation animation2,
22 | Widget child,
23 | ) {
24 | return SlideTransition(
25 | position: Tween(
26 | begin: Offset(
27 | 0.0,
28 | 1.0,
29 | ),
30 | end: Offset(
31 | 0.0,
32 | 0.0,
33 | ),
34 | ).animate(
35 | CurvedAnimation(
36 | parent: animation1,
37 | curve: Curves.fastOutSlowIn,
38 | ),
39 | ),
40 | child: child,
41 | );
42 | },
43 | );
44 | }
45 |
--------------------------------------------------------------------------------
/lib/todo.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class TodoWidget extends StatelessWidget {
4 | @override
5 | Widget build(BuildContext context) {
6 | return Scaffold(
7 | appBar: AppBar(
8 | leading: IconButton(
9 | icon: Icon(
10 | Icons.close,
11 | color: Colors.black,
12 | ),
13 | onPressed: () => Navigator.of(context).pop(),
14 | ),
15 | title: new Text("Todo"),
16 | centerTitle: true,
17 | elevation: 0.2,
18 | backgroundColor: Colors.white,
19 | ),
20 | body: Center(
21 | child: Text(
22 | 'Todo...',
23 | ),
24 | ),
25 | );
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/lib/toolbar.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class ToolBarWidget extends StatefulWidget {
4 | final Function onPressed;
5 |
6 | ToolBarWidget({
7 | this.onPressed,
8 | Key key,
9 | }) : super(key: key);
10 |
11 | @override
12 | _ToolBarWidgetState createState() => _ToolBarWidgetState();
13 | }
14 |
15 | class _ToolBarWidgetState extends State {
16 | int currentActive;
17 | void initState() {
18 | super.initState();
19 | currentActive = 0;
20 | }
21 |
22 | @override
23 | void dispose() {
24 | super.dispose();
25 | }
26 |
27 | @override
28 | Widget build(BuildContext context) {
29 | return Container(
30 | height: 49.2,
31 | padding: EdgeInsets.only(
32 | top: 0.0,
33 | left: 0.0,
34 | right: 0.0,
35 | bottom: 0,
36 | ),
37 | color: Colors.teal,
38 | child: Column(
39 | crossAxisAlignment: CrossAxisAlignment.start,
40 | children: [
41 | Container(
42 | height: 0.6,
43 | color: Theme.of(context).primaryColor,
44 | ),
45 | Container(
46 | height: 48.0,
47 | decoration: BoxDecoration(color: Colors.white),
48 | width: MediaQuery.of(context).size.width,
49 | child: Row(
50 | mainAxisAlignment: MainAxisAlignment.start,
51 | children: [
52 | Container(
53 | padding: EdgeInsets.only(
54 | left: 5,
55 | right: 5,
56 | ),
57 | child: Ink(
58 | decoration: ShapeDecoration(
59 | color: Colors.lightBlue,
60 | shape: CircleBorder(),
61 | ),
62 | child: IconButton(
63 | color: currentActive == 0
64 | ? Theme.of(context).primaryColor
65 | : Colors.black,
66 | icon: Icon(
67 | Icons.text_fields,
68 | size: 24.0,
69 | ),
70 | onPressed: () {
71 | setState(() {
72 | currentActive = 0;
73 | });
74 | widget.onPressed(0);
75 | },
76 | ),
77 | ),
78 | ),
79 | Container(
80 | padding: EdgeInsets.only(
81 | left: 5,
82 | right: 5,
83 | ),
84 | child: Ink(
85 | decoration: ShapeDecoration(
86 | color: Colors.lightBlue,
87 | shape: CircleBorder(),
88 | ),
89 | child: IconButton(
90 | color: currentActive == 1
91 | ? Theme.of(context).primaryColor
92 | : Colors.black,
93 | icon: Icon(
94 | Icons.wallpaper,
95 | size: 22.0,
96 | ),
97 | onPressed: () {
98 | setState(() {
99 | currentActive = 1;
100 | });
101 | widget.onPressed(1);
102 | },
103 | ),
104 | ),
105 | ),
106 | Container(
107 | padding: EdgeInsets.only(
108 | left: 5,
109 | right: 5,
110 | ),
111 | child: Ink(
112 | decoration: ShapeDecoration(
113 | color: Colors.lightBlue,
114 | shape: CircleBorder(),
115 | ),
116 | child: IconButton(
117 | color: currentActive == 2
118 | ? Theme.of(context).primaryColor
119 | : Colors.black,
120 | icon: Icon(
121 | Icons.tag_faces,
122 | size: 24.0,
123 | ),
124 | onPressed: () {
125 | setState(() {
126 | currentActive = 2;
127 | });
128 | widget.onPressed(2);
129 | },
130 | ),
131 | ),
132 | ),
133 | Container(
134 | padding: EdgeInsets.only(
135 | left: 5,
136 | right: 5,
137 | ),
138 | child: Ink(
139 | decoration: ShapeDecoration(
140 | color: Colors.lightBlue,
141 | shape: CircleBorder(),
142 | ),
143 | child: IconButton(
144 | color: currentActive == 3
145 | ? Theme.of(context).primaryColor
146 | : Colors.black,
147 | icon: Icon(
148 | Icons.alternate_email,
149 | size: 24.0,
150 | ),
151 | onPressed: () {
152 | setState(() {
153 | currentActive = 3;
154 | });
155 | widget.onPressed(3);
156 | },
157 | ),
158 | ),
159 | ),
160 | ]),
161 | ),
162 | ],
163 | ),
164 | );
165 | }
166 | }
167 |
--------------------------------------------------------------------------------
/lib/wrapper.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:messager/images.dart';
3 | import 'package:messager/emojis.dart';
4 |
5 | class WrapperWidget extends StatefulWidget {
6 | final TextEditingController textController;
7 | final ScrollController scrollController;
8 | final int index;
9 | final int start;
10 | final int end;
11 | final Function onInsert;
12 | WrapperWidget({
13 | this.textController,
14 | this.scrollController,
15 | this.index,
16 | this.start,
17 | this.end,
18 | this.onInsert,
19 | Key key,
20 | }) : super(key: key);
21 |
22 | @override
23 | _WrapperWidgetState createState() => _WrapperWidgetState();
24 | }
25 |
26 | class _WrapperWidgetState extends State {
27 | void initState() {
28 | super.initState();
29 | }
30 |
31 | @override
32 | void dispose() {
33 | super.dispose();
34 | }
35 |
36 | @override
37 | Widget build(BuildContext context) {
38 | return _mainWidget();
39 | }
40 |
41 | Widget _contentWidget() {
42 | switch (widget.index) {
43 | case 1:
44 | return ImagePanelWidget();
45 | break;
46 | case 2:
47 | return EmojiPanelWidget(
48 | textController: widget.textController,
49 | start: widget.start,
50 | end: widget.end,
51 | onInsert: widget.onInsert,
52 | );
53 | break;
54 | default:
55 | return Container();
56 | }
57 | }
58 |
59 | Widget _mainWidget() {
60 | return Container(
61 | decoration: BoxDecoration(color: Colors.transparent),
62 | child: _contentWidget(),
63 | );
64 | }
65 | }
66 |
--------------------------------------------------------------------------------
/pubspec.lock:
--------------------------------------------------------------------------------
1 | # Generated by pub
2 | # See https://dart.dev/tools/pub/glossary#lockfile
3 | packages:
4 | after_layout:
5 | dependency: transitive
6 | description:
7 | name: after_layout
8 | url: "https://pub.dartlang.org"
9 | source: hosted
10 | version: "1.0.7+2"
11 | async:
12 | dependency: transitive
13 | description:
14 | name: async
15 | url: "https://pub.dartlang.org"
16 | source: hosted
17 | version: "2.2.0"
18 | boolean_selector:
19 | dependency: transitive
20 | description:
21 | name: boolean_selector
22 | url: "https://pub.dartlang.org"
23 | source: hosted
24 | version: "1.0.4"
25 | charcode:
26 | dependency: transitive
27 | description:
28 | name: charcode
29 | url: "https://pub.dartlang.org"
30 | source: hosted
31 | version: "1.1.2"
32 | collection:
33 | dependency: transitive
34 | description:
35 | name: collection
36 | url: "https://pub.dartlang.org"
37 | source: hosted
38 | version: "1.14.11"
39 | cupertino_icons:
40 | dependency: "direct main"
41 | description:
42 | name: cupertino_icons
43 | url: "https://pub.dartlang.org"
44 | source: hosted
45 | version: "0.1.2"
46 | flutter:
47 | dependency: "direct main"
48 | description: flutter
49 | source: sdk
50 | version: "0.0.0"
51 | flutter_test:
52 | dependency: "direct dev"
53 | description: flutter
54 | source: sdk
55 | version: "0.0.0"
56 | matcher:
57 | dependency: transitive
58 | description:
59 | name: matcher
60 | url: "https://pub.dartlang.org"
61 | source: hosted
62 | version: "0.12.5"
63 | meta:
64 | dependency: transitive
65 | description:
66 | name: meta
67 | url: "https://pub.dartlang.org"
68 | source: hosted
69 | version: "1.1.6"
70 | path:
71 | dependency: transitive
72 | description:
73 | name: path
74 | url: "https://pub.dartlang.org"
75 | source: hosted
76 | version: "1.6.2"
77 | pedantic:
78 | dependency: transitive
79 | description:
80 | name: pedantic
81 | url: "https://pub.dartlang.org"
82 | source: hosted
83 | version: "1.7.0"
84 | quiver:
85 | dependency: transitive
86 | description:
87 | name: quiver
88 | url: "https://pub.dartlang.org"
89 | source: hosted
90 | version: "2.0.3"
91 | rubber:
92 | dependency: "direct main"
93 | description:
94 | name: rubber
95 | url: "https://pub.dartlang.org"
96 | source: hosted
97 | version: "0.3.2"
98 | sky_engine:
99 | dependency: transitive
100 | description: flutter
101 | source: sdk
102 | version: "0.0.99"
103 | source_span:
104 | dependency: transitive
105 | description:
106 | name: source_span
107 | url: "https://pub.dartlang.org"
108 | source: hosted
109 | version: "1.5.5"
110 | stack_trace:
111 | dependency: transitive
112 | description:
113 | name: stack_trace
114 | url: "https://pub.dartlang.org"
115 | source: hosted
116 | version: "1.9.3"
117 | stream_channel:
118 | dependency: transitive
119 | description:
120 | name: stream_channel
121 | url: "https://pub.dartlang.org"
122 | source: hosted
123 | version: "2.0.0"
124 | string_scanner:
125 | dependency: transitive
126 | description:
127 | name: string_scanner
128 | url: "https://pub.dartlang.org"
129 | source: hosted
130 | version: "1.0.4"
131 | term_glyph:
132 | dependency: transitive
133 | description:
134 | name: term_glyph
135 | url: "https://pub.dartlang.org"
136 | source: hosted
137 | version: "1.1.0"
138 | test_api:
139 | dependency: transitive
140 | description:
141 | name: test_api
142 | url: "https://pub.dartlang.org"
143 | source: hosted
144 | version: "0.2.5"
145 | typed_data:
146 | dependency: transitive
147 | description:
148 | name: typed_data
149 | url: "https://pub.dartlang.org"
150 | source: hosted
151 | version: "1.1.6"
152 | vector_math:
153 | dependency: transitive
154 | description:
155 | name: vector_math
156 | url: "https://pub.dartlang.org"
157 | source: hosted
158 | version: "2.0.8"
159 | sdks:
160 | dart: ">=2.2.2 <3.0.0"
161 |
--------------------------------------------------------------------------------
/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: messager
2 | description: A message App ui
3 |
4 | # The following defines the version and build number for your application.
5 | # A version number is three numbers separated by dots, like 1.2.43
6 | # followed by an optional build number separated by a +.
7 | # Both the version and the builder number may be overridden in flutter
8 | # build by specifying --build-name and --build-number, respectively.
9 | # In Android, build-name is used as versionName while build-number used as versionCode.
10 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
11 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
12 | # Read more about iOS versioning at
13 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
14 | version: 1.0.0+1
15 |
16 | environment:
17 | sdk: ">=2.1.0 <3.0.0"
18 |
19 | dependencies:
20 | flutter:
21 | sdk: flutter
22 | rubber: ^0.3.2
23 |
24 | # The following adds the Cupertino Icons font to your application.
25 | # Use with the CupertinoIcons class for iOS style icons.
26 | cupertino_icons: ^0.1.2
27 |
28 | dev_dependencies:
29 | flutter_test:
30 | sdk: flutter
31 |
32 | # For information on the generic Dart part of this file, see the
33 | # following page: https://dart.dev/tools/pub/pubspec
34 |
35 | # The following section is specific to Flutter.
36 | flutter:
37 | assets:
38 | - assets/
39 |
40 | # The following line ensures that the Material Icons font is
41 | # included with your application, so that you can use the icons in
42 | # the material Icons class.
43 | uses-material-design: true
44 | # To add assets to your application, add an assets section, like this:
45 | # assets:
46 | # - images/a_dot_burr.jpeg
47 | # - images/a_dot_ham.jpeg
48 | # An image asset can refer to one or more resolution-specific "variants", see
49 | # https://flutter.dev/assets-and-images/#resolution-aware.
50 | # For details regarding adding assets from package dependencies, see
51 | # https://flutter.dev/assets-and-images/#from-packages
52 | # To add custom fonts to your application, add a fonts section here,
53 | # in this "flutter" section. Each entry in this list should have a
54 | # "family" key with the font family name, and a "fonts" key with a
55 | # list giving the asset and other descriptors for the font. For
56 | # example:
57 | # fonts:
58 | # - family: Schyler
59 | # fonts:
60 | # - asset: fonts/Schyler-Regular.ttf
61 | # - asset: fonts/Schyler-Italic.ttf
62 | # style: italic
63 | # - family: Trajan Pro
64 | # fonts:
65 | # - asset: fonts/TrajanPro.ttf
66 | # - asset: fonts/TrajanPro_Bold.ttf
67 | # weight: 700
68 | #
69 | # For details regarding fonts from package dependencies,
70 | # see https://flutter.dev/custom-fonts/#from-packages
71 |
--------------------------------------------------------------------------------
/test/widget_test.dart:
--------------------------------------------------------------------------------
1 | // This is a basic Flutter widget test.
2 | //
3 | // To perform an interaction with a widget in your test, use the WidgetTester
4 | // utility that Flutter provides. For example, you can send tap and scroll
5 | // gestures. You can also use WidgetTester to find child widgets in the widget
6 | // tree, read text, and verify that the values of widget properties are correct.
7 |
8 | import 'package:flutter/material.dart';
9 | import 'package:flutter_test/flutter_test.dart';
10 |
11 | import 'package:messager/main.dart';
12 |
13 | void main() {
14 | testWidgets('Counter increments smoke test', (WidgetTester tester) async {
15 | // Build our app and trigger a frame.
16 | await tester.pumpWidget(MyApp());
17 |
18 | // Verify that our counter starts at 0.
19 | expect(find.text('0'), findsOneWidget);
20 | expect(find.text('1'), findsNothing);
21 |
22 | // Tap the '+' icon and trigger a frame.
23 | await tester.tap(find.byIcon(Icons.add));
24 | await tester.pump();
25 |
26 | // Verify that our counter has incremented.
27 | expect(find.text('0'), findsNothing);
28 | expect(find.text('1'), findsOneWidget);
29 | });
30 | }
31 |
--------------------------------------------------------------------------------