├── .gitignore ├── .metadata ├── README.md ├── android ├── app │ ├── build.gradle │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── kotlin │ │ └── com │ │ │ └── nb │ │ │ └── flutteruishopping │ │ │ └── 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 ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── doc ├── 01-signup.jpg ├── 02-walk_through.jpg ├── 03-navigation.jpg ├── 04-profile.jpg ├── 05-feed.jpg ├── 06-chat.jpg ├── 07-shopping.jpg ├── 08-statistics.jpg ├── 09-media.jpg └── 10-camera.jpg ├── images └── main │ ├── ic_launcher.png │ └── main_background.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.h │ ├── AppDelegate.m │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ ├── Contents.json │ │ ├── Icon-App-1024x1024@1x.png │ │ ├── Icon-App-20x20@1x.png │ │ ├── Icon-App-20x20@2x.png │ │ ├── Icon-App-20x20@3x.png │ │ ├── Icon-App-29x29@1x.png │ │ ├── Icon-App-29x29@2x.png │ │ ├── Icon-App-29x29@3x.png │ │ ├── Icon-App-40x40@1x.png │ │ ├── Icon-App-40x40@2x.png │ │ ├── Icon-App-40x40@3x.png │ │ ├── Icon-App-60x60@2x.png │ │ ├── Icon-App-60x60@3x.png │ │ ├── Icon-App-76x76@1x.png │ │ ├── Icon-App-76x76@2x.png │ │ └── Icon-App-83.5x83.5@2x.png │ └── LaunchImage.imageset │ │ ├── Contents.json │ │ ├── LaunchImage.png │ │ ├── LaunchImage@2x.png │ │ ├── LaunchImage@3x.png │ │ └── README.md │ ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard │ ├── Info.plist │ └── main.m ├── lib ├── const │ ├── color_const.dart │ ├── images_const.dart │ ├── page_str_const.dart │ ├── size_const.dart │ └── string_const.dart ├── item │ ├── Menu.dart │ └── menu_stream.dart ├── main.dart ├── page │ ├── camera │ │ └── CameraPageOne.dart │ ├── chat │ │ └── ChatPageOne.dart │ ├── empty_page.dart │ ├── feed │ │ └── FeedPageOne.dart │ ├── home_page.dart │ ├── media │ │ └── MediaPageOne.dart │ ├── navigation │ │ └── NavigationPageOne.dart │ ├── page_const.dart │ ├── profile │ │ └── ProfilePageOne.dart │ ├── shopping │ │ └── ShopPageOne.dart │ ├── signup │ │ ├── SignPageOne.dart │ │ └── SignPageTwo.dart │ ├── statistics │ │ └── StatisticPageOne.dart │ └── walkthrough │ │ └── WalkThPageOne.dart └── view │ └── AboutMeTitle.dart ├── pubspec.yaml └── test └── widget_test.dart /.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.lock 4 | *.log 5 | *.pyc 6 | *.swp 7 | .DS_Store 8 | .atom/ 9 | .buildlog/ 10 | .history 11 | .svn/ 12 | 13 | # IntelliJ related 14 | *.iml 15 | *.ipr 16 | *.iws 17 | .idea/ 18 | 19 | # Visual Studio Code related 20 | .vscode/ 21 | 22 | # Flutter/Dart/Pub related 23 | **/doc/api/ 24 | .dart_tool/ 25 | .flutter-plugins 26 | .packages 27 | .pub-cache/ 28 | .pub/ 29 | build/ 30 | 31 | # Android related 32 | **/android/**/gradle-wrapper.jar 33 | **/android/.gradle 34 | **/android/captures/ 35 | **/android/gradlew 36 | **/android/gradlew.bat 37 | **/android/local.properties 38 | **/android/**/GeneratedPluginRegistrant.java 39 | 40 | # iOS/XCode related 41 | **/ios/**/*.mode1v3 42 | **/ios/**/*.mode2v3 43 | **/ios/**/*.moved-aside 44 | **/ios/**/*.pbxuser 45 | **/ios/**/*.perspectivev3 46 | **/ios/**/*sync/ 47 | **/ios/**/.sconsign.dblite 48 | **/ios/**/.tags* 49 | **/ios/**/.vagrant/ 50 | **/ios/**/DerivedData/ 51 | **/ios/**/Icon? 52 | **/ios/**/Pods/ 53 | **/ios/**/.symlinks/ 54 | **/ios/**/ui.profile 55 | **/ios/**/xcuserdata 56 | **/ios/.generated/ 57 | **/ios/Flutter/App.framework 58 | **/ios/Flutter/Flutter.framework 59 | **/ios/Flutter/Generated.xcconfig 60 | **/ios/Flutter/app.flx 61 | **/ios/Flutter/app.zip 62 | **/ios/Flutter/flutter_assets/ 63 | **/ios/ServiceDefinitions.json 64 | **/ios/Runner/GeneratedPluginRegistrant.* 65 | 66 | # Exceptions to above rules. 67 | !**/ios/**/default.mode1v3 68 | !**/ios/**/default.mode2v3 69 | !**/ios/**/default.pbxuser 70 | !**/ios/**/default.perspectivev3 71 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages 72 | -------------------------------------------------------------------------------- /.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: 8426910a19abc4ab081c58fd1a72c433353eaa31 8 | channel: master 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # flutter_ui_shopping 2 | ### :heart: Star :heart: the repo to support the project or :smile:[Follow Me](https://github.com/nb312).Thanks! 3 | The project is developing,please wait. 4 | This project will comply with many people. 5 | If you interest in this project please let me know.[My Facebook](https://www.facebook.com/profile.php?id=100018259667795) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /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 27 30 | 31 | sourceSets { 32 | main.java.srcDirs += 'src/main/kotlin' 33 | } 34 | 35 | lintOptions { 36 | disable 'InvalidPackage' 37 | } 38 | 39 | defaultConfig { 40 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 41 | applicationId "com.nb.flutteruishopping" 42 | minSdkVersion 16 43 | targetSdkVersion 27 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/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 8 | 9 | 10 | 15 | 19 | 26 | 30 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /android/app/src/main/kotlin/com/nb/flutteruishopping/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.nb.flutteruishopping 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/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | 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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /doc/01-signup.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/doc/01-signup.jpg -------------------------------------------------------------------------------- /doc/02-walk_through.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/doc/02-walk_through.jpg -------------------------------------------------------------------------------- /doc/03-navigation.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/doc/03-navigation.jpg -------------------------------------------------------------------------------- /doc/04-profile.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/doc/04-profile.jpg -------------------------------------------------------------------------------- /doc/05-feed.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/doc/05-feed.jpg -------------------------------------------------------------------------------- /doc/06-chat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/doc/06-chat.jpg -------------------------------------------------------------------------------- /doc/07-shopping.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/doc/07-shopping.jpg -------------------------------------------------------------------------------- /doc/08-statistics.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/doc/08-statistics.jpg -------------------------------------------------------------------------------- /doc/09-media.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/doc/09-media.jpg -------------------------------------------------------------------------------- /doc/10-camera.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/doc/10-camera.jpg -------------------------------------------------------------------------------- /images/main/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/images/main/ic_launcher.png -------------------------------------------------------------------------------- /images/main/main_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/images/main/main_background.png -------------------------------------------------------------------------------- /ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | App 9 | CFBundleIdentifier 10 | io.flutter.flutter.app 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | App 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | 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 | 2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */ = {isa = PBXBuildFile; fileRef = 2D5378251FAA1A9400D5DBA9 /* flutter_assets */; }; 12 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 13 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; }; 14 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 15 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; }; 16 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 17 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; }; 18 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; }; 19 | 97C146F31CF9000F007C117D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 97C146F21CF9000F007C117D /* main.m */; }; 20 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 21 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 22 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 23 | /* End PBXBuildFile section */ 24 | 25 | /* Begin PBXCopyFilesBuildPhase section */ 26 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 27 | isa = PBXCopyFilesBuildPhase; 28 | buildActionMask = 2147483647; 29 | dstPath = ""; 30 | dstSubfolderSpec = 10; 31 | files = ( 32 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */, 33 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */, 34 | ); 35 | name = "Embed Frameworks"; 36 | runOnlyForDeploymentPostprocessing = 0; 37 | }; 38 | /* End PBXCopyFilesBuildPhase section */ 39 | 40 | /* Begin PBXFileReference section */ 41 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 42 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 43 | 2D5378251FAA1A9400D5DBA9 /* flutter_assets */ = {isa = PBXFileReference; lastKnownFileType = folder; name = flutter_assets; path = Flutter/flutter_assets; sourceTree = SOURCE_ROOT; }; 44 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 45 | 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; }; 46 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 47 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 48 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 49 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 50 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 51 | 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; }; 52 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 53 | 97C146F21CF9000F007C117D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 54 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 55 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 56 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 57 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 58 | /* End PBXFileReference section */ 59 | 60 | /* Begin PBXFrameworksBuildPhase section */ 61 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 62 | isa = PBXFrameworksBuildPhase; 63 | buildActionMask = 2147483647; 64 | files = ( 65 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */, 66 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */, 67 | ); 68 | runOnlyForDeploymentPostprocessing = 0; 69 | }; 70 | /* End PBXFrameworksBuildPhase section */ 71 | 72 | /* Begin PBXGroup section */ 73 | 9740EEB11CF90186004384FC /* Flutter */ = { 74 | isa = PBXGroup; 75 | children = ( 76 | 2D5378251FAA1A9400D5DBA9 /* flutter_assets */, 77 | 3B80C3931E831B6300D905FE /* App.framework */, 78 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 79 | 9740EEBA1CF902C7004384FC /* Flutter.framework */, 80 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 81 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 82 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 83 | ); 84 | name = Flutter; 85 | sourceTree = ""; 86 | }; 87 | 97C146E51CF9000F007C117D = { 88 | isa = PBXGroup; 89 | children = ( 90 | 9740EEB11CF90186004384FC /* Flutter */, 91 | 97C146F01CF9000F007C117D /* Runner */, 92 | 97C146EF1CF9000F007C117D /* Products */, 93 | CF3B75C9A7D2FA2A4C99F110 /* Frameworks */, 94 | ); 95 | sourceTree = ""; 96 | }; 97 | 97C146EF1CF9000F007C117D /* Products */ = { 98 | isa = PBXGroup; 99 | children = ( 100 | 97C146EE1CF9000F007C117D /* Runner.app */, 101 | ); 102 | name = Products; 103 | sourceTree = ""; 104 | }; 105 | 97C146F01CF9000F007C117D /* Runner */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */, 109 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */, 110 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 111 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 112 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 113 | 97C147021CF9000F007C117D /* Info.plist */, 114 | 97C146F11CF9000F007C117D /* Supporting Files */, 115 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 116 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 117 | ); 118 | path = Runner; 119 | sourceTree = ""; 120 | }; 121 | 97C146F11CF9000F007C117D /* Supporting Files */ = { 122 | isa = PBXGroup; 123 | children = ( 124 | 97C146F21CF9000F007C117D /* main.m */, 125 | ); 126 | name = "Supporting Files"; 127 | sourceTree = ""; 128 | }; 129 | /* End PBXGroup section */ 130 | 131 | /* Begin PBXNativeTarget section */ 132 | 97C146ED1CF9000F007C117D /* Runner */ = { 133 | isa = PBXNativeTarget; 134 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 135 | buildPhases = ( 136 | 9740EEB61CF901F6004384FC /* Run Script */, 137 | 97C146EA1CF9000F007C117D /* Sources */, 138 | 97C146EB1CF9000F007C117D /* Frameworks */, 139 | 97C146EC1CF9000F007C117D /* Resources */, 140 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 141 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 142 | ); 143 | buildRules = ( 144 | ); 145 | dependencies = ( 146 | ); 147 | name = Runner; 148 | productName = Runner; 149 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 150 | productType = "com.apple.product-type.application"; 151 | }; 152 | /* End PBXNativeTarget section */ 153 | 154 | /* Begin PBXProject section */ 155 | 97C146E61CF9000F007C117D /* Project object */ = { 156 | isa = PBXProject; 157 | attributes = { 158 | LastUpgradeCheck = 0910; 159 | ORGANIZATIONNAME = "The Chromium Authors"; 160 | TargetAttributes = { 161 | 97C146ED1CF9000F007C117D = { 162 | CreatedOnToolsVersion = 7.3.1; 163 | }; 164 | }; 165 | }; 166 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 167 | compatibilityVersion = "Xcode 3.2"; 168 | developmentRegion = English; 169 | hasScannedForEncodings = 0; 170 | knownRegions = ( 171 | en, 172 | Base, 173 | ); 174 | mainGroup = 97C146E51CF9000F007C117D; 175 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 176 | projectDirPath = ""; 177 | projectRoot = ""; 178 | targets = ( 179 | 97C146ED1CF9000F007C117D /* Runner */, 180 | ); 181 | }; 182 | /* End PBXProject section */ 183 | 184 | /* Begin PBXResourcesBuildPhase section */ 185 | 97C146EC1CF9000F007C117D /* Resources */ = { 186 | isa = PBXResourcesBuildPhase; 187 | buildActionMask = 2147483647; 188 | files = ( 189 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 190 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 191 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */, 192 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 193 | 2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */, 194 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 195 | ); 196 | runOnlyForDeploymentPostprocessing = 0; 197 | }; 198 | /* End PBXResourcesBuildPhase section */ 199 | 200 | /* Begin PBXShellScriptBuildPhase section */ 201 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 202 | isa = PBXShellScriptBuildPhase; 203 | buildActionMask = 2147483647; 204 | files = ( 205 | ); 206 | inputPaths = ( 207 | ); 208 | name = "Thin Binary"; 209 | outputPaths = ( 210 | ); 211 | runOnlyForDeploymentPostprocessing = 0; 212 | shellPath = /bin/sh; 213 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin"; 214 | }; 215 | 9740EEB61CF901F6004384FC /* Run Script */ = { 216 | isa = PBXShellScriptBuildPhase; 217 | buildActionMask = 2147483647; 218 | files = ( 219 | ); 220 | inputPaths = ( 221 | ); 222 | name = "Run Script"; 223 | outputPaths = ( 224 | ); 225 | runOnlyForDeploymentPostprocessing = 0; 226 | shellPath = /bin/sh; 227 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 228 | }; 229 | /* End PBXShellScriptBuildPhase section */ 230 | 231 | /* Begin PBXSourcesBuildPhase section */ 232 | 97C146EA1CF9000F007C117D /* Sources */ = { 233 | isa = PBXSourcesBuildPhase; 234 | buildActionMask = 2147483647; 235 | files = ( 236 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */, 237 | 97C146F31CF9000F007C117D /* main.m in Sources */, 238 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 239 | ); 240 | runOnlyForDeploymentPostprocessing = 0; 241 | }; 242 | /* End PBXSourcesBuildPhase section */ 243 | 244 | /* Begin PBXVariantGroup section */ 245 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 246 | isa = PBXVariantGroup; 247 | children = ( 248 | 97C146FB1CF9000F007C117D /* Base */, 249 | ); 250 | name = Main.storyboard; 251 | sourceTree = ""; 252 | }; 253 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 254 | isa = PBXVariantGroup; 255 | children = ( 256 | 97C147001CF9000F007C117D /* Base */, 257 | ); 258 | name = LaunchScreen.storyboard; 259 | sourceTree = ""; 260 | }; 261 | /* End PBXVariantGroup section */ 262 | 263 | /* Begin XCBuildConfiguration section */ 264 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 265 | isa = XCBuildConfiguration; 266 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 267 | buildSettings = { 268 | ALWAYS_SEARCH_USER_PATHS = NO; 269 | CLANG_ANALYZER_NONNULL = YES; 270 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 271 | CLANG_CXX_LIBRARY = "libc++"; 272 | CLANG_ENABLE_MODULES = YES; 273 | CLANG_ENABLE_OBJC_ARC = YES; 274 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 275 | CLANG_WARN_BOOL_CONVERSION = YES; 276 | CLANG_WARN_COMMA = YES; 277 | CLANG_WARN_CONSTANT_CONVERSION = YES; 278 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 279 | CLANG_WARN_EMPTY_BODY = YES; 280 | CLANG_WARN_ENUM_CONVERSION = YES; 281 | CLANG_WARN_INFINITE_RECURSION = YES; 282 | CLANG_WARN_INT_CONVERSION = YES; 283 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 284 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 285 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 286 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 287 | CLANG_WARN_STRICT_PROTOTYPES = YES; 288 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 289 | CLANG_WARN_UNREACHABLE_CODE = YES; 290 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 291 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 292 | COPY_PHASE_STRIP = NO; 293 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 294 | ENABLE_NS_ASSERTIONS = NO; 295 | ENABLE_STRICT_OBJC_MSGSEND = YES; 296 | GCC_C_LANGUAGE_STANDARD = gnu99; 297 | GCC_NO_COMMON_BLOCKS = YES; 298 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 299 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 300 | GCC_WARN_UNDECLARED_SELECTOR = YES; 301 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 302 | GCC_WARN_UNUSED_FUNCTION = YES; 303 | GCC_WARN_UNUSED_VARIABLE = YES; 304 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 305 | MTL_ENABLE_DEBUG_INFO = NO; 306 | SDKROOT = iphoneos; 307 | TARGETED_DEVICE_FAMILY = "1,2"; 308 | VALIDATE_PRODUCT = YES; 309 | }; 310 | name = Profile; 311 | }; 312 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 313 | isa = XCBuildConfiguration; 314 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 315 | buildSettings = { 316 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 317 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 318 | DEVELOPMENT_TEAM = S8QB4VV633; 319 | ENABLE_BITCODE = NO; 320 | FRAMEWORK_SEARCH_PATHS = ( 321 | "$(inherited)", 322 | "$(PROJECT_DIR)/Flutter", 323 | ); 324 | INFOPLIST_FILE = Runner/Info.plist; 325 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 326 | LIBRARY_SEARCH_PATHS = ( 327 | "$(inherited)", 328 | "$(PROJECT_DIR)/Flutter", 329 | ); 330 | PRODUCT_BUNDLE_IDENTIFIER = com.nb.flutterUiShopping; 331 | PRODUCT_NAME = "$(TARGET_NAME)"; 332 | VERSIONING_SYSTEM = "apple-generic"; 333 | }; 334 | name = Profile; 335 | }; 336 | 97C147031CF9000F007C117D /* Debug */ = { 337 | isa = XCBuildConfiguration; 338 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 339 | buildSettings = { 340 | ALWAYS_SEARCH_USER_PATHS = NO; 341 | CLANG_ANALYZER_NONNULL = YES; 342 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 343 | CLANG_CXX_LIBRARY = "libc++"; 344 | CLANG_ENABLE_MODULES = YES; 345 | CLANG_ENABLE_OBJC_ARC = YES; 346 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 347 | CLANG_WARN_BOOL_CONVERSION = YES; 348 | CLANG_WARN_COMMA = YES; 349 | CLANG_WARN_CONSTANT_CONVERSION = YES; 350 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 351 | CLANG_WARN_EMPTY_BODY = YES; 352 | CLANG_WARN_ENUM_CONVERSION = YES; 353 | CLANG_WARN_INFINITE_RECURSION = YES; 354 | CLANG_WARN_INT_CONVERSION = YES; 355 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 356 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 357 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 358 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 359 | CLANG_WARN_STRICT_PROTOTYPES = YES; 360 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 361 | CLANG_WARN_UNREACHABLE_CODE = YES; 362 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 363 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 364 | COPY_PHASE_STRIP = NO; 365 | DEBUG_INFORMATION_FORMAT = dwarf; 366 | ENABLE_STRICT_OBJC_MSGSEND = YES; 367 | ENABLE_TESTABILITY = YES; 368 | GCC_C_LANGUAGE_STANDARD = gnu99; 369 | GCC_DYNAMIC_NO_PIC = NO; 370 | GCC_NO_COMMON_BLOCKS = YES; 371 | GCC_OPTIMIZATION_LEVEL = 0; 372 | GCC_PREPROCESSOR_DEFINITIONS = ( 373 | "DEBUG=1", 374 | "$(inherited)", 375 | ); 376 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 377 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 378 | GCC_WARN_UNDECLARED_SELECTOR = YES; 379 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 380 | GCC_WARN_UNUSED_FUNCTION = YES; 381 | GCC_WARN_UNUSED_VARIABLE = YES; 382 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 383 | MTL_ENABLE_DEBUG_INFO = YES; 384 | ONLY_ACTIVE_ARCH = YES; 385 | SDKROOT = iphoneos; 386 | TARGETED_DEVICE_FAMILY = "1,2"; 387 | }; 388 | name = Debug; 389 | }; 390 | 97C147041CF9000F007C117D /* Release */ = { 391 | isa = XCBuildConfiguration; 392 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 393 | buildSettings = { 394 | ALWAYS_SEARCH_USER_PATHS = NO; 395 | CLANG_ANALYZER_NONNULL = YES; 396 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 397 | CLANG_CXX_LIBRARY = "libc++"; 398 | CLANG_ENABLE_MODULES = YES; 399 | CLANG_ENABLE_OBJC_ARC = YES; 400 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 401 | CLANG_WARN_BOOL_CONVERSION = YES; 402 | CLANG_WARN_COMMA = YES; 403 | CLANG_WARN_CONSTANT_CONVERSION = YES; 404 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 405 | CLANG_WARN_EMPTY_BODY = YES; 406 | CLANG_WARN_ENUM_CONVERSION = YES; 407 | CLANG_WARN_INFINITE_RECURSION = YES; 408 | CLANG_WARN_INT_CONVERSION = YES; 409 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = 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 | TARGETED_DEVICE_FAMILY = "1,2"; 434 | VALIDATE_PRODUCT = YES; 435 | }; 436 | name = Release; 437 | }; 438 | 97C147061CF9000F007C117D /* Debug */ = { 439 | isa = XCBuildConfiguration; 440 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 441 | buildSettings = { 442 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 443 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 444 | ENABLE_BITCODE = NO; 445 | FRAMEWORK_SEARCH_PATHS = ( 446 | "$(inherited)", 447 | "$(PROJECT_DIR)/Flutter", 448 | ); 449 | INFOPLIST_FILE = Runner/Info.plist; 450 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 451 | LIBRARY_SEARCH_PATHS = ( 452 | "$(inherited)", 453 | "$(PROJECT_DIR)/Flutter", 454 | ); 455 | PRODUCT_BUNDLE_IDENTIFIER = com.nb.flutterUiShopping; 456 | PRODUCT_NAME = "$(TARGET_NAME)"; 457 | VERSIONING_SYSTEM = "apple-generic"; 458 | }; 459 | name = Debug; 460 | }; 461 | 97C147071CF9000F007C117D /* Release */ = { 462 | isa = XCBuildConfiguration; 463 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 464 | buildSettings = { 465 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 466 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 467 | ENABLE_BITCODE = NO; 468 | FRAMEWORK_SEARCH_PATHS = ( 469 | "$(inherited)", 470 | "$(PROJECT_DIR)/Flutter", 471 | ); 472 | INFOPLIST_FILE = Runner/Info.plist; 473 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 474 | LIBRARY_SEARCH_PATHS = ( 475 | "$(inherited)", 476 | "$(PROJECT_DIR)/Flutter", 477 | ); 478 | PRODUCT_BUNDLE_IDENTIFIER = com.nb.flutterUiShopping; 479 | PRODUCT_NAME = "$(TARGET_NAME)"; 480 | VERSIONING_SYSTEM = "apple-generic"; 481 | }; 482 | name = Release; 483 | }; 484 | /* End XCBuildConfiguration section */ 485 | 486 | /* Begin XCConfigurationList section */ 487 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 488 | isa = XCConfigurationList; 489 | buildConfigurations = ( 490 | 97C147031CF9000F007C117D /* Debug */, 491 | 97C147041CF9000F007C117D /* Release */, 492 | 249021D3217E4FDB00AE95B9 /* Profile */, 493 | ); 494 | defaultConfigurationIsVisible = 0; 495 | defaultConfigurationName = Release; 496 | }; 497 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 498 | isa = XCConfigurationList; 499 | buildConfigurations = ( 500 | 97C147061CF9000F007C117D /* Debug */, 501 | 97C147071CF9000F007C117D /* Release */, 502 | 249021D4217E4FDB00AE95B9 /* Profile */, 503 | ); 504 | defaultConfigurationIsVisible = 0; 505 | defaultConfigurationName = Release; 506 | }; 507 | /* End XCConfigurationList section */ 508 | }; 509 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 510 | } 511 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 31 | 32 | 33 | 34 | 40 | 41 | 42 | 43 | 44 | 45 | 56 | 58 | 64 | 65 | 66 | 67 | 68 | 69 | 75 | 77 | 83 | 84 | 85 | 86 | 88 | 89 | 92 | 93 | 94 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | @interface AppDelegate : FlutterAppDelegate 5 | 6 | @end 7 | -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.m: -------------------------------------------------------------------------------- 1 | #include "AppDelegate.h" 2 | #include "GeneratedPluginRegistrant.h" 3 | 4 | @implementation AppDelegate 5 | 6 | - (BOOL)application:(UIApplication *)application 7 | didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 8 | [GeneratedPluginRegistrant registerWithRegistry:self]; 9 | // Override point for customization after application launch. 10 | return [super application:application didFinishLaunchingWithOptions:launchOptions]; 11 | } 12 | 13 | @end 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/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/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/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/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/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/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/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/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/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/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/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/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/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/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/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/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/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/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/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/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/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/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/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/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/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/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/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/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/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/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/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcioQuimbundo/flutter-ui-nice/e33dd304e0795a5b2b69711d78ab12f25bf3e31c/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- 1 | # Launch Screen Assets 2 | 3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory. 4 | 5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | flutter_ui_shopping 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/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | #import "AppDelegate.h" 4 | 5 | int main(int argc, char* argv[]) { 6 | @autoreleasepool { 7 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /lib/const/color_const.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// Created by NieBin on 18-12-14 3 | /// Github: https://github.com/nb312 4 | /// Email: niebin312@gmail.com 5 | /// 6 | import "package:flutter/material.dart"; 7 | 8 | const MAIN_COLOR = Color(0xFF303030); 9 | const DARK_COLOR = Color(0xFFBDBDBD); 10 | const BOTTOM_COLORS = [MAIN_COLOR, DARK_COLOR]; 11 | const YELLOW = Color(0xfffbed96); 12 | const BLUE = Color(0xffabecd6); 13 | const PURPLE = Color(0xffccc3fc); 14 | const RED = Color(0xffffb6b3); 15 | -------------------------------------------------------------------------------- /lib/const/images_const.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// Created by NieBin on 18-12-15 3 | /// Github: https://github.com/nb312 4 | /// Email: niebin312@gmail.com 5 | /// 6 | 7 | class ImagePath { 8 | //images 9 | static const String imageDir = "images"; 10 | static const String pkImage = "$imageDir/pk.jpg"; 11 | static const String profileImage = "$imageDir/ui.profile.jpg"; 12 | static const String blankImage = "$imageDir/blank.jpg"; 13 | static const String dashboardImage = "$imageDir/dashboard.jpg"; 14 | static const String loginImage = "$imageDir/login.jpg"; 15 | static const String paymentImage = "$imageDir/payment.jpg"; 16 | static const String settingsImage = "$imageDir/setting.jpeg"; 17 | static const String shoppingImage = "$imageDir/ui.shopping.jpeg"; 18 | static const String timelineImage = "$imageDir/timeline.jpeg"; 19 | static const String verifyImage = "$imageDir/verification.jpg"; 20 | static const String nbImage = "$imageDir/nb.jpeg"; 21 | } 22 | 23 | class MainImagePath { 24 | static const String image_path = "images/main"; 25 | static const String image_app = "$image_path/ic_launcher.png"; 26 | static const String image_header= "$image_path/main_background.png"; 27 | static const String image_sign_up = "$image_path/main_background.png"; 28 | static const String image_walk_through = "$image_path/main_background.png"; 29 | static const String image_navigation = "$image_path/main_background.png"; 30 | static const String image_profile = "$image_path/main_background.png"; 31 | static const String image_feed = "$image_path/main_background.png"; 32 | static const String image_chat = "$image_path/main_background.png"; 33 | static const String image_shopping = "$image_path/main_background.png"; 34 | static const String image_statistic = "$image_path/main_background.png"; 35 | static const String image_media = "$image_path/main_background.png"; 36 | static const String image_camera = "$image_path/main_background.png"; 37 | } 38 | -------------------------------------------------------------------------------- /lib/const/page_str_const.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// Created by NieBin on 2018/12/24 3 | /// Github: https://github.com/nb312 4 | /// Email: niebin312@gmail.com 5 | /// 6 | /// 7 | const SIGN_UP_PAGES = [ 8 | "Sign up page 01", 9 | "Sign up page 02", 10 | "Sign up page 03", 11 | "Sign up page 04", 12 | 13 | /// fixme you could add by your group one name fit one page. 14 | ]; 15 | const WALK_THROUGH_PAGES = [ 16 | "Walk through page 01", 17 | "Walk through page 02", 18 | "Walk through page 03", 19 | "Walk through page 04", 20 | "Walk through page 05", 21 | "Walk through page 06", 22 | 23 | /// fixme you could add by your group one name fit one page. 24 | ]; 25 | const NAVIGATION_PAGES = [ 26 | "Navigation page 01", 27 | "Navigation page 02", 28 | "Navigation page 03", 29 | "Navigation page 04", 30 | "Navigation page 05", 31 | 32 | /// fixme you could add by your group one name fit one page. 33 | ]; 34 | const PROFILE_PAGES = [ 35 | "Profile page 01", 36 | "Profile page 02", 37 | "Profile page 03", 38 | 39 | /// fixme you could add by your group one name fit one page. 40 | ]; 41 | const FEED_PAGES = [ 42 | "Feed page 01", 43 | "Feed page 02", 44 | "Feed page 03", 45 | 46 | /// fixme you could add by your group one name fit one page. 47 | ]; 48 | const CHAT_PAGES = [ 49 | "Chat page 01", 50 | "Chat page 02", 51 | "Chat page 03", 52 | 53 | /// fixme you could add by your group one name fit one page. 54 | ]; 55 | const SHOPPING_PAGES = [ 56 | "Shopping page 01", 57 | "Shopping page 02", 58 | "Shopping page 03", 59 | 60 | /// fixme you could add by your group one name fit one page. 61 | ]; 62 | const STATISTIC_PAGES = [ 63 | "Statistic page 01", 64 | "Statistic page 02", 65 | "Statistic page 03", 66 | 67 | /// fixme you could add by your group one name fit one page. 68 | ]; 69 | const MEDIA_PAGES = [ 70 | "Media page 01", 71 | "Media page 02", 72 | "Media page 03", 73 | 74 | /// fixme you could add by your group one name fit one page. 75 | ]; 76 | 77 | const CAMERA_PAGES = [ 78 | "Camera page 01", 79 | 80 | /// fixme you could add by your group one name fit one page. 81 | ]; 82 | -------------------------------------------------------------------------------- /lib/const/size_const.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// Created by NieBin on 18-12-14 3 | /// Github: https://github.com/nb312 4 | /// Email: niebin312@gmail.com 5 | /// 6 | const TEXT_LARGE_SIZE = 22.0; 7 | const TEXT_NORMAL_SIZE = 14.0; 8 | const TEXT_SMALL_SIZE = 10.0; 9 | -------------------------------------------------------------------------------- /lib/const/string_const.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// Created by NieBin on 18-12-14 3 | /// Github: https://github.com/nb312 4 | /// Email: niebin312@gmail.com 5 | /// 6 | /// 7 | 8 | ///TODO need international. 9 | class StringConst { 10 | //strings 11 | static const String APP_NAME = "Flutter UI Nice"; 12 | static const String CREATE_BY = "Created By Volunteer"; 13 | static const String DEVELOPER = "Volunteer"; 14 | static const String PROFESSION = "Flutter Developer"; 15 | static const String DEV_EMAIL = "niebin312@gmail.com"; 16 | } 17 | -------------------------------------------------------------------------------- /lib/item/Menu.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// Created by NieBin on 18-12-15 3 | /// Github: https://github.com/nb312 4 | /// Email: niebin312@gmail.com 5 | /// 6 | import 'package:flutter/material.dart'; 7 | 8 | class Menu { 9 | String title; 10 | IconData icon; 11 | String image; 12 | List items; 13 | BuildContext context; 14 | Color menuColor; 15 | 16 | Menu( 17 | {this.title, 18 | this.icon, 19 | this.image, 20 | this.items, 21 | this.context, 22 | this.menuColor}); 23 | } 24 | -------------------------------------------------------------------------------- /lib/item/menu_stream.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// Created by NieBin on 18-12-15 3 | /// Github: https://github.com/nb312 4 | /// Email: niebin312@gmail.com 5 | /// 6 | import 'dart:async'; 7 | import 'package:flutter/material.dart'; 8 | import 'package:flutter_ui_nice/item/Menu.dart'; 9 | import 'package:flutter_ui_nice/const/images_const.dart'; 10 | import 'package:flutter_ui_nice/const/page_str_const.dart'; 11 | 12 | const _MENU_STRINGS = [ 13 | {'title': "Sign Up", 'items': SIGN_UP_PAGES}, 14 | {'title': "Walk Through", 'items': WALK_THROUGH_PAGES}, 15 | {'title': "Navigation", 'items': NAVIGATION_PAGES}, 16 | {'title': "Profile", 'items': PROFILE_PAGES}, 17 | {'title': "Feed", 'items': FEED_PAGES}, 18 | {'title': "Chat", 'items': CHAT_PAGES}, 19 | {'title': "Shoppig", 'items': SHOPPING_PAGES}, 20 | {'title': "Statistics", 'items': STATISTIC_PAGES}, 21 | {'title': "Media", 'items': MEDIA_PAGES}, 22 | {'title': "Camera", 'items': CAMERA_PAGES}, 23 | ]; 24 | const _MENU_COLORS = [ 25 | 0xff050505, 26 | 0xffc8c4bd, 27 | 0xffc7d8f4, 28 | 0xff7f5741, 29 | 0xff261d33, 30 | 0xff2a8ccf, 31 | 0xffe19b6b, 32 | 0xffe19b6b, 33 | 0xffddcec2, 34 | 0xff261d33, 35 | ]; 36 | const _MENU_ICONS = [ 37 | Icons.airplanemode_active, 38 | Icons.live_help, 39 | Icons.location_on, 40 | Icons.account_box, 41 | Icons.feedback, 42 | Icons.chat, 43 | Icons.shopping_cart, 44 | Icons.all_inclusive, 45 | Icons.play_circle_outline, 46 | Icons.linked_camera, 47 | ]; 48 | const _IMAGE_PATHS = [ 49 | MainImagePath.image_sign_up, 50 | MainImagePath.image_walk_through, 51 | MainImagePath.image_navigation, 52 | MainImagePath.image_profile, 53 | MainImagePath.image_feed, 54 | MainImagePath.image_chat, 55 | MainImagePath.image_shopping, 56 | MainImagePath.image_statistic, 57 | MainImagePath.image_media, 58 | MainImagePath.image_camera, 59 | ]; 60 | 61 | class MenuController { 62 | final controller = StreamController>(); 63 | 64 | Stream> get menuItems => controller.stream; 65 | 66 | MenuController({List menus}) { 67 | controller.add(menus ?? _defaultMenus()); 68 | } 69 | 70 | static String _title(index) { 71 | return _MENU_STRINGS[index % _MENU_STRINGS.length]['title']; 72 | } 73 | 74 | static List _items(index) { 75 | return _MENU_STRINGS[index % _MENU_STRINGS.length]['items']; 76 | } 77 | 78 | List _defaultMenus() { 79 | var list = List(); 80 | for (int i = 0; i < _MENU_STRINGS.length; i++) { 81 | list.add(Menu( 82 | title: _title(i), 83 | icon: _MENU_ICONS[i], 84 | menuColor: Color(_MENU_COLORS[i]), 85 | image: _IMAGE_PATHS[i], 86 | items: _items(i))); 87 | } 88 | return list; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_ui_nice/page/page_const.dart'; 3 | import 'const/string_const.dart'; 4 | import 'const/color_const.dart'; 5 | import 'const/page_str_const.dart'; 6 | import "page/page_const.dart"; 7 | 8 | void main() => runApp(MyApp()); 9 | 10 | class MyApp extends StatelessWidget { 11 | // This widget is the root of your application. 12 | @override 13 | Widget build(BuildContext context) { 14 | return MaterialApp( 15 | title: StringConst.APP_NAME, 16 | debugShowCheckedModeBanner: false, 17 | theme: ThemeData(primaryColor: MAIN_COLOR, accentColor: MAIN_COLOR), 18 | home: HomePage(), 19 | routes: { 20 | SIGN_UP_PAGES[0]: (context) => SignPageOne(), 21 | SIGN_UP_PAGES[1]: (context) => SignPageTwo(), 22 | //FIXME there are other pages to jump with 'page_str_const.dart',there should be make by manager 23 | 24 | }, 25 | onUnknownRoute: (setting) => 26 | MaterialPageRoute(builder: (context) => EmptyPage()), 27 | ); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /lib/page/camera/CameraPageOne.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// Created by NieBin on 2018/12/25 3 | /// Github: https://github.com/nb312 4 | /// Email: niebin312@gmail.com 5 | /// 6 | import "package:flutter/material.dart"; 7 | 8 | class CameraPageOne extends StatefulWidget { 9 | @override 10 | _CameraState createState() => _CameraState(); 11 | } 12 | 13 | class _CameraState extends State { 14 | @override 15 | Widget build(BuildContext context) { 16 | return Scaffold( 17 | appBar: AppBar( 18 | title: Text("Camera one"), 19 | ), 20 | body: Text("Camera page one"), 21 | ); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /lib/page/chat/ChatPageOne.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// Created by NieBin on 2018/12/25 3 | /// Github: https://github.com/nb312 4 | /// Email: niebin312@gmail.com 5 | /// 6 | import "package:flutter/material.dart"; 7 | 8 | class ChatPageOne extends StatefulWidget { 9 | @override 10 | _ChatState createState() => _ChatState(); 11 | } 12 | 13 | class _ChatState extends State { 14 | @override 15 | Widget build(BuildContext context) { 16 | return Scaffold( 17 | appBar: AppBar( 18 | title: Text("Chat one"), 19 | ), 20 | body: Text("Chat page one"), 21 | ); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /lib/page/empty_page.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// Created by NieBin on 18-12-24 3 | /// Github: https://github.com/nb312 4 | /// Email: niebin312@gmail.com 5 | /// 6 | import "package:flutter/material.dart"; 7 | 8 | class EmptyPage extends StatefulWidget { 9 | @override 10 | _EmptyState createState() => _EmptyState(); 11 | } 12 | 13 | class _EmptyState extends State { 14 | @override 15 | Widget build(BuildContext context) { 16 | return Scaffold( 17 | appBar: AppBar( 18 | title: Text("Empty page"), 19 | ), 20 | body: Text("Empty"), 21 | ); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /lib/page/feed/FeedPageOne.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// Created by NieBin on 2018/12/25 3 | /// Github: https://github.com/nb312 4 | /// Email: niebin312@gmail.com 5 | /// 6 | import "package:flutter/material.dart"; 7 | 8 | class FeedPageOne extends StatefulWidget { 9 | @override 10 | _FeedState createState() => _FeedState(); 11 | } 12 | 13 | class _FeedState extends State { 14 | @override 15 | Widget build(BuildContext context) { 16 | return Scaffold( 17 | appBar: AppBar( 18 | title: Text("Feed one"), 19 | ), 20 | body: Text("Feed page one"), 21 | ); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /lib/page/home_page.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// Created by NieBin on 18-12-14 3 | /// Github: https://github.com/nb312 4 | /// Email: niebin312@gmail.com 5 | /// 6 | import "package:flutter/material.dart"; 7 | import 'package:flutter_ui_nice/item/menu_stream.dart'; 8 | import 'package:flutter_ui_nice/item/Menu.dart'; 9 | import 'package:flutter_ui_nice/const/string_const.dart'; 10 | import 'package:flutter_ui_nice/view/AboutMeTitle.dart'; 11 | import 'package:flutter_ui_nice/const/size_const.dart'; 12 | import 'package:flutter_ui_nice/const/images_const.dart'; 13 | import 'package:flutter_ui_nice/const/color_const.dart'; 14 | 15 | class HomePage extends StatelessWidget { 16 | final _scaffoldState = GlobalKey(); 17 | 18 | Widget _topBar() => SliverAppBar( 19 | elevation: 1.0, 20 | pinned: true, 21 | expandedHeight: 150.0, 22 | flexibleSpace: FlexibleSpaceBar( 23 | title: Padding( 24 | padding: EdgeInsets.only(top: 10.0), 25 | child: Row( 26 | children: [ 27 | Image.asset( 28 | MainImagePath.image_app, 29 | width: 40, 30 | height: 40, 31 | ), 32 | SizedBox( 33 | width: 6.0, 34 | ), 35 | Text( 36 | StringConst.APP_NAME, 37 | style: TextStyle(color: Colors.white), 38 | ) 39 | ], 40 | ), 41 | ), 42 | background: Container( 43 | decoration: BoxDecoration( 44 | gradient: LinearGradient(colors: [ 45 | YELLOW, 46 | BLUE, 47 | ]), 48 | ), 49 | ), 50 | collapseMode: CollapseMode.pin, 51 | ), 52 | ); 53 | 54 | Widget _menuItem(context, item) { 55 | return InkWell( 56 | child: Container( 57 | padding: EdgeInsets.symmetric(horizontal: 20.0), 58 | decoration: BoxDecoration(boxShadow: [ 59 | BoxShadow( 60 | color: Colors.grey[800], 61 | offset: Offset(0.0, 2.0), 62 | ) 63 | ]), 64 | constraints: BoxConstraints.expand(height: 60.0), 65 | child: Column( 66 | crossAxisAlignment: CrossAxisAlignment.start, 67 | mainAxisAlignment: MainAxisAlignment.center, 68 | children: [ 69 | Text( 70 | item, 71 | style: TextStyle( 72 | color: Colors.white, 73 | fontSize: TEXT_NORMAL_SIZE, 74 | fontWeight: FontWeight.w700), 75 | ), 76 | ] 77 | // Divider( 78 | // height: 1.0, 79 | // color: Colors.white, 80 | // ) 81 | // ], 82 | ), 83 | ), 84 | onTap: () { 85 | Navigator.pop(context); 86 | Navigator.pushNamed(context, "$item"); 87 | }, 88 | ); 89 | } 90 | 91 | Widget _menuList(Menu menu) { 92 | return ListView.builder( 93 | itemBuilder: (context, index) { 94 | return _menuItem(context, menu.items[index]); 95 | }, 96 | itemCount: menu.items.length, 97 | ); 98 | } 99 | 100 | Widget _header() { 101 | return Ink( 102 | child: Container( 103 | padding: EdgeInsets.symmetric(horizontal: 20.0, vertical: 4.0), 104 | decoration: BoxDecoration( 105 | gradient: LinearGradient(colors: [ 106 | PURPLE, 107 | Colors.grey[900], 108 | ]), 109 | ), 110 | constraints: BoxConstraints.expand(height: 80.0), 111 | child: Center( 112 | child: Row( 113 | children: [ 114 | CircleAvatar( 115 | radius: 30.0, 116 | backgroundImage: AssetImage(MainImagePath.image_header), 117 | ), 118 | SizedBox( 119 | width: 20.0, 120 | ), 121 | Text( 122 | StringConst.CREATE_BY, 123 | style: 124 | TextStyle(color: Colors.white, fontSize: TEXT_NORMAL_SIZE), 125 | ), 126 | ], 127 | ), 128 | ), 129 | ), 130 | ); 131 | } 132 | 133 | void _clickMenu(context, Menu menu) { 134 | showModalBottomSheet( 135 | context: context, 136 | builder: (context) => Material( 137 | color: Colors.white, 138 | clipBehavior: Clip.antiAliasWithSaveLayer, 139 | shape: RoundedRectangleBorder( 140 | borderRadius: BorderRadius.only( 141 | topLeft: Radius.circular(20.0), 142 | topRight: Radius.circular(20.0))), 143 | child: Column( 144 | mainAxisAlignment: MainAxisAlignment.spaceAround, 145 | children: [ 146 | _header(), 147 | Expanded( 148 | child: _menuList(menu), 149 | ), 150 | AboutMeTitle(), 151 | ], 152 | ), 153 | ), 154 | ); 155 | } 156 | 157 | Widget _gridItem(context, Menu menu) => InkWell( 158 | onTap: () { 159 | _clickMenu(context, menu); 160 | }, 161 | child: Stack( 162 | fit: StackFit.expand, 163 | children: [ 164 | Image.asset( 165 | menu.image, 166 | fit: BoxFit.cover, 167 | ), 168 | Container( 169 | constraints: BoxConstraints.expand(), 170 | decoration: BoxDecoration( 171 | gradient: RadialGradient( 172 | colors: [PURPLE, Colors.grey[850].withOpacity(0.9)], 173 | radius: 0.3), 174 | ), 175 | ), 176 | Container( 177 | constraints: BoxConstraints.expand(), 178 | child: Center( 179 | child: Column( 180 | mainAxisAlignment: MainAxisAlignment.center, 181 | crossAxisAlignment: CrossAxisAlignment.center, 182 | children: [ 183 | Icon( 184 | menu.icon, 185 | color: Colors.white, 186 | ), 187 | SizedBox( 188 | height: 4.0, 189 | ), 190 | Text( 191 | menu.title, 192 | style: TextStyle( 193 | color: Colors.white, fontWeight: FontWeight.w700), 194 | ) 195 | ], 196 | ), 197 | ), 198 | ) 199 | ], 200 | ), 201 | ); 202 | 203 | Widget _gridView(BuildContext context, List list) => SliverGrid( 204 | gridDelegate: SliverGridDelegateWithFixedCrossAxisCount( 205 | mainAxisSpacing: 4.0, 206 | crossAxisSpacing: 4.0, 207 | childAspectRatio: 1.0, 208 | crossAxisCount: 2), 209 | delegate: SliverChildBuilderDelegate((context, index) { 210 | var menu = list[index]; 211 | return _gridItem(context, menu); 212 | }, childCount: list.length), 213 | ); 214 | 215 | Widget _streamBuild(context) { 216 | var controller = MenuController(); 217 | return StreamBuilder( 218 | builder: (context, shot) { 219 | return shot.hasData 220 | ? CustomScrollView( 221 | slivers: [_topBar(), _gridView(context, shot.data)], 222 | ) 223 | : Center( 224 | child: CircularProgressIndicator(), 225 | ); 226 | }, 227 | stream: controller.menuItems, 228 | ); 229 | } 230 | 231 | Widget _showAndroid(context) { 232 | return Theme( 233 | data: Theme.of(context).copyWith(canvasColor: Colors.transparent), 234 | child: Scaffold( 235 | key: _scaffoldState, 236 | body: _streamBuild(context), 237 | ), 238 | ); 239 | } 240 | 241 | @override 242 | Widget build(BuildContext context) { 243 | return _showAndroid(context); 244 | } 245 | } 246 | -------------------------------------------------------------------------------- /lib/page/media/MediaPageOne.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// Created by NieBin on 2018/12/25 3 | /// Github: https://github.com/nb312 4 | /// Email: niebin312@gmail.com 5 | /// 6 | import "package:flutter/material.dart"; 7 | 8 | class MediaPageOne extends StatefulWidget { 9 | @override 10 | _MediaState createState() => _MediaState(); 11 | } 12 | 13 | class _MediaState extends State { 14 | @override 15 | Widget build(BuildContext context) { 16 | return Scaffold( 17 | appBar: AppBar( 18 | title: Text("Media one"), 19 | ), 20 | body: Text("Media page one"), 21 | ); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /lib/page/navigation/NavigationPageOne.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// Created by NieBin on 2018/12/25 3 | /// Github: https://github.com/nb312 4 | /// Email: niebin312@gmail.com 5 | /// 6 | import "package:flutter/material.dart"; 7 | 8 | class NavigationPageOne extends StatefulWidget { 9 | @override 10 | _NavigationState createState() => _NavigationState(); 11 | } 12 | 13 | class _NavigationState extends State { 14 | @override 15 | Widget build(BuildContext context) { 16 | return Scaffold( 17 | appBar: AppBar( 18 | title: Text("Navigation one"), 19 | ), 20 | body: Text("Navigation page one"), 21 | ); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /lib/page/page_const.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// Created by NieBin on 2018/12/24 3 | /// Github: https://github.com/nb312 4 | /// Email: niebin312@gmail.com 5 | /// 6 | export "home_page.dart"; 7 | export "empty_page.dart"; 8 | export 'signup/SignPageOne.dart'; 9 | export 'signup/SignPageTwo.dart'; 10 | -------------------------------------------------------------------------------- /lib/page/profile/ProfilePageOne.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// Created by NieBin on 2018/12/25 3 | /// Github: https://github.com/nb312 4 | /// Email: niebin312@gmail.com 5 | /// 6 | import "package:flutter/material.dart"; 7 | 8 | class ProfilePageOne extends StatefulWidget { 9 | @override 10 | _ProfileState createState() => _ProfileState(); 11 | } 12 | 13 | class _ProfileState extends State { 14 | @override 15 | Widget build(BuildContext context) { 16 | return Scaffold( 17 | appBar: AppBar( 18 | title: Text("Profile one"), 19 | ), 20 | body: Text("Profile page one"), 21 | ); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /lib/page/shopping/ShopPageOne.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// Created by NieBin on 2018/12/25 3 | /// Github: https://github.com/nb312 4 | /// Email: niebin312@gmail.com 5 | /// 6 | import "package:flutter/material.dart"; 7 | 8 | class ShopPageOne extends StatefulWidget { 9 | @override 10 | _ShopState createState() => _ShopState(); 11 | } 12 | 13 | class _ShopState extends State { 14 | @override 15 | Widget build(BuildContext context) { 16 | return Scaffold( 17 | appBar: AppBar( 18 | title: Text("Shopping one"), 19 | ), 20 | body: Text("Shopping page one"), 21 | ); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /lib/page/signup/SignPageOne.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// Created by NieBin on 2018/12/25 3 | /// Github: https://github.com/nb312 4 | /// Email: niebin312@gmail.com 5 | /// 6 | import "package:flutter/material.dart"; 7 | 8 | class SignPageOne extends StatefulWidget { 9 | @override 10 | _SignOneState createState() => _SignOneState(); 11 | } 12 | 13 | class _SignOneState extends State { 14 | @override 15 | Widget build(BuildContext context) { 16 | return Scaffold( 17 | appBar: AppBar( 18 | title: Text("Sign up one"), 19 | ), 20 | body: Text("Sign up page one"), 21 | ); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /lib/page/signup/SignPageTwo.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// Created by NieBin on 2018/12/25 3 | /// Github: https://github.com/nb312 4 | /// Email: niebin312@gmail.com 5 | /// 6 | import "package:flutter/material.dart"; 7 | 8 | class SignPageTwo extends StatefulWidget { 9 | @override 10 | _SignTwoState createState() => _SignTwoState(); 11 | } 12 | 13 | class _SignTwoState extends State { 14 | @override 15 | Widget build(BuildContext context) { 16 | return Scaffold( 17 | appBar: AppBar( 18 | title: Text("Sign up two"), 19 | ), 20 | body: Text("Sign up page two"), 21 | ); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /lib/page/statistics/StatisticPageOne.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// Created by NieBin on 2018/12/25 3 | /// Github: https://github.com/nb312 4 | /// Email: niebin312@gmail.com 5 | /// 6 | import "package:flutter/material.dart"; 7 | 8 | class StatisticPageOne extends StatefulWidget { 9 | @override 10 | _StatisticOneState createState() => _StatisticOneState(); 11 | } 12 | 13 | class _StatisticOneState extends State { 14 | @override 15 | Widget build(BuildContext context) { 16 | return Scaffold( 17 | appBar: AppBar( 18 | title: Text("Sign up one"), 19 | ), 20 | body: Text("Sign up page one"), 21 | ); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /lib/page/walkthrough/WalkThPageOne.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// Created by NieBin on 2018/12/25 3 | /// Github: https://github.com/nb312 4 | /// Email: niebin312@gmail.com 5 | /// 6 | import "package:flutter/material.dart"; 7 | 8 | class WalkThPageOne extends StatefulWidget { 9 | @override 10 | _WalkThState createState() => _WalkThState(); 11 | } 12 | 13 | class _WalkThState extends State { 14 | @override 15 | Widget build(BuildContext context) { 16 | return Scaffold( 17 | appBar: AppBar( 18 | title: Text("Walk through one"), 19 | ), 20 | body: Text("Walk through page one"), 21 | ); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /lib/view/AboutMeTitle.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// Created by NieBin on 18-12-17 3 | /// Github: https://github.com/nb312 4 | /// Email: niebin312@gmail.com 5 | /// 6 | import "package:flutter/material.dart"; 7 | import 'package:flutter_ui_nice/const/string_const.dart'; 8 | import 'package:flutter_ui_nice/const/color_const.dart'; 9 | 10 | class AboutMeTitle extends AboutListTile { 11 | AboutMeTitle() 12 | : super( 13 | icon: FlutterLogo( 14 | colors: Colors.deepPurple, 15 | textColor: Colors.grey[900], 16 | ), 17 | applicationName: StringConst.APP_NAME, 18 | applicationVersion: "1.0.1", 19 | applicationLegalese: "Apache License 2.0", 20 | aboutBoxChildren: [ 21 | Padding( 22 | padding: EdgeInsets.symmetric(horizontal: 24.0, vertical: 4.0), 23 | child: Text( 24 | StringConst.CREATE_BY, 25 | style: TextStyle(color: BLUE), 26 | ), 27 | ) 28 | ]); 29 | } 30 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: flutter_ui_nice 2 | description: A new Flutter application. 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 | # Read more about versioning at semver.org. 10 | version: 1.0.0+1 11 | 12 | environment: 13 | sdk: ">=2.0.0-dev.68.0 <3.0.0" 14 | 15 | dependencies: 16 | flutter: 17 | sdk: flutter 18 | 19 | # The following adds the Cupertino Icons font to your application. 20 | # Use with the CupertinoIcons class for iOS style icons. 21 | cupertino_icons: ^0.1.2 22 | 23 | dev_dependencies: 24 | flutter_test: 25 | sdk: flutter 26 | 27 | 28 | # For information on the generic Dart part of this file, see the 29 | # following page: https://www.dartlang.org/tools/pub/pubspec 30 | 31 | # The following section is specific to Flutter. 32 | flutter: 33 | 34 | # The following line ensures that the Material Icons font is 35 | # included with your application, so that you can use the icons in 36 | # the material Icons class. 37 | uses-material-design: true 38 | assets: 39 | - images/camera/ 40 | - images/chat/ 41 | - images/feed/ 42 | - images/media/ 43 | - images/navigation/ 44 | - images/profile/ 45 | - images/shopping/ 46 | - images/signup/ 47 | - images/statistics/ 48 | - images/walkthrough/ 49 | - images/main/ 50 | # To add assets to your application, add an assets section, like this: 51 | # assets: 52 | # - images/a_dot_burr.jpeg 53 | # - images/a_dot_ham.jpeg 54 | 55 | # An image asset can refer to one or more resolution-specific "variants", see 56 | # https://flutter.io/assets-and-images/#resolution-aware. 57 | 58 | # For details regarding adding assets from package dependencies, see 59 | # https://flutter.io/assets-and-images/#from-packages 60 | 61 | # To add custom fonts to your application, add a fonts section here, 62 | # in this "flutter" section. Each entry in this list should have a 63 | # "family" key with the font family name, and a "fonts" key with a 64 | # list giving the asset and other descriptors for the font. For 65 | # example: 66 | # fonts: 67 | # - family: Schyler 68 | # fonts: 69 | # - asset: fonts/Schyler-Regular.ttf 70 | # - asset: fonts/Schyler-Italic.ttf 71 | # style: italic 72 | # - family: Trajan Pro 73 | # fonts: 74 | # - asset: fonts/TrajanPro.ttf 75 | # - asset: fonts/TrajanPro_Bold.ttf 76 | # weight: 700 77 | # 78 | # For details regarding fonts from package dependencies, 79 | # see https://flutter.io/custom-fonts/#from-packages 80 | -------------------------------------------------------------------------------- /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:flutter_ui_nice/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 | --------------------------------------------------------------------------------