├── .gitattributes ├── .gitignore ├── .gradle ├── 5.1.1 │ ├── executionHistory │ │ ├── executionHistory.bin │ │ └── executionHistory.lock │ ├── fileChanges │ │ └── last-build.bin │ ├── fileHashes │ │ └── fileHashes.lock │ └── gc.properties ├── buildOutputCleanup │ ├── buildOutputCleanup.lock │ └── cache.properties └── vcs-1 │ └── gc.properties ├── .metadata ├── README.md ├── android ├── app │ ├── build.gradle │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── flutterdevs │ │ │ │ └── flutter_classifiedappclone │ │ │ │ └── MainActivity.java │ │ └── 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 └── images │ ├── bike.jpg │ ├── bike.png │ ├── canon.jpg │ ├── car.png │ ├── dress.png │ ├── gadget.png │ ├── house.png │ ├── job.png │ ├── laptop.png │ ├── lenovot450.jpg │ ├── logo.png │ ├── menubutton.png │ ├── pet.png │ ├── powered_by.png │ ├── samsuns9+.jpg │ ├── smartphone.png │ ├── sofa.jpg │ └── sofa.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 ├── Constants │ └── constants.dart ├── Model │ ├── categoryModel.dart │ └── productModel.dart ├── UI │ ├── Widgets │ │ ├── custom_appbar.dart │ │ ├── custom_shape.dart │ │ ├── mainui_customcard.dart │ │ └── splash_screen.dart │ └── main_ui.dart └── main.dart ├── local.properties ├── pubspec.lock ├── pubspec.yaml ├── screens ├── android1.png ├── demo.gif └── iphone1.png └── test └── widget_test.dart /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.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 | -------------------------------------------------------------------------------- /.gradle/5.1.1/executionHistory/executionHistory.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/.gradle/5.1.1/executionHistory/executionHistory.bin -------------------------------------------------------------------------------- /.gradle/5.1.1/executionHistory/executionHistory.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/.gradle/5.1.1/executionHistory/executionHistory.lock -------------------------------------------------------------------------------- /.gradle/5.1.1/fileChanges/last-build.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gradle/5.1.1/fileHashes/fileHashes.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/.gradle/5.1.1/fileHashes/fileHashes.lock -------------------------------------------------------------------------------- /.gradle/5.1.1/gc.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/.gradle/5.1.1/gc.properties -------------------------------------------------------------------------------- /.gradle/buildOutputCleanup/buildOutputCleanup.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/.gradle/buildOutputCleanup/buildOutputCleanup.lock -------------------------------------------------------------------------------- /.gradle/buildOutputCleanup/cache.properties: -------------------------------------------------------------------------------- 1 | #Tue Jun 18 11:41:55 IST 2019 2 | gradle.version=5.1.1 3 | -------------------------------------------------------------------------------- /.gradle/vcs-1/gc.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/.gradle/vcs-1/gc.properties -------------------------------------------------------------------------------- /.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: 6bd8fc51817d55af46417d2cd7c9ebe4a08fff7f 8 | channel: master 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Flutter Classified App Demo 2 | 3 | A sample app to showcase classified app using flutter. 4 | 5 | # Demo 6 | 7 | 8 | 9 | 10 | # Android Screen 11 | 12 | 13 | 14 | # iOS Screen 15 | 16 | 17 | 18 | ## Getting Started 19 | 20 | This project is a starting point for a Flutter application. 21 | 22 | A few resources to get you started if this is your first Flutter project: 23 | 24 | - [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab) 25 | - [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook) 26 | 27 | For help getting started with Flutter, view our 28 | [online documentation](https://flutter.dev/docs), which offers tutorials, 29 | samples, guidance on mobile development, and a full API reference. 30 | -------------------------------------------------------------------------------- /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 from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 26 | 27 | android { 28 | compileSdkVersion 28 29 | 30 | lintOptions { 31 | disable 'InvalidPackage' 32 | } 33 | 34 | defaultConfig { 35 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 36 | applicationId "com.flutterdevs.flutter_classifiedappclone" 37 | minSdkVersion 16 38 | targetSdkVersion 28 39 | versionCode flutterVersionCode.toInteger() 40 | versionName flutterVersionName 41 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 42 | } 43 | 44 | buildTypes { 45 | release { 46 | // TODO: Add your own signing config for the release build. 47 | // Signing with the debug keys for now, so `flutter run --release` works. 48 | signingConfig signingConfigs.debug 49 | } 50 | } 51 | } 52 | 53 | flutter { 54 | source '../..' 55 | } 56 | 57 | dependencies { 58 | testImplementation 'junit:junit:4.12' 59 | androidTestImplementation 'com.android.support.test:runner:1.0.2' 60 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' 61 | } 62 | -------------------------------------------------------------------------------- /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/java/com/flutterdevs/flutter_classifiedappclone/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.flutterdevs.flutter_classifiedappclone; 2 | 3 | import android.os.Bundle; 4 | import io.flutter.app.FlutterActivity; 5 | import io.flutter.plugins.GeneratedPluginRegistrant; 6 | 7 | public class MainActivity extends FlutterActivity { 8 | @Override 9 | protected void onCreate(Bundle savedInstanceState) { 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-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/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-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/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-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/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-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/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-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/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 | repositories { 3 | google() 4 | jcenter() 5 | } 6 | 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:3.4.1' 9 | } 10 | } 11 | 12 | allprojects { 13 | repositories { 14 | google() 15 | jcenter() 16 | } 17 | } 18 | 19 | rootProject.buildDir = '../build' 20 | subprojects { 21 | project.buildDir = "${rootProject.buildDir}/${project.name}" 22 | } 23 | subprojects { 24 | project.evaluationDependsOn(':app') 25 | } 26 | 27 | task clean(type: Delete) { 28 | delete rootProject.buildDir 29 | } 30 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue Jun 18 12:03:24 IST 2019 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-5.1.1-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/images/bike.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/assets/images/bike.jpg -------------------------------------------------------------------------------- /assets/images/bike.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/assets/images/bike.png -------------------------------------------------------------------------------- /assets/images/canon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/assets/images/canon.jpg -------------------------------------------------------------------------------- /assets/images/car.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/assets/images/car.png -------------------------------------------------------------------------------- /assets/images/dress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/assets/images/dress.png -------------------------------------------------------------------------------- /assets/images/gadget.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/assets/images/gadget.png -------------------------------------------------------------------------------- /assets/images/house.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/assets/images/house.png -------------------------------------------------------------------------------- /assets/images/job.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/assets/images/job.png -------------------------------------------------------------------------------- /assets/images/laptop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/assets/images/laptop.png -------------------------------------------------------------------------------- /assets/images/lenovot450.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/assets/images/lenovot450.jpg -------------------------------------------------------------------------------- /assets/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/assets/images/logo.png -------------------------------------------------------------------------------- /assets/images/menubutton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/assets/images/menubutton.png -------------------------------------------------------------------------------- /assets/images/pet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/assets/images/pet.png -------------------------------------------------------------------------------- /assets/images/powered_by.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/assets/images/powered_by.png -------------------------------------------------------------------------------- /assets/images/samsuns9+.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/assets/images/samsuns9+.jpg -------------------------------------------------------------------------------- /assets/images/smartphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/assets/images/smartphone.png -------------------------------------------------------------------------------- /assets/images/sofa.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/assets/images/sofa.jpg -------------------------------------------------------------------------------- /assets/images/sofa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/assets/images/sofa.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 | 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 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; }; 15 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 16 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; }; 17 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; }; 18 | 97C146F31CF9000F007C117D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 97C146F21CF9000F007C117D /* main.m */; }; 19 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 20 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 21 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 22 | /* End PBXBuildFile section */ 23 | 24 | /* Begin PBXCopyFilesBuildPhase section */ 25 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 26 | isa = PBXCopyFilesBuildPhase; 27 | buildActionMask = 2147483647; 28 | dstPath = ""; 29 | dstSubfolderSpec = 10; 30 | files = ( 31 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */, 32 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */, 33 | ); 34 | name = "Embed Frameworks"; 35 | runOnlyForDeploymentPostprocessing = 0; 36 | }; 37 | /* End PBXCopyFilesBuildPhase section */ 38 | 39 | /* Begin PBXFileReference section */ 40 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 41 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 42 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 43 | 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; }; 44 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 45 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 46 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 47 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 48 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 49 | 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; }; 50 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 51 | 97C146F21CF9000F007C117D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 52 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 53 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 54 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 55 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 56 | /* End PBXFileReference section */ 57 | 58 | /* Begin PBXFrameworksBuildPhase section */ 59 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 60 | isa = PBXFrameworksBuildPhase; 61 | buildActionMask = 2147483647; 62 | files = ( 63 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */, 64 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */, 65 | ); 66 | runOnlyForDeploymentPostprocessing = 0; 67 | }; 68 | /* End PBXFrameworksBuildPhase section */ 69 | 70 | /* Begin PBXGroup section */ 71 | 9740EEB11CF90186004384FC /* Flutter */ = { 72 | isa = PBXGroup; 73 | children = ( 74 | 3B80C3931E831B6300D905FE /* App.framework */, 75 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 76 | 9740EEBA1CF902C7004384FC /* Flutter.framework */, 77 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 78 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 79 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 80 | ); 81 | name = Flutter; 82 | sourceTree = ""; 83 | }; 84 | 97C146E51CF9000F007C117D = { 85 | isa = PBXGroup; 86 | children = ( 87 | 9740EEB11CF90186004384FC /* Flutter */, 88 | 97C146F01CF9000F007C117D /* Runner */, 89 | 97C146EF1CF9000F007C117D /* Products */, 90 | CF3B75C9A7D2FA2A4C99F110 /* Frameworks */, 91 | ); 92 | sourceTree = ""; 93 | }; 94 | 97C146EF1CF9000F007C117D /* Products */ = { 95 | isa = PBXGroup; 96 | children = ( 97 | 97C146EE1CF9000F007C117D /* Runner.app */, 98 | ); 99 | name = Products; 100 | sourceTree = ""; 101 | }; 102 | 97C146F01CF9000F007C117D /* Runner */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */, 106 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */, 107 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 108 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 109 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 110 | 97C147021CF9000F007C117D /* Info.plist */, 111 | 97C146F11CF9000F007C117D /* Supporting Files */, 112 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 113 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 114 | ); 115 | path = Runner; 116 | sourceTree = ""; 117 | }; 118 | 97C146F11CF9000F007C117D /* Supporting Files */ = { 119 | isa = PBXGroup; 120 | children = ( 121 | 97C146F21CF9000F007C117D /* main.m */, 122 | ); 123 | name = "Supporting Files"; 124 | sourceTree = ""; 125 | }; 126 | /* End PBXGroup section */ 127 | 128 | /* Begin PBXNativeTarget section */ 129 | 97C146ED1CF9000F007C117D /* Runner */ = { 130 | isa = PBXNativeTarget; 131 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 132 | buildPhases = ( 133 | 9740EEB61CF901F6004384FC /* Run Script */, 134 | 97C146EA1CF9000F007C117D /* Sources */, 135 | 97C146EB1CF9000F007C117D /* Frameworks */, 136 | 97C146EC1CF9000F007C117D /* Resources */, 137 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 138 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 139 | ); 140 | buildRules = ( 141 | ); 142 | dependencies = ( 143 | ); 144 | name = Runner; 145 | productName = Runner; 146 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 147 | productType = "com.apple.product-type.application"; 148 | }; 149 | /* End PBXNativeTarget section */ 150 | 151 | /* Begin PBXProject section */ 152 | 97C146E61CF9000F007C117D /* Project object */ = { 153 | isa = PBXProject; 154 | attributes = { 155 | LastUpgradeCheck = 0910; 156 | ORGANIZATIONNAME = "The Chromium Authors"; 157 | TargetAttributes = { 158 | 97C146ED1CF9000F007C117D = { 159 | CreatedOnToolsVersion = 7.3.1; 160 | }; 161 | }; 162 | }; 163 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 164 | compatibilityVersion = "Xcode 3.2"; 165 | developmentRegion = English; 166 | hasScannedForEncodings = 0; 167 | knownRegions = ( 168 | en, 169 | Base, 170 | ); 171 | mainGroup = 97C146E51CF9000F007C117D; 172 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 173 | projectDirPath = ""; 174 | projectRoot = ""; 175 | targets = ( 176 | 97C146ED1CF9000F007C117D /* Runner */, 177 | ); 178 | }; 179 | /* End PBXProject section */ 180 | 181 | /* Begin PBXResourcesBuildPhase section */ 182 | 97C146EC1CF9000F007C117D /* Resources */ = { 183 | isa = PBXResourcesBuildPhase; 184 | buildActionMask = 2147483647; 185 | files = ( 186 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 187 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 188 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */, 189 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 190 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 191 | ); 192 | runOnlyForDeploymentPostprocessing = 0; 193 | }; 194 | /* End PBXResourcesBuildPhase section */ 195 | 196 | /* Begin PBXShellScriptBuildPhase section */ 197 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 198 | isa = PBXShellScriptBuildPhase; 199 | buildActionMask = 2147483647; 200 | files = ( 201 | ); 202 | inputPaths = ( 203 | ); 204 | name = "Thin Binary"; 205 | outputPaths = ( 206 | ); 207 | runOnlyForDeploymentPostprocessing = 0; 208 | shellPath = /bin/sh; 209 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin"; 210 | }; 211 | 9740EEB61CF901F6004384FC /* Run Script */ = { 212 | isa = PBXShellScriptBuildPhase; 213 | buildActionMask = 2147483647; 214 | files = ( 215 | ); 216 | inputPaths = ( 217 | ); 218 | name = "Run Script"; 219 | outputPaths = ( 220 | ); 221 | runOnlyForDeploymentPostprocessing = 0; 222 | shellPath = /bin/sh; 223 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 224 | }; 225 | /* End PBXShellScriptBuildPhase section */ 226 | 227 | /* Begin PBXSourcesBuildPhase section */ 228 | 97C146EA1CF9000F007C117D /* Sources */ = { 229 | isa = PBXSourcesBuildPhase; 230 | buildActionMask = 2147483647; 231 | files = ( 232 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */, 233 | 97C146F31CF9000F007C117D /* main.m in Sources */, 234 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 235 | ); 236 | runOnlyForDeploymentPostprocessing = 0; 237 | }; 238 | /* End PBXSourcesBuildPhase section */ 239 | 240 | /* Begin PBXVariantGroup section */ 241 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 242 | isa = PBXVariantGroup; 243 | children = ( 244 | 97C146FB1CF9000F007C117D /* Base */, 245 | ); 246 | name = Main.storyboard; 247 | sourceTree = ""; 248 | }; 249 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 250 | isa = PBXVariantGroup; 251 | children = ( 252 | 97C147001CF9000F007C117D /* Base */, 253 | ); 254 | name = LaunchScreen.storyboard; 255 | sourceTree = ""; 256 | }; 257 | /* End PBXVariantGroup section */ 258 | 259 | /* Begin XCBuildConfiguration section */ 260 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 261 | isa = XCBuildConfiguration; 262 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 263 | buildSettings = { 264 | ALWAYS_SEARCH_USER_PATHS = NO; 265 | CLANG_ANALYZER_NONNULL = YES; 266 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 267 | CLANG_CXX_LIBRARY = "libc++"; 268 | CLANG_ENABLE_MODULES = YES; 269 | CLANG_ENABLE_OBJC_ARC = YES; 270 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 271 | CLANG_WARN_BOOL_CONVERSION = YES; 272 | CLANG_WARN_COMMA = YES; 273 | CLANG_WARN_CONSTANT_CONVERSION = YES; 274 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 275 | CLANG_WARN_EMPTY_BODY = YES; 276 | CLANG_WARN_ENUM_CONVERSION = YES; 277 | CLANG_WARN_INFINITE_RECURSION = YES; 278 | CLANG_WARN_INT_CONVERSION = YES; 279 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 280 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 281 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 282 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 283 | CLANG_WARN_STRICT_PROTOTYPES = YES; 284 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 285 | CLANG_WARN_UNREACHABLE_CODE = YES; 286 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 287 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 288 | COPY_PHASE_STRIP = NO; 289 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 290 | ENABLE_NS_ASSERTIONS = NO; 291 | ENABLE_STRICT_OBJC_MSGSEND = YES; 292 | GCC_C_LANGUAGE_STANDARD = gnu99; 293 | GCC_NO_COMMON_BLOCKS = YES; 294 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 295 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 296 | GCC_WARN_UNDECLARED_SELECTOR = YES; 297 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 298 | GCC_WARN_UNUSED_FUNCTION = YES; 299 | GCC_WARN_UNUSED_VARIABLE = YES; 300 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 301 | MTL_ENABLE_DEBUG_INFO = NO; 302 | SDKROOT = iphoneos; 303 | TARGETED_DEVICE_FAMILY = "1,2"; 304 | VALIDATE_PRODUCT = YES; 305 | }; 306 | name = Profile; 307 | }; 308 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 309 | isa = XCBuildConfiguration; 310 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 311 | buildSettings = { 312 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 313 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 314 | DEVELOPMENT_TEAM = S8QB4VV633; 315 | ENABLE_BITCODE = NO; 316 | FRAMEWORK_SEARCH_PATHS = ( 317 | "$(inherited)", 318 | "$(PROJECT_DIR)/Flutter", 319 | ); 320 | INFOPLIST_FILE = Runner/Info.plist; 321 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 322 | LIBRARY_SEARCH_PATHS = ( 323 | "$(inherited)", 324 | "$(PROJECT_DIR)/Flutter", 325 | ); 326 | PRODUCT_BUNDLE_IDENTIFIER = com.flutterdevs.flutterClassifiedappclone; 327 | PRODUCT_NAME = "$(TARGET_NAME)"; 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_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 347 | CLANG_WARN_EMPTY_BODY = YES; 348 | CLANG_WARN_ENUM_CONVERSION = YES; 349 | CLANG_WARN_INFINITE_RECURSION = YES; 350 | CLANG_WARN_INT_CONVERSION = YES; 351 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 352 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 353 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 354 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 355 | CLANG_WARN_STRICT_PROTOTYPES = YES; 356 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 357 | CLANG_WARN_UNREACHABLE_CODE = YES; 358 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 359 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 360 | COPY_PHASE_STRIP = NO; 361 | DEBUG_INFORMATION_FORMAT = dwarf; 362 | ENABLE_STRICT_OBJC_MSGSEND = YES; 363 | ENABLE_TESTABILITY = YES; 364 | GCC_C_LANGUAGE_STANDARD = gnu99; 365 | GCC_DYNAMIC_NO_PIC = NO; 366 | GCC_NO_COMMON_BLOCKS = YES; 367 | GCC_OPTIMIZATION_LEVEL = 0; 368 | GCC_PREPROCESSOR_DEFINITIONS = ( 369 | "DEBUG=1", 370 | "$(inherited)", 371 | ); 372 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 373 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 374 | GCC_WARN_UNDECLARED_SELECTOR = YES; 375 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 376 | GCC_WARN_UNUSED_FUNCTION = YES; 377 | GCC_WARN_UNUSED_VARIABLE = YES; 378 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 379 | MTL_ENABLE_DEBUG_INFO = YES; 380 | ONLY_ACTIVE_ARCH = YES; 381 | SDKROOT = iphoneos; 382 | TARGETED_DEVICE_FAMILY = "1,2"; 383 | }; 384 | name = Debug; 385 | }; 386 | 97C147041CF9000F007C117D /* Release */ = { 387 | isa = XCBuildConfiguration; 388 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 389 | buildSettings = { 390 | ALWAYS_SEARCH_USER_PATHS = NO; 391 | CLANG_ANALYZER_NONNULL = YES; 392 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 393 | CLANG_CXX_LIBRARY = "libc++"; 394 | CLANG_ENABLE_MODULES = YES; 395 | CLANG_ENABLE_OBJC_ARC = YES; 396 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 397 | CLANG_WARN_BOOL_CONVERSION = YES; 398 | CLANG_WARN_COMMA = YES; 399 | CLANG_WARN_CONSTANT_CONVERSION = YES; 400 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 401 | CLANG_WARN_EMPTY_BODY = YES; 402 | CLANG_WARN_ENUM_CONVERSION = YES; 403 | CLANG_WARN_INFINITE_RECURSION = YES; 404 | CLANG_WARN_INT_CONVERSION = YES; 405 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 406 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 407 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 408 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 409 | CLANG_WARN_STRICT_PROTOTYPES = YES; 410 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 411 | CLANG_WARN_UNREACHABLE_CODE = YES; 412 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 413 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 414 | COPY_PHASE_STRIP = NO; 415 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 416 | ENABLE_NS_ASSERTIONS = NO; 417 | ENABLE_STRICT_OBJC_MSGSEND = YES; 418 | GCC_C_LANGUAGE_STANDARD = gnu99; 419 | GCC_NO_COMMON_BLOCKS = YES; 420 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 421 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 422 | GCC_WARN_UNDECLARED_SELECTOR = YES; 423 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 424 | GCC_WARN_UNUSED_FUNCTION = YES; 425 | GCC_WARN_UNUSED_VARIABLE = YES; 426 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 427 | MTL_ENABLE_DEBUG_INFO = NO; 428 | SDKROOT = iphoneos; 429 | TARGETED_DEVICE_FAMILY = "1,2"; 430 | VALIDATE_PRODUCT = YES; 431 | }; 432 | name = Release; 433 | }; 434 | 97C147061CF9000F007C117D /* Debug */ = { 435 | isa = XCBuildConfiguration; 436 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 437 | buildSettings = { 438 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 439 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 440 | ENABLE_BITCODE = NO; 441 | FRAMEWORK_SEARCH_PATHS = ( 442 | "$(inherited)", 443 | "$(PROJECT_DIR)/Flutter", 444 | ); 445 | INFOPLIST_FILE = Runner/Info.plist; 446 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 447 | LIBRARY_SEARCH_PATHS = ( 448 | "$(inherited)", 449 | "$(PROJECT_DIR)/Flutter", 450 | ); 451 | PRODUCT_BUNDLE_IDENTIFIER = com.flutterdevs.flutterClassifiedappclone; 452 | PRODUCT_NAME = "$(TARGET_NAME)"; 453 | VERSIONING_SYSTEM = "apple-generic"; 454 | }; 455 | name = Debug; 456 | }; 457 | 97C147071CF9000F007C117D /* Release */ = { 458 | isa = XCBuildConfiguration; 459 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 460 | buildSettings = { 461 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 462 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 463 | ENABLE_BITCODE = NO; 464 | FRAMEWORK_SEARCH_PATHS = ( 465 | "$(inherited)", 466 | "$(PROJECT_DIR)/Flutter", 467 | ); 468 | INFOPLIST_FILE = Runner/Info.plist; 469 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 470 | LIBRARY_SEARCH_PATHS = ( 471 | "$(inherited)", 472 | "$(PROJECT_DIR)/Flutter", 473 | ); 474 | PRODUCT_BUNDLE_IDENTIFIER = com.flutterdevs.flutterClassifiedappclone; 475 | PRODUCT_NAME = "$(TARGET_NAME)"; 476 | VERSIONING_SYSTEM = "apple-generic"; 477 | }; 478 | name = Release; 479 | }; 480 | /* End XCBuildConfiguration section */ 481 | 482 | /* Begin XCConfigurationList section */ 483 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 484 | isa = XCConfigurationList; 485 | buildConfigurations = ( 486 | 97C147031CF9000F007C117D /* Debug */, 487 | 97C147041CF9000F007C117D /* Release */, 488 | 249021D3217E4FDB00AE95B9 /* Profile */, 489 | ); 490 | defaultConfigurationIsVisible = 0; 491 | defaultConfigurationName = Release; 492 | }; 493 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 494 | isa = XCConfigurationList; 495 | buildConfigurations = ( 496 | 97C147061CF9000F007C117D /* Debug */, 497 | 97C147071CF9000F007C117D /* Release */, 498 | 249021D4217E4FDB00AE95B9 /* Profile */, 499 | ); 500 | defaultConfigurationIsVisible = 0; 501 | defaultConfigurationName = Release; 502 | }; 503 | /* End XCConfigurationList section */ 504 | }; 505 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 506 | } 507 | -------------------------------------------------------------------------------- /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/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/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-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/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-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/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-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/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-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/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-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/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-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/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-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/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-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/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-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/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-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/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-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/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-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/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-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/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-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/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-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/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_classifiedappclone 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/Constants/constants.dart: -------------------------------------------------------------------------------- 1 | 2 | final String MAIN_UI = "main_ui"; 3 | final String SPLASH_SCREEN = "splash_screen"; -------------------------------------------------------------------------------- /lib/Model/categoryModel.dart: -------------------------------------------------------------------------------- 1 | class Category{ 2 | String title; 3 | String icon; 4 | 5 | Category(this.title, this.icon); 6 | 7 | } -------------------------------------------------------------------------------- /lib/Model/productModel.dart: -------------------------------------------------------------------------------- 1 | class Product{ 2 | int adID; 3 | String dateAdded; 4 | String title; 5 | String desc; 6 | int price; 7 | var warranty; 8 | String category; 9 | int mobileNo; 10 | String image; 11 | bool negotiable; 12 | 13 | Product(this.adID, this.dateAdded, this.title, this.desc, this.price, 14 | this.warranty, this.category, this.mobileNo, this.image, this.negotiable); 15 | 16 | } -------------------------------------------------------------------------------- /lib/UI/Widgets/custom_appbar.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class CustomAppBar extends StatelessWidget { 4 | String title; 5 | 6 | CustomAppBar(this.title); 7 | 8 | @override 9 | Widget build(BuildContext context) { 10 | double height = MediaQuery.of(context).size.height; 11 | double width = MediaQuery.of(context).size.width; 12 | return Container( 13 | height: height/10, 14 | width: width, 15 | padding: EdgeInsets.only(left: 10, top: 25), 16 | decoration: BoxDecoration( 17 | gradient: LinearGradient( 18 | colors:[Colors.orange[200], Colors.pinkAccent], 19 | ) 20 | ), 21 | child: Row( 22 | mainAxisAlignment: MainAxisAlignment.start, 23 | children: [ 24 | IconButton( 25 | icon: Icon(Icons.arrow_back_ios), 26 | onPressed: (){ 27 | print("pop"); 28 | Navigator.of(context).pop(); 29 | }), 30 | SizedBox(width: 10,), 31 | Text('$title', style: TextStyle(fontWeight: FontWeight.bold, fontSize: 24),) 32 | ], 33 | ), 34 | ); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /lib/UI/Widgets/custom_shape.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class CustomShapeClipper extends CustomClipper { 4 | @override 5 | Path getClip(Size size) { 6 | final Path path = Path(); 7 | path.lineTo(0.0, size.height-80); 8 | 9 | var firstEndPoint = Offset(size.width, 0); 10 | var firstControlPoint = Offset(size.width * .5, size.height/1.5); 11 | path.quadraticBezierTo(firstControlPoint.dx, firstControlPoint.dy, firstEndPoint.dx, firstEndPoint.dy); 12 | 13 | path.close(); 14 | return path; 15 | } 16 | 17 | @override 18 | bool shouldReclip(CustomClipper oldClipper) => true; 19 | 20 | 21 | } 22 | 23 | class CustomShapeClipper2 extends CustomClipper { 24 | @override 25 | Path getClip(Size size) { 26 | final Path path = Path(); 27 | path.lineTo(0.0, size.height-20); 28 | 29 | var firstEndPoint = Offset(size.width , size.height /2); 30 | var firstControlPoint = Offset(size.width * 0.5, size.height+10); 31 | path.quadraticBezierTo(firstControlPoint.dx, firstControlPoint.dy, firstEndPoint.dx, firstEndPoint.dy); 32 | 33 | 34 | path.lineTo(size.width, 0); 35 | path.close(); 36 | return path; 37 | } 38 | 39 | @override 40 | bool shouldReclip(CustomClipper oldClipper) => true; 41 | 42 | 43 | } 44 | 45 | 46 | class CustomShapeClipper3 extends CustomClipper { 47 | @override 48 | Path getClip(Size size) { 49 | final Path path = Path(); 50 | path.lineTo(0.0, size.height -30); 51 | 52 | var firstEndPoint = Offset(size.width , size.height/1.25); 53 | var firstControlPoint = Offset(size.width * 0.5, size.height+20); 54 | path.quadraticBezierTo(firstControlPoint.dx, firstControlPoint.dy, firstEndPoint.dx, firstEndPoint.dy); 55 | 56 | 57 | path.lineTo(size.width, 0); 58 | path.close(); 59 | return path; 60 | } 61 | 62 | @override 63 | bool shouldReclip(CustomClipper oldClipper) => true; 64 | 65 | 66 | } -------------------------------------------------------------------------------- /lib/UI/Widgets/mainui_customcard.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class CustomCard extends StatelessWidget { 4 | double _width; 5 | double _height; 6 | double _aspectRatio; 7 | String title; 8 | String price; 9 | String dateAdded; 10 | String category; 11 | String description; 12 | String image; 13 | String location; 14 | 15 | 16 | 17 | CustomCard({this.title, this.price, this.dateAdded, this.category, 18 | this.description, this.image, this.location}); 19 | 20 | @override 21 | Widget build(BuildContext context) { 22 | _width= MediaQuery.of(context).size.width; 23 | _height = MediaQuery.of(context).size.height; 24 | return Card( 25 | elevation: 3, 26 | shape: 27 | RoundedRectangleBorder(borderRadius: BorderRadius.circular(16.0)), 28 | color: Colors.white, 29 | child: Container( 30 | padding: EdgeInsets.only(left: 10, top: 10, right: 5, bottom: 10), 31 | child: Row( 32 | mainAxisAlignment: MainAxisAlignment.spaceEvenly, 33 | children: [ 34 | Column( 35 | crossAxisAlignment: CrossAxisAlignment.start, 36 | 37 | children: [ 38 | Text( 39 | title, 40 | style: TextStyle(fontWeight: FontWeight.bold, fontSize: _height/40), 41 | ), 42 | Container( 43 | width: _width / 2.75, 44 | padding: EdgeInsets.only(top: 5), 45 | child: Row( 46 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 47 | children: [ 48 | Flexible( 49 | child: Text( 50 | price, 51 | style: TextStyle( 52 | fontSize: 16, 53 | ), 54 | ), 55 | ), 56 | Flexible( 57 | child: Container( 58 | padding: EdgeInsets.all(2), 59 | color: Colors.grey[200], 60 | child: Text( 61 | category, 62 | softWrap: true, 63 | style: TextStyle(fontSize: 10), 64 | ), 65 | ), 66 | ), 67 | ], 68 | ), 69 | ), 70 | SizedBox( 71 | height: 5, 72 | ), 73 | Flexible( 74 | child: Container( 75 | width: _width / 2.5, 76 | child: Text( 77 | description, 78 | style: TextStyle( 79 | fontSize: _height/70, 80 | ), 81 | maxLines: 2, 82 | overflow: TextOverflow.ellipsis, 83 | softWrap: true, 84 | )), 85 | ), 86 | SizedBox( 87 | height: 10, 88 | ), 89 | Flexible( 90 | child: Container( 91 | width: _width / 2.75, 92 | child: Row( 93 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 94 | children: [ 95 | Flexible( 96 | child: GestureDetector( 97 | child: Icon(Icons.favorite_border, size: _height/30,), 98 | onTap: (){ 99 | print('Fav'); 100 | }, 101 | ), 102 | ), 103 | Column( 104 | mainAxisAlignment: MainAxisAlignment.center, 105 | children: [ 106 | Text( 107 | dateAdded, 108 | style: TextStyle(fontSize: _height/65), 109 | ), 110 | Row( 111 | mainAxisSize: MainAxisSize.min, 112 | children: [ 113 | Icon( 114 | Icons.location_on, 115 | size: _height/65, 116 | ), 117 | Text( 118 | location, 119 | style: TextStyle(fontSize: _height/65), 120 | ) 121 | ], 122 | ), 123 | ], 124 | ), 125 | ], 126 | ), 127 | ), 128 | ), 129 | ], 130 | ), 131 | SizedBox( 132 | width: 10, 133 | ), 134 | Container( 135 | width: _width/2.5, 136 | decoration: BoxDecoration( 137 | shape: BoxShape.rectangle, 138 | color: Colors.orange[50], 139 | borderRadius: BorderRadius.circular(10), 140 | ), 141 | padding: EdgeInsets.all(10), 142 | child: Image.asset( 143 | image, 144 | fit: BoxFit.cover, 145 | height: _height/4, 146 | width: _width/4, 147 | ), 148 | ), 149 | ], 150 | ), 151 | ), 152 | ); 153 | } 154 | } 155 | -------------------------------------------------------------------------------- /lib/UI/Widgets/splash_screen.dart: -------------------------------------------------------------------------------- 1 | import 'dart:async'; 2 | 3 | import 'package:flutter/cupertino.dart'; 4 | import 'package:flutter/material.dart'; 5 | import 'package:flutter_classifiedappclone/Constants/constants.dart'; 6 | 7 | class AnimatedSplashScreen extends StatefulWidget { 8 | @override 9 | SplashScreenState createState() => new SplashScreenState(); 10 | } 11 | 12 | class SplashScreenState extends State 13 | with SingleTickerProviderStateMixin { 14 | var _visible = true; 15 | 16 | AnimationController animationController; 17 | Animation animation; 18 | 19 | startTime() async { 20 | var _duration = new Duration(seconds: 3); 21 | return new Timer(_duration, navigationPage); 22 | } 23 | 24 | void navigationPage() { 25 | Navigator.of(context).pushReplacementNamed(MAIN_UI); 26 | } 27 | 28 | @override 29 | void initState() { 30 | super.initState(); 31 | animationController = new AnimationController( 32 | vsync: this, duration: new Duration(seconds: 2)); 33 | animation = 34 | new CurvedAnimation(parent: animationController, curve: Curves.easeOut); 35 | 36 | animation.addListener(() => this.setState(() {})); 37 | animationController.forward(); 38 | 39 | setState(() { 40 | _visible = !_visible; 41 | }); 42 | startTime(); 43 | } 44 | 45 | @override 46 | Widget build(BuildContext context) { 47 | return Scaffold( 48 | body: Stack( 49 | fit: StackFit.expand, 50 | children: [ 51 | new Column( 52 | mainAxisAlignment: MainAxisAlignment.end, 53 | mainAxisSize: MainAxisSize.min, 54 | children: [ 55 | 56 | Padding(padding: EdgeInsets.only(bottom: 30.0),child:new Image.asset('assets/images/powered_by.png',height: 25.0,fit: BoxFit.scaleDown,)) 57 | 58 | 59 | ],), 60 | new Column( 61 | mainAxisAlignment: MainAxisAlignment.center, 62 | children: [ 63 | new Image.asset( 64 | 'assets/images/logo.png', 65 | width: animation.value * 250, 66 | height: animation.value * 250, 67 | ), 68 | ], 69 | ), 70 | ], 71 | ), 72 | ); 73 | } 74 | } -------------------------------------------------------------------------------- /lib/UI/main_ui.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter/services.dart'; 3 | import 'package:flutter_classifiedappclone/Model/categoryModel.dart'; 4 | import 'package:flutter_classifiedappclone/Model/productModel.dart'; 5 | import 'package:flutter_classifiedappclone/UI/Widgets/custom_shape.dart'; 6 | import 'package:flutter_classifiedappclone/UI/Widgets/mainui_customcard.dart'; 7 | 8 | 9 | class MainUI extends StatefulWidget { 10 | @override 11 | _MainUIState createState() => _MainUIState(); 12 | } 13 | 14 | class _MainUIState extends State { 15 | var scaffoldKey = GlobalKey(); 16 | 17 | 18 | bool isExpanded = false; 19 | List categoryItems; 20 | List trendingListItems; 21 | List recommendListItems; 22 | List dealsListItems; 23 | double _height; 24 | double _width; 25 | @override 26 | void initState() { 27 | // TODO: implement initState 28 | super.initState(); 29 | trendingListItems = [ 30 | Product( 31 | 123, 32 | "02 Apr 2019", 33 | "Lenovo T450", 34 | "Discover the Lenovo ThinkPad T450, a 14-inch thin and light business Ultrabook with the newest Intel Core i processor, backlit keyboard and up to 17 hours battery backup.", 35 | 40000, 36 | "5 months", 37 | "Electronics", 38 | 8377028021, 39 | "assets/images/lenovot450.jpg", 40 | true), 41 | Product( 42 | 124, 43 | "05 Apr 2019", 44 | "Samsung S9+", 45 | "Discover Galaxy S9 and S9+ and the revolutionary camera that adapts like the human eye.", 46 | 60000, 47 | "5 months", 48 | "Mobiles", 49 | 8377028021, 50 | "assets/images/samsuns9+.jpg", 51 | true), 52 | Product( 53 | 125, 54 | "23 Mar 2019", 55 | "Himalayan", 56 | "The Himalayan is an ‘all-rounder’ motorcycle built on an all new platform from Royal Enfield. It is a 411cc adventure motorcycle which was partly developed in the United Kingdom. The motorcycle brings a series of firsts for the brand.", 57 | 100000, 58 | "5 months", 59 | "Bike", 60 | 8377028021, 61 | "assets/images/bike.jpg", 62 | true), 63 | Product( 64 | 126, 65 | "10 Feb 2019", 66 | "Canon 200D", 67 | "Canon EOS 200D 24.2MP Digital SLR Camera + EF-S 18-55 mm f4 is STM Lens, Free Camera Case and 16GB Card Inside", 68 | 35000, 69 | "5 months", 70 | "Electronics", 71 | 8377028021, 72 | "assets/images/canon.jpg", 73 | true), 74 | Product( 75 | 127, 76 | "1 Jan 2019", 77 | "Sofa", 78 | "Bharat Lifestyle Nano Fabric 6 Seater Sofa", 79 | 4000, 80 | "5 months", 81 | "Furniture", 82 | 8377028021, 83 | "assets/images/sofa.jpg", 84 | true), 85 | ]; 86 | recommendListItems = [ 87 | Product( 88 | 124, 89 | "05 Apr 2019", 90 | "Samsung S9+", 91 | "Discover Galaxy S9 and S9+ and the revolutionary camera that adapts like the human eye.", 92 | 60000, 93 | "5 months", 94 | "Mobiles", 95 | 8377028021, 96 | "assets/images/samsuns9+.jpg", 97 | true), 98 | Product( 99 | 123, 100 | "02 Apr 2019", 101 | "Lenovo T450", 102 | "Discover the Lenovo ThinkPad T450, a 14-inch thin and light business Ultrabook with the newest Intel Core i processor, backlit keyboard and up to 17 hours battery backup.", 103 | 40000, 104 | "5 months", 105 | "Electronics", 106 | 8377028021, 107 | "assets/images/lenovot450.jpg", 108 | true), 109 | Product( 110 | 125, 111 | "03 Dec 2018", 112 | "Himalayan", 113 | "The Himalayan is an ‘all-rounder’ motorcycle built on an all new platform from Royal Enfield. It is a 411cc adventure motorcycle which was partly developed in the United Kingdom. The motorcycle brings a series of firsts for the brand.", 114 | 100000, 115 | "5 months", 116 | "Bike", 117 | 8377028021, 118 | "assets/images/bike.jpg", 119 | true), 120 | Product( 121 | 126, 122 | "15 Mar 2019", 123 | "Canon 200D", 124 | "Canon EOS 200D 24.2MP Digital SLR Camera + EF-S 18-55 mm f4 is STM Lens, Free Camera Case and 16GB Card Inside", 125 | 35000, 126 | "5 months", 127 | "Electronics", 128 | 8377028021, 129 | "assets/images/canon.jpg", 130 | true), 131 | Product( 132 | 127, 133 | "09 Apr 2019", 134 | "Sofa", 135 | "Bharat Lifestyle Nano Fabric 6 Seater Sofa", 136 | 4000, 137 | "5 months", 138 | "Furniture", 139 | 8377028021, 140 | "assets/images/sofa.jpg", 141 | true), 142 | ]; 143 | dealsListItems = [ 144 | Product( 145 | 125, 146 | "02 Jan 2019", 147 | "Himalayan", 148 | "The Himalayan is an ‘all-rounder’ motorcycle built on an all new platform from Royal Enfield. It is a 411cc adventure motorcycle which was partly developed in the United Kingdom. The motorcycle brings a series of firsts for the brand.", 149 | 100000, 150 | "5 months", 151 | "Bike", 152 | 8377028021, 153 | "assets/images/bike.jpg", 154 | true), 155 | Product( 156 | 126, 157 | "10 Apr 2019", 158 | "Canon 200D", 159 | "Canon EOS 200D 24.2MP Digital SLR Camera + EF-S 18-55 mm f4 is STM Lens, Free Camera Case and 16GB Card Inside", 160 | 35000, 161 | "5 months", 162 | "Electronics", 163 | 8377028021, 164 | "assets/images/canon.jpg", 165 | true), 166 | Product( 167 | 124, 168 | "05 Mar 2019", 169 | "Samsung S9+", 170 | "Discover Galaxy S9 and S9+ and the revolutionary camera that adapts like the human eye.", 171 | 60000, 172 | "5 months", 173 | "Mobiles", 174 | 8377028021, 175 | "assets/images/samsuns9+.jpg", 176 | true), 177 | Product( 178 | 123, 179 | "02 Feb 2019", 180 | "Lenovo T450", 181 | "Discover the Lenovo ThinkPad T450, a 14-inch thin and light business Ultrabook with the newest Intel Core i processor, backlit keyboard and up to 17 hours battery backup.", 182 | 40000, 183 | "5 months", 184 | "Electronics", 185 | 8377028021, 186 | "assets/images/lenovot450.jpg", 187 | true), 188 | Product( 189 | 127, 190 | "02 Dec 2012", 191 | "Sofa", 192 | "Bharat Lifestyle Nano Fabric 6 Seater Sofa", 193 | 4000, 194 | "5 months", 195 | "Furniture", 196 | 8377028021, 197 | "assets/images/sofa.jpg", 198 | true), 199 | ]; 200 | // categoryItems = [ 201 | // Category("Electronics", "assets/images/gadget.png"), 202 | // Category("Properties", "assets/images/house.png"), 203 | // Category("Jobs", "assets/images/job.png"), 204 | // Category("Furniture", "assets/images/sofa.png"), 205 | // Category("Cars", "assets/images/car.png"), 206 | // Category("Bikes", "assets/images/bike.png"), 207 | // Category("Mobiles", "assets/images/smartphone.png"), 208 | // Category("Pets", "assets/images/pet.png"), 209 | // Category("Fashion", "assets/images/dress.png"), 210 | // ]; 211 | } 212 | 213 | void _expand() { 214 | setState(() { 215 | isExpanded ? isExpanded = false : isExpanded = true; 216 | }); 217 | } 218 | 219 | @override 220 | Widget build(BuildContext context) { 221 | _height = MediaQuery.of(context).size.height; 222 | _width = MediaQuery.of(context).size.width; 223 | return Scaffold( 224 | bottomNavigationBar: _bottomNavBar(), 225 | key: scaffoldKey, 226 | drawer: _drawer(), 227 | floatingActionButton: FloatingActionButton.extended( 228 | elevation: 3, 229 | onPressed: () {}, 230 | backgroundColor: Colors.orange[200], 231 | icon: Icon(Icons.camera_alt), 232 | label: Text("Post AD", textAlign: TextAlign.center,style: TextStyle(color: Colors.black, fontWeight: FontWeight.bold),), 233 | ), 234 | floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked, 235 | body: Container( 236 | height: _height, 237 | width: _width, 238 | child: SingleChildScrollView( 239 | child: Column( 240 | children: [ 241 | clipShape(), 242 | Container( 243 | margin: EdgeInsets.only(left: 30, right: 30, top: 20), 244 | child: Row( 245 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 246 | children: [ 247 | Text('Shop for', 248 | style: TextStyle( 249 | fontSize: 16)), 250 | GestureDetector( 251 | onTap: _expand, 252 | child: Text( 253 | isExpanded ? "Show less" : "Show all", 254 | style: TextStyle( 255 | color: Colors.orange[200], 256 | ), 257 | )), 258 | //IconButton(icon: isExpanded? Icon(Icons.arrow_drop_up, color: Colors.orange[200],) : Icon(Icons.arrow_drop_down, color: Colors.orange[200],), onPressed: _expand) 259 | ], 260 | ), 261 | ), 262 | expandList(), 263 | Divider(), 264 | Container( 265 | margin: EdgeInsets.only(left: 30, right: 30, top: 10), 266 | child: Row( 267 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 268 | children: [ 269 | Text("Trending", 270 | style: TextStyle( 271 | fontSize: 16)), 272 | GestureDetector( 273 | onTap: () { 274 | // Navigator.of(context).pushNamed(TRENDING_UI); 275 | print('Showing all'); 276 | }, 277 | child: Text( 278 | 'Show all', 279 | style: TextStyle( 280 | color: Colors.orange[300], 281 | ), 282 | )) 283 | ], 284 | ), 285 | ), 286 | trendingProducts(), 287 | Divider(), 288 | Container( 289 | margin: EdgeInsets.only(left: 30, right: 30, top: 10), 290 | child: Row( 291 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 292 | children: [ 293 | Text("Recommendations", 294 | style: TextStyle( 295 | fontSize: 16)), 296 | GestureDetector( 297 | onTap: () { 298 | //Navigator.of(context).pushNamed(RECOMMEND_UI); 299 | print('Showing all'); 300 | }, 301 | child: Text( 302 | 'Show all', 303 | style: TextStyle( 304 | color: Colors.orange[300], 305 | ), 306 | )) 307 | ], 308 | ), 309 | ), 310 | recommendations(), 311 | Divider(), 312 | Container( 313 | margin: EdgeInsets.only(left: 30, right: 30, top: 10), 314 | child: Row( 315 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 316 | children: [ 317 | Text("Today's Deals", 318 | style: TextStyle( 319 | fontSize: 16)), 320 | GestureDetector( 321 | onTap: () { 322 | //Navigator.of(context).pushNamed(DEALS_UI); 323 | print('Showing all'); 324 | }, 325 | child: Text( 326 | 'Show all', 327 | style: TextStyle( 328 | color: Colors.orange[300], 329 | ), 330 | )) 331 | ], 332 | ), 333 | ), 334 | todaysDeals(), 335 | ], 336 | ), 337 | ), 338 | ), 339 | ); 340 | } 341 | 342 | Widget _drawer() { 343 | return Drawer( 344 | child: Column( 345 | children: [ 346 | Opacity( 347 | opacity: 0.75, 348 | child: Container( 349 | height: _height / 6, 350 | padding: EdgeInsets.only(top: _height / 20), 351 | decoration: BoxDecoration( 352 | gradient: LinearGradient( 353 | colors: [Colors.orange[200], Colors.pinkAccent], 354 | ), 355 | ), 356 | child: ListTile( 357 | leading: CircleAvatar( 358 | child: Icon( 359 | Icons.person, 360 | size: 40, 361 | color: Colors.black, 362 | ), 363 | radius: 30, 364 | backgroundColor: Colors.white, 365 | ), 366 | title: Text("FlutterDevs"), 367 | subtitle: Text("flutterDevs@aeologic.com",style: TextStyle(fontSize: 13),), 368 | trailing: Icon( 369 | Icons.arrow_forward_ios, 370 | color: Colors.black, 371 | ), 372 | ), 373 | ), 374 | ), 375 | ListTile( 376 | leading: Icon(Icons.payment), 377 | title: Text("Orders & Payments"), 378 | ), 379 | ], 380 | ), 381 | ); 382 | } 383 | 384 | Widget _bottomNavBar() { 385 | return BottomAppBar( 386 | notchMargin: 4, 387 | shape: AutomaticNotchedShape(RoundedRectangleBorder(),RoundedRectangleBorder(borderRadius: BorderRadius.circular(20))), 388 | child: Container( 389 | margin: EdgeInsets.only(left: 50, right: 50), 390 | decoration: BoxDecoration( 391 | 392 | shape: BoxShape.rectangle, 393 | borderRadius: BorderRadius.circular(30) 394 | ), 395 | child: Row( 396 | mainAxisSize: MainAxisSize.max, 397 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 398 | children: [ 399 | IconButton( 400 | icon: Icon(Icons.home), 401 | onPressed: () {}, 402 | ), 403 | 404 | IconButton( 405 | icon: Icon(Icons.message), 406 | onPressed: () {}, 407 | ) 408 | ], 409 | ), 410 | ), 411 | ); 412 | } 413 | 414 | Widget clipShape() { 415 | return Stack( 416 | children: [ 417 | Opacity( 418 | opacity: 0.75, 419 | child: ClipPath( 420 | clipper: CustomShapeClipper(), 421 | child: Container( 422 | height: _height / 3, 423 | decoration: BoxDecoration( 424 | gradient: LinearGradient( 425 | colors: [Colors.orange[200], Colors.pinkAccent], 426 | ), 427 | ), 428 | ), 429 | ), 430 | ), 431 | Opacity( 432 | opacity: 0.5, 433 | child: ClipPath( 434 | clipper: CustomShapeClipper2(), 435 | child: Container( 436 | height: _height / 3.5, 437 | decoration: BoxDecoration( 438 | gradient: LinearGradient( 439 | colors: [Colors.orange[200], Colors.pinkAccent], 440 | ), 441 | ), 442 | ), 443 | ), 444 | ), 445 | Opacity( 446 | opacity: 0.25, 447 | child: ClipPath( 448 | clipper: CustomShapeClipper3(), 449 | child: Container( 450 | height: _height / 3, 451 | decoration: BoxDecoration( 452 | gradient: LinearGradient( 453 | colors: [Colors.orange[200], Colors.pinkAccent], 454 | ), 455 | ), 456 | ), 457 | ), 458 | ), 459 | Container( 460 | margin: EdgeInsets.only(left: 40, right: 40, top: _height / 3.75), 461 | child: Material( 462 | borderRadius: BorderRadius.circular(30.0), 463 | elevation: 8, 464 | child: Container( 465 | child: TextFormField( 466 | cursorColor: Colors.orange[200], 467 | keyboardType: TextInputType.text, 468 | decoration: InputDecoration( 469 | contentPadding: EdgeInsets.all(10), 470 | prefixIcon: 471 | Icon(Icons.search, color: Colors.orange[200], size: 30), 472 | hintText: "What're you looking for?", 473 | border: OutlineInputBorder( 474 | borderRadius: BorderRadius.circular(30.0), 475 | borderSide: BorderSide.none), 476 | ), 477 | ), 478 | ), 479 | ), 480 | ), 481 | Container( 482 | //color: Colors.blue, 483 | margin: EdgeInsets.only(left: 20, right: 20, top: _height / 20), 484 | child: Row( 485 | crossAxisAlignment: CrossAxisAlignment.start, 486 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 487 | children: [ 488 | Opacity( 489 | opacity: 0.5, 490 | child: Container( 491 | margin: EdgeInsets.symmetric(vertical: 5), 492 | child: GestureDetector( 493 | onTap: () { 494 | scaffoldKey.currentState.openDrawer(); 495 | }, 496 | child: Image.asset( 497 | 'assets/images/menubutton.png', 498 | height: _height / 40, 499 | )), 500 | ), 501 | ), 502 | Flexible( 503 | child: Container( 504 | height: _height / 20, 505 | padding: EdgeInsets.only(left: 10,right: 10), 506 | decoration: BoxDecoration( 507 | color: Colors.black12, 508 | shape: BoxShape.rectangle, 509 | borderRadius: BorderRadius.circular(30), 510 | ), 511 | child: Row( 512 | mainAxisSize: MainAxisSize.min, 513 | children: [ 514 | GestureDetector( 515 | onTap: (){ 516 | print('Editing location'); 517 | }, 518 | child: Icon( 519 | Icons.edit_location, 520 | color: Colors.white, 521 | size: _height/40, 522 | ), 523 | ), 524 | SizedBox(width: 10,), 525 | Flexible( 526 | child: Text('Noida', 527 | style: TextStyle( 528 | color: Colors.white, fontSize: _height/50), 529 | // overflow: TextOverflow.fade, 530 | softWrap: false)), 531 | ], 532 | ), 533 | ), 534 | ), 535 | Opacity( 536 | opacity: 0.5, 537 | child: GestureDetector( 538 | onTap: (){}, 539 | child: Icon(Icons.notifications, color: Colors.black,size: _height/30,)), 540 | ), 541 | ], 542 | )), 543 | 544 | 545 | ], 546 | ); 547 | } 548 | 549 | Widget expandList() { 550 | return Container( 551 | margin: EdgeInsets.only(left: 10, right: 10), 552 | child: AnimatedCrossFade( 553 | firstChild: GridView.count( 554 | physics: NeverScrollableScrollPhysics(), 555 | shrinkWrap: true, 556 | crossAxisCount: 4, 557 | children: [ 558 | Column( 559 | children: [ 560 | GestureDetector( 561 | onTap: () { 562 | //Navigator.of(context).pushNamed(ELECTRONICS_ITEM_LIST); 563 | print('Routing to Electronics item list'); 564 | }, 565 | child: Image.asset( 566 | 'assets/images/gadget.png', 567 | height: _height / 12, 568 | width: _width / 12, 569 | ), 570 | ), 571 | SizedBox( 572 | height: 5, 573 | ), 574 | Flexible( 575 | child: Text( 576 | "Electronics", 577 | style: TextStyle( fontSize: 13), 578 | ), 579 | ), 580 | ], 581 | ), 582 | Column( 583 | children: [ 584 | GestureDetector( 585 | onTap: () { 586 | //Navigator.of(context).pushNamed(PROPERTIES_ITEM_LIST); 587 | print('Routing to Properties item list'); 588 | }, 589 | child: Image.asset( 590 | 'assets/images/house.png', 591 | height: _height / 12, 592 | width: _width / 12, 593 | )), 594 | SizedBox( 595 | height: 5, 596 | ), 597 | Flexible( 598 | child: Text( 599 | "Properties", 600 | style: TextStyle(fontSize: 13), 601 | ), 602 | ), 603 | ], 604 | ), 605 | Column( 606 | children: [ 607 | GestureDetector( 608 | onTap: () { 609 | //Navigator.of(context).pushNamed(JOBS_ITEM_LIST); 610 | print('Routing to Jobs item list'); 611 | }, 612 | child: Image.asset( 613 | 'assets/images/job.png', 614 | height: _height / 12, 615 | width: _width / 12, 616 | )), 617 | SizedBox( 618 | height: 5, 619 | ), 620 | Flexible( 621 | child: Text( 622 | "Jobs", 623 | style: TextStyle(fontSize: 13), 624 | ), 625 | ), 626 | ], 627 | ), 628 | Column( 629 | children: [ 630 | GestureDetector( 631 | onTap: () { 632 | //Navigator.of(context).pushNamed(FURNITURE_ITEM_LIST); 633 | print('Routing to Furniture item list'); 634 | }, 635 | child: Image.asset( 636 | 'assets/images/sofa.png', 637 | height: _height / 12, 638 | width: _width / 12, 639 | )), 640 | SizedBox( 641 | height: 5, 642 | ), 643 | Flexible( 644 | child: Text( 645 | "Furniture", 646 | style: TextStyle(fontSize: 13), 647 | ), 648 | ), 649 | ], 650 | ), 651 | Column( 652 | children: [ 653 | GestureDetector( 654 | onTap: (){ 655 | //Navigator.of(context).pushNamed(CARS_ITEM_LIST); 656 | print('Routing to Cars item list'); 657 | }, 658 | child: Image.asset( 659 | 'assets/images/car.png', 660 | height: _height / 12, 661 | width: _width / 12, 662 | ), 663 | ), 664 | SizedBox( 665 | height: 5, 666 | ), 667 | Flexible( 668 | child: Text( 669 | "Cars", 670 | style: TextStyle( fontSize: 13), 671 | ), 672 | ), 673 | ], 674 | ), 675 | Column( 676 | children: [ 677 | GestureDetector( 678 | onTap: (){ 679 | //Navigator.of(context).pushNamed(BIKES_ITEM_LIST); 680 | print('Routing to Bikes item list'); 681 | }, 682 | child: Image.asset( 683 | 'assets/images/bike.png', 684 | height: _height / 12, 685 | width: _width / 12, 686 | ), 687 | ), 688 | SizedBox( 689 | height: 5, 690 | ), 691 | Flexible( 692 | child: Text( 693 | "Bikes", 694 | style: TextStyle( fontSize: 13), 695 | ), 696 | ), 697 | ], 698 | ), 699 | Column( 700 | children: [ 701 | GestureDetector( 702 | onTap: () { 703 | //Navigator.of(context).pushNamed(MOBILES_ITEM_LIST); 704 | print('Routing to Mobiles item list'); 705 | }, 706 | child: Image.asset( 707 | 'assets/images/smartphone.png', 708 | height: _height / 12, 709 | width: _width / 12, 710 | )), 711 | SizedBox( 712 | height: 5, 713 | ), 714 | Flexible( 715 | child: Text( 716 | "Mobiles", 717 | style: TextStyle( fontSize: 13), 718 | ), 719 | ), 720 | ], 721 | ), 722 | Column( 723 | children: [ 724 | GestureDetector( 725 | onTap: (){ 726 | //Navigator.of(context).pushNamed(PETS_ITEM_LIST); 727 | print('Routing to Pets item list'); 728 | }, 729 | child: Image.asset( 730 | 'assets/images/pet.png', 731 | height: _height / 12, 732 | width: _width / 12, 733 | ), 734 | ), 735 | SizedBox( 736 | height: 5, 737 | ), 738 | Flexible( 739 | child: Text( 740 | "Pets", 741 | style: TextStyle(fontSize: 13), 742 | ), 743 | ), 744 | ], 745 | ), 746 | ], 747 | ), 748 | secondChild: GridView.count( 749 | physics: NeverScrollableScrollPhysics(), 750 | shrinkWrap: true, 751 | crossAxisCount: 4, 752 | children: [ 753 | Column( 754 | children: [ 755 | GestureDetector( 756 | onTap: () { 757 | //Navigator.of(context).pushNamed(ELECTRONICS_ITEM_LIST); 758 | print('Routing to Electronics item list'); 759 | }, 760 | child: Image.asset( 761 | 'assets/images/gadget.png', 762 | height: _height / 12, 763 | width: _width / 12, 764 | ), 765 | ), 766 | SizedBox( 767 | height: 5, 768 | ), 769 | Flexible( 770 | child: Text( 771 | "Electronics", 772 | style: TextStyle(fontSize: 13), 773 | ), 774 | ), 775 | ], 776 | ), 777 | Column( 778 | children: [ 779 | GestureDetector( 780 | onTap: () { 781 | //Navigator.of(context).pushNamed(PROPERTIES_ITEM_LIST); 782 | print('Routing to Properties item list'); 783 | }, 784 | child: Image.asset( 785 | 'assets/images/house.png', 786 | height: _height / 12, 787 | width: _width / 12, 788 | )), 789 | SizedBox( 790 | height: 5, 791 | ), 792 | Flexible( 793 | child: Text( 794 | "Properties", 795 | style: TextStyle(fontSize: 13), 796 | ), 797 | ), 798 | ], 799 | ), 800 | Column( 801 | children: [ 802 | GestureDetector( 803 | onTap: () { 804 | //Navigator.of(context).pushNamed(JOBS_ITEM_LIST); 805 | print('Routing to Jobs item list'); 806 | }, 807 | child: Image.asset( 808 | 'assets/images/job.png', 809 | height: _height / 12, 810 | width: _width / 12, 811 | )), 812 | SizedBox( 813 | height: 5, 814 | ), 815 | Flexible( 816 | child: Text( 817 | "Jobs", 818 | style: TextStyle( fontSize: 13), 819 | ), 820 | ), 821 | ], 822 | ), 823 | Column( 824 | children: [ 825 | GestureDetector( 826 | onTap: () { 827 | //Navigator.of(context).pushNamed(FURNITURE_ITEM_LIST); 828 | print('Routing to Furniture item list'); 829 | }, 830 | child: Image.asset( 831 | 'assets/images/sofa.png', 832 | height: _height / 12, 833 | width: _width / 12, 834 | )), 835 | SizedBox( 836 | height: 5, 837 | ), 838 | Flexible( 839 | child: Text( 840 | "Furniture", 841 | style: TextStyle(fontSize: 13), 842 | ), 843 | ), 844 | ], 845 | ), 846 | Column( 847 | children: [ 848 | GestureDetector( 849 | onTap: (){ 850 | //Navigator.of(context).pushNamed(CARS_ITEM_LIST); 851 | print('Routing to Cars item list'); 852 | }, 853 | child: Image.asset( 854 | 'assets/images/car.png', 855 | height: _height / 12, 856 | width: _width / 12, 857 | ), 858 | ), 859 | SizedBox( 860 | height: 5, 861 | ), 862 | Flexible( 863 | child: Text( 864 | "Cars", 865 | style: TextStyle( fontSize: 13), 866 | ), 867 | ), 868 | ], 869 | ), 870 | Column( 871 | children: [ 872 | GestureDetector( 873 | onTap: (){ 874 | //Navigator.of(context).pushNamed(BIKES_ITEM_LIST); 875 | print('Routing to Bikes item list'); 876 | }, 877 | child: Image.asset( 878 | 'assets/images/bike.png', 879 | height: _height / 12, 880 | width: _width / 12, 881 | ), 882 | ), 883 | SizedBox( 884 | height: 5, 885 | ), 886 | Flexible( 887 | child: Text( 888 | "Bikes", 889 | style: TextStyle( fontSize: 13), 890 | ), 891 | ), 892 | ], 893 | ), 894 | Column( 895 | children: [ 896 | GestureDetector( 897 | onTap: () { 898 | //Navigator.of(context).pushNamed(MOBILES_ITEM_LIST); 899 | print('Routing to Mobiles item list'); 900 | }, 901 | child: Image.asset( 902 | 'assets/images/smartphone.png', 903 | height: _height / 12, 904 | width: _width / 12, 905 | )), 906 | SizedBox( 907 | height: 5, 908 | ), 909 | Flexible( 910 | child: Text( 911 | "Mobiles", 912 | style: TextStyle( fontSize: 13), 913 | ), 914 | ), 915 | ], 916 | ), 917 | Column( 918 | children: [ 919 | GestureDetector( 920 | onTap: (){ 921 | //Navigator.of(context).pushNamed(PETS_ITEM_LIST); 922 | print('Routing to Pets item list'); 923 | }, 924 | child: Image.asset( 925 | 'assets/images/pet.png', 926 | height: _height / 12, 927 | width: _width / 12, 928 | ), 929 | ), 930 | SizedBox( 931 | height: 5, 932 | ), 933 | Flexible( 934 | child: Text( 935 | "Pets", 936 | style: TextStyle(fontSize: 13), 937 | ), 938 | ), 939 | ], 940 | ), 941 | Column( 942 | children: [ 943 | GestureDetector( 944 | onTap: (){ 945 | //Navigator.of(context).pushNamed(FASHION_ITEM_LIST); 946 | print('Routing to Fashion item list'); 947 | }, 948 | child: Image.asset( 949 | 'assets/images/dress.png', 950 | height: _height / 12, 951 | width: _width / 12, 952 | ), 953 | ), 954 | SizedBox( 955 | height: 5, 956 | ), 957 | Flexible( 958 | child: Text( 959 | "Fashion", 960 | style: TextStyle( fontSize: 13), 961 | ), 962 | ), 963 | ], 964 | ), 965 | ], 966 | ), 967 | crossFadeState: 968 | isExpanded ? CrossFadeState.showSecond : CrossFadeState.showFirst, 969 | duration: kThemeAnimationDuration, 970 | ), 971 | ); 972 | } 973 | 974 | Widget trendingProducts() { 975 | return Container( 976 | height: _height / 4.25, 977 | //width: MediaQuery.of(context).size.width, 978 | child: ListView.builder( 979 | padding: EdgeInsets.all(5), 980 | shrinkWrap: true, 981 | itemCount: trendingListItems.length, 982 | scrollDirection: Axis.horizontal, 983 | itemBuilder: (BuildContext context, index) { 984 | return _buildTrendingEntries(context, index, trendingListItems); 985 | }, 986 | ), 987 | ); 988 | } 989 | 990 | Widget _buildTrendingEntries(BuildContext context, int index, List listItem) { 991 | return GestureDetector( 992 | onTap: () { 993 | // Navigator.of(context).pushNamed(DETAIL_UI); 994 | print("Routing to trending list page"); 995 | }, 996 | child: CustomCard( 997 | title: '${listItem[index].title}', 998 | category: '${listItem[index].category}', 999 | price: "₹${listItem[index].price}", 1000 | dateAdded: "${listItem[index].dateAdded}", 1001 | description: "${listItem[index].desc}", 1002 | image: "${listItem[index].image}", 1003 | location: "Sector 62, Noida", 1004 | ), 1005 | ); 1006 | } 1007 | 1008 | Widget recommendations() { 1009 | return Container( 1010 | height: _height / 4.25, 1011 | //width: MediaQuery.of(context).size.width, 1012 | child: ListView.builder( 1013 | padding: EdgeInsets.all(5), 1014 | shrinkWrap: true, 1015 | itemCount: recommendListItems.length, 1016 | scrollDirection: Axis.horizontal, 1017 | itemBuilder: (BuildContext context, index) { 1018 | return _buildRecommendationsEntries( 1019 | context, index, recommendListItems); 1020 | }, 1021 | ), 1022 | ); 1023 | } 1024 | 1025 | Widget _buildRecommendationsEntries(BuildContext context, int index, List listItem) { 1026 | return GestureDetector( 1027 | onTap: () { 1028 | //Navigator.of(context).pushNamed(DETAIL_UI); 1029 | print("Routing to detail page"); 1030 | }, 1031 | child: CustomCard( 1032 | title: '${listItem[index].title}', 1033 | category: '${listItem[index].category}', 1034 | price: "₹${listItem[index].price}", 1035 | dateAdded: "${listItem[index].dateAdded}", 1036 | description: "${listItem[index].desc}", 1037 | image: "${listItem[index].image}", 1038 | location: "Sector 62, Noida", 1039 | ), 1040 | ); 1041 | } 1042 | 1043 | Widget todaysDeals() { 1044 | return Container( 1045 | height: _height / 4.25, 1046 | //width: MediaQuery.of(context).size.width, 1047 | child: ListView.builder( 1048 | padding: EdgeInsets.all(5), 1049 | shrinkWrap: true, 1050 | itemCount: dealsListItems.length, 1051 | scrollDirection: Axis.horizontal, 1052 | itemBuilder: (BuildContext context, index) { 1053 | return _buildDealsEntries(context, index, dealsListItems); 1054 | }, 1055 | ), 1056 | ); 1057 | } 1058 | 1059 | Widget _buildDealsEntries(BuildContext context, int index, List listItem) { 1060 | return GestureDetector( 1061 | onTap: () { 1062 | //Navigator.of(context).pushNamed(DETAIL_UI); 1063 | print("Routing to detail page"); 1064 | }, 1065 | child: CustomCard( 1066 | title: '${listItem[index].title}', 1067 | category: '${listItem[index].category}', 1068 | price: "₹${listItem[index].price}", 1069 | dateAdded: "${listItem[index].dateAdded}", 1070 | description: "${listItem[index].desc}", 1071 | image: "${listItem[index].image}", 1072 | location: "Sector 62, Noida", 1073 | ), 1074 | ); 1075 | } 1076 | } 1077 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter/services.dart'; 3 | import 'package:flutter_classifiedappclone/Constants/constants.dart'; 4 | import 'package:flutter_classifiedappclone/UI/Widgets/splash_screen.dart'; 5 | import 'package:flutter_classifiedappclone/UI/main_ui.dart'; 6 | 7 | 8 | 9 | void main() => runApp(MyApp()); 10 | 11 | class MyApp extends StatelessWidget { 12 | @override 13 | Widget build(BuildContext context) { 14 | SystemChrome.setPreferredOrientations([ 15 | DeviceOrientation.portraitUp, 16 | DeviceOrientation.portraitDown, 17 | ]); 18 | return MaterialApp( 19 | 20 | debugShowCheckedModeBanner: false, 21 | title: 'Flutter Classified App Clone', 22 | theme: ThemeData(primaryColor: Colors.orange[200]), 23 | routes: { 24 | MAIN_UI: (BuildContext context) => MainUI(), 25 | SPLASH_SCREEN: (BuildContext context) => AnimatedSplashScreen(), 26 | 27 | 28 | }, 29 | initialRoute: SPLASH_SCREEN, 30 | ); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /local.properties: -------------------------------------------------------------------------------- 1 | ## This file must *NOT* be checked into Version Control Systems, 2 | # as it contains information specific to your local configuration. 3 | # 4 | # Location of the SDK. This is only used by Gradle. 5 | # For customization when using a Version Control System, please read the 6 | # header note. 7 | #Tue Jun 18 11:42:15 IST 2019 8 | ndk.dir=/home/aditya/Android/Sdk/ndk-bundle 9 | sdk.dir=/home/aditya/Android/Sdk 10 | -------------------------------------------------------------------------------- /pubspec.lock: -------------------------------------------------------------------------------- 1 | # Generated by pub 2 | # See https://www.dartlang.org/tools/pub/glossary#lockfile 3 | packages: 4 | async: 5 | dependency: transitive 6 | description: 7 | name: async 8 | url: "https://pub.dartlang.org" 9 | source: hosted 10 | version: "2.1.0" 11 | boolean_selector: 12 | dependency: transitive 13 | description: 14 | name: boolean_selector 15 | url: "https://pub.dartlang.org" 16 | source: hosted 17 | version: "1.0.4" 18 | charcode: 19 | dependency: transitive 20 | description: 21 | name: charcode 22 | url: "https://pub.dartlang.org" 23 | source: hosted 24 | version: "1.1.2" 25 | collection: 26 | dependency: transitive 27 | description: 28 | name: collection 29 | url: "https://pub.dartlang.org" 30 | source: hosted 31 | version: "1.14.11" 32 | cupertino_icons: 33 | dependency: "direct main" 34 | description: 35 | name: cupertino_icons 36 | url: "https://pub.dartlang.org" 37 | source: hosted 38 | version: "0.1.2" 39 | flutter: 40 | dependency: "direct main" 41 | description: flutter 42 | source: sdk 43 | version: "0.0.0" 44 | flutter_test: 45 | dependency: "direct dev" 46 | description: flutter 47 | source: sdk 48 | version: "0.0.0" 49 | matcher: 50 | dependency: transitive 51 | description: 52 | name: matcher 53 | url: "https://pub.dartlang.org" 54 | source: hosted 55 | version: "0.12.5" 56 | meta: 57 | dependency: transitive 58 | description: 59 | name: meta 60 | url: "https://pub.dartlang.org" 61 | source: hosted 62 | version: "1.1.6" 63 | path: 64 | dependency: transitive 65 | description: 66 | name: path 67 | url: "https://pub.dartlang.org" 68 | source: hosted 69 | version: "1.6.2" 70 | pedantic: 71 | dependency: transitive 72 | description: 73 | name: pedantic 74 | url: "https://pub.dartlang.org" 75 | source: hosted 76 | version: "1.5.0" 77 | quiver: 78 | dependency: transitive 79 | description: 80 | name: quiver 81 | url: "https://pub.dartlang.org" 82 | source: hosted 83 | version: "2.0.2" 84 | sky_engine: 85 | dependency: transitive 86 | description: flutter 87 | source: sdk 88 | version: "0.0.99" 89 | source_span: 90 | dependency: transitive 91 | description: 92 | name: source_span 93 | url: "https://pub.dartlang.org" 94 | source: hosted 95 | version: "1.5.5" 96 | stack_trace: 97 | dependency: transitive 98 | description: 99 | name: stack_trace 100 | url: "https://pub.dartlang.org" 101 | source: hosted 102 | version: "1.9.3" 103 | stream_channel: 104 | dependency: transitive 105 | description: 106 | name: stream_channel 107 | url: "https://pub.dartlang.org" 108 | source: hosted 109 | version: "2.0.0" 110 | string_scanner: 111 | dependency: transitive 112 | description: 113 | name: string_scanner 114 | url: "https://pub.dartlang.org" 115 | source: hosted 116 | version: "1.0.4" 117 | term_glyph: 118 | dependency: transitive 119 | description: 120 | name: term_glyph 121 | url: "https://pub.dartlang.org" 122 | source: hosted 123 | version: "1.1.0" 124 | test_api: 125 | dependency: transitive 126 | description: 127 | name: test_api 128 | url: "https://pub.dartlang.org" 129 | source: hosted 130 | version: "0.2.4" 131 | typed_data: 132 | dependency: transitive 133 | description: 134 | name: typed_data 135 | url: "https://pub.dartlang.org" 136 | source: hosted 137 | version: "1.1.6" 138 | vector_math: 139 | dependency: transitive 140 | description: 141 | name: vector_math 142 | url: "https://pub.dartlang.org" 143 | source: hosted 144 | version: "2.0.8" 145 | sdks: 146 | dart: ">=2.2.0 <3.0.0" 147 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: flutter_classifiedappclone 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 | # 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 | 23 | # The following adds the Cupertino Icons font to your application. 24 | # Use with the CupertinoIcons class for iOS style icons. 25 | cupertino_icons: ^0.1.2 26 | 27 | dev_dependencies: 28 | flutter_test: 29 | sdk: flutter 30 | 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 | 38 | # The following line ensures that the Material Icons font is 39 | # included with your application, so that you can use the icons in 40 | # the material Icons class. 41 | uses-material-design: true 42 | 43 | # To add assets to your application, add an assets section, like this: 44 | assets: 45 | - assets/images/house.png 46 | - assets/images/sofa.png 47 | - assets/images/gadget.png 48 | - assets/images/bike.png 49 | - assets/images/pet.png 50 | - assets/images/car.png 51 | - assets/images/smartphone.png 52 | - assets/images/job.png 53 | - assets/images/powered_by.png 54 | - assets/images/logo.png 55 | - assets/images/laptop.png 56 | - assets/images/lenovot450.jpg 57 | - assets/images/samsuns9+.jpg 58 | - assets/images/bike.jpg 59 | - assets/images/sofa.jpg 60 | - assets/images/canon.jpg 61 | - assets/images/sofa.png 62 | - assets/images/dress.png 63 | - assets/images/menubutton.png 64 | 65 | # An image asset can refer to one or more resolution-specific "variants", see 66 | # https://flutter.dev/assets-and-images/#resolution-aware. 67 | 68 | # For details regarding adding assets from package dependencies, see 69 | # https://flutter.dev/assets-and-images/#from-packages 70 | 71 | # To add custom fonts to your application, add a fonts section here, 72 | # in this "flutter" section. Each entry in this list should have a 73 | # "family" key with the font family name, and a "fonts" key with a 74 | # list giving the asset and other descriptors for the font. For 75 | # example: 76 | # fonts: 77 | # - family: Schyler 78 | # fonts: 79 | # - asset: fonts/Schyler-Regular.ttf 80 | # - asset: fonts/Schyler-Italic.ttf 81 | # style: italic 82 | # - family: Trajan Pro 83 | # fonts: 84 | # - asset: fonts/TrajanPro.ttf 85 | # - asset: fonts/TrajanPro_Bold.ttf 86 | # weight: 700 87 | # 88 | # For details regarding fonts from package dependencies, 89 | # see https://flutter.dev/custom-fonts/#from-packages 90 | -------------------------------------------------------------------------------- /screens/android1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/screens/android1.png -------------------------------------------------------------------------------- /screens/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/screens/demo.gif -------------------------------------------------------------------------------- /screens/iphone1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_classified_app/2c1e2fdc14307e90a36d5d5ba62366a44b9196f3/screens/iphone1.png -------------------------------------------------------------------------------- /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_classifiedappclone/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 | --------------------------------------------------------------------------------