├── .gitignore ├── .metadata ├── .vscode └── launch.json ├── README.md ├── android ├── .gitignore ├── app │ ├── build.gradle │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── kotlin │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── outlook │ │ │ │ └── MainActivity.kt │ │ └── res │ │ │ ├── drawable-v21 │ │ │ └── launch_background.xml │ │ │ ├── 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-night │ │ │ └── styles.xml │ │ │ └── values │ │ │ └── styles.xml │ │ └── profile │ │ └── AndroidManifest.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── assets ├── Icons │ ├── Angle down.svg │ ├── Angle right.svg │ ├── Download.svg │ ├── Edit.svg │ ├── File.svg │ ├── Inbox.svg │ ├── Markup filled.svg │ ├── Markup.svg │ ├── More vertical.svg │ ├── Paperclip.svg │ ├── Plus.svg │ ├── Printer.svg │ ├── Reply all.svg │ ├── Reply.svg │ ├── Search.svg │ ├── Send.svg │ ├── Sort.svg │ ├── Transfer.svg │ └── Trash.svg └── images │ ├── Img_0.png │ ├── Img_1.png │ ├── Img_2.png │ ├── Logo Outlook.png │ ├── profile.png │ ├── user_1.png │ ├── user_2.png │ ├── user_3.png │ ├── user_4.png │ └── user_5.png ├── integration_test ├── app_test.dart └── driver.dart ├── ios ├── .gitignore ├── Flutter │ ├── AppFrameworkInfo.plist │ ├── Debug.xcconfig │ └── Release.xcconfig ├── Podfile ├── Podfile.lock ├── Runner.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ └── WorkspaceSettings.xcsettings │ └── xcshareddata │ │ └── xcschemes │ │ └── Runner.xcscheme ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── IDEWorkspaceChecks.plist │ │ └── WorkspaceSettings.xcsettings └── Runner │ ├── AppDelegate.swift │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ ├── Contents.json │ │ ├── Icon-App-1024x1024@1x.png │ │ ├── Icon-App-20x20@1x.png │ │ ├── Icon-App-20x20@2x.png │ │ ├── Icon-App-20x20@3x.png │ │ ├── Icon-App-29x29@1x.png │ │ ├── Icon-App-29x29@2x.png │ │ ├── Icon-App-29x29@3x.png │ │ ├── Icon-App-40x40@1x.png │ │ ├── Icon-App-40x40@2x.png │ │ ├── Icon-App-40x40@3x.png │ │ ├── Icon-App-60x60@2x.png │ │ ├── Icon-App-60x60@3x.png │ │ ├── Icon-App-76x76@1x.png │ │ ├── Icon-App-76x76@2x.png │ │ └── Icon-App-83.5x83.5@2x.png │ └── LaunchImage.imageset │ │ ├── Contents.json │ │ ├── LaunchImage.png │ │ ├── LaunchImage@2x.png │ │ ├── LaunchImage@3x.png │ │ └── README.md │ ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard │ ├── Info.plist │ └── Runner-Bridging-Header.h ├── lib ├── components │ ├── counter_badge.dart │ ├── side_menu.dart │ ├── side_menu_item.dart │ └── tags.dart ├── constants.dart ├── extensions.dart ├── main.dart ├── models │ └── Email.dart ├── responsive.dart └── screens │ ├── email │ ├── components │ │ └── header.dart │ └── email_screen.dart │ └── main │ ├── components │ ├── email_card.dart │ └── list_of_emails.dart │ └── main_screen.dart ├── pubspec.lock ├── pubspec.yaml ├── test └── widget_test.dart ├── ui.png └── web ├── favicon.png ├── icons ├── Icon-192.png └── Icon-512.png ├── index.html └── manifest.json /.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.log 4 | *.pyc 5 | *.swp 6 | .DS_Store 7 | .atom/ 8 | .buildlog/ 9 | .history 10 | .svn/ 11 | 12 | # IntelliJ related 13 | *.iml 14 | *.ipr 15 | *.iws 16 | .idea/ 17 | 18 | # The .vscode folder contains launch configuration and tasks you configure in 19 | # VS Code which you may wish to be included in version control, so this line 20 | # is commented out by default. 21 | #.vscode/ 22 | 23 | # Flutter/Dart/Pub related 24 | **/doc/api/ 25 | **/ios/Flutter/.last_build_id 26 | .dart_tool/ 27 | .flutter-plugins 28 | .flutter-plugins-dependencies 29 | .packages 30 | .pub-cache/ 31 | .pub/ 32 | /build/ 33 | 34 | # Web related 35 | lib/generated_plugin_registrant.dart 36 | 37 | # Symbolication related 38 | app.*.symbols 39 | 40 | # Obfuscation related 41 | app.*.map.json 42 | 43 | # Android Studio will place build artifacts here 44 | /android/app/debug 45 | /android/app/profile 46 | /android/app/release 47 | -------------------------------------------------------------------------------- /.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: 5d36f2e7f5387b6c751449258ade8e4e6edf99be 8 | channel: beta 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "name": "outlook", 9 | "request": "launch", 10 | "type": "dart", 11 | "args": [ 12 | "--web-port", 13 | "4200", 14 | "--dart-define=FLUTTER_WEB_USE_SKIA", 15 | "false" 16 | ] 17 | } 18 | ] 19 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Outlook Email App Redesign - Flutter Fully Responsive Design UI 2 | 3 | ## [Watch it on YouTube](https://youtu.be/0mp-Ok00WZE) 4 | 5 | 6 | ### Flutter web work on beta make sure you change your channel, [Configure the flutter tool for web support](https://flutter.dev/docs/get-started/web) 7 | 8 | **Packages we are using:** 9 | 10 | - websafe_svg: [link](https://pub.dev/packages/websafe_svg) 11 | - flutter_staggered_grid_view: [link](https://pub.dev/packages/flutter_staggered_grid_view) 12 | 13 | We redesign the outlook app also make it responsive so that you can run it everywhere on your phone, tab, or web. In this flutter responsive video, we will show you the real power of flutter. Make mobile, web, and desktop app from a single codebase. 14 | 15 | ### Outlook Email App Redesign Responsive Final UI 16 | 17 | ![Preview](/gif.gif) 18 | 19 | ![App UI](/ui.png) 20 | -------------------------------------------------------------------------------- /android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | /.gradle 3 | /captures/ 4 | /gradlew 5 | /gradlew.bat 6 | /local.properties 7 | GeneratedPluginRegistrant.java 8 | 9 | # Remember to never publicly share your keystore. 10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app 11 | key.properties 12 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | def localProperties = new Properties() 2 | def localPropertiesFile = rootProject.file('local.properties') 3 | if (localPropertiesFile.exists()) { 4 | localPropertiesFile.withReader('UTF-8') { reader -> 5 | localProperties.load(reader) 6 | } 7 | } 8 | 9 | def flutterRoot = localProperties.getProperty('flutter.sdk') 10 | if (flutterRoot == null) { 11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") 12 | } 13 | 14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode') 15 | if (flutterVersionCode == null) { 16 | flutterVersionCode = '1' 17 | } 18 | 19 | def flutterVersionName = localProperties.getProperty('flutter.versionName') 20 | if (flutterVersionName == null) { 21 | flutterVersionName = '1.0' 22 | } 23 | 24 | apply plugin: 'com.android.application' 25 | apply plugin: 'kotlin-android' 26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 27 | 28 | android { 29 | compileSdkVersion 30 30 | 31 | sourceSets { 32 | main.java.srcDirs += 'src/main/kotlin' 33 | } 34 | 35 | defaultConfig { 36 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 37 | applicationId "com.example.outlook" 38 | minSdkVersion 16 39 | targetSdkVersion 30 40 | versionCode flutterVersionCode.toInteger() 41 | versionName flutterVersionName 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 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 59 | } 60 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 13 | 17 | 21 | 26 | 30 | 31 | 32 | 33 | 34 | 35 | 37 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /android/app/src/main/kotlin/com/example/outlook/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.outlook 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | class MainActivity: FlutterActivity() { 6 | } 7 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-v21/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /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/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values-night/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.3.50' 3 | repositories { 4 | google() 5 | jcenter() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:4.1.0' 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | } 12 | } 13 | 14 | allprojects { 15 | repositories { 16 | google() 17 | jcenter() 18 | } 19 | } 20 | 21 | rootProject.buildDir = '../build' 22 | subprojects { 23 | project.buildDir = "${rootProject.buildDir}/${project.name}" 24 | } 25 | subprojects { 26 | project.evaluationDependsOn(':app') 27 | } 28 | 29 | task clean(type: Delete) { 30 | delete rootProject.buildDir 31 | } 32 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jun 23 08:50:38 CEST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip 7 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties") 4 | def properties = new Properties() 5 | 6 | assert localPropertiesFile.exists() 7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } 8 | 9 | def flutterSdkPath = properties.getProperty("flutter.sdk") 10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" 12 | -------------------------------------------------------------------------------- /assets/Icons/Angle down.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/Icons/Angle right.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/Icons/Download.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/Icons/Edit.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/Icons/File.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/Icons/Inbox.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /assets/Icons/Markup filled.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/Icons/Markup.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/Icons/More vertical.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /assets/Icons/Paperclip.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /assets/Icons/Plus.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /assets/Icons/Printer.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /assets/Icons/Reply all.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /assets/Icons/Reply.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/Icons/Search.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /assets/Icons/Send.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /assets/Icons/Sort.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /assets/Icons/Transfer.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/Icons/Trash.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /assets/images/Img_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/assets/images/Img_0.png -------------------------------------------------------------------------------- /assets/images/Img_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/assets/images/Img_1.png -------------------------------------------------------------------------------- /assets/images/Img_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/assets/images/Img_2.png -------------------------------------------------------------------------------- /assets/images/Logo Outlook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/assets/images/Logo Outlook.png -------------------------------------------------------------------------------- /assets/images/profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/assets/images/profile.png -------------------------------------------------------------------------------- /assets/images/user_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/assets/images/user_1.png -------------------------------------------------------------------------------- /assets/images/user_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/assets/images/user_2.png -------------------------------------------------------------------------------- /assets/images/user_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/assets/images/user_3.png -------------------------------------------------------------------------------- /assets/images/user_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/assets/images/user_4.png -------------------------------------------------------------------------------- /assets/images/user_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/assets/images/user_5.png -------------------------------------------------------------------------------- /integration_test/app_test.dart: -------------------------------------------------------------------------------- 1 | // This is a basic Flutter integration 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 | import 'package:integration_test/integration_test.dart'; 11 | 12 | import 'package:outlook/main.dart' as app; 13 | 14 | void main() => run(_testMain); 15 | 16 | void _testMain() { 17 | testWidgets('Counter increments smoke test', (WidgetTester tester) async { 18 | // Build our app and trigger a frame. 19 | app.main(); 20 | 21 | // Trigger a frame. 22 | await tester.pumpAndSettle(); 23 | 24 | // Verify that our counter starts at 0. 25 | expect(find.text('0'), findsOneWidget); 26 | expect(find.text('1'), findsNothing); 27 | 28 | // Tap the '+' icon and trigger a frame. 29 | await tester.tap(find.byIcon(Icons.add)); 30 | await tester.pump(); 31 | 32 | // Verify that our counter has incremented. 33 | expect(find.text('0'), findsNothing); 34 | expect(find.text('1'), findsOneWidget); 35 | }); 36 | } 37 | -------------------------------------------------------------------------------- /integration_test/driver.dart: -------------------------------------------------------------------------------- 1 | // This file is provided as a convenience for running integration tests via the 2 | // flutter drive command. 3 | // 4 | // flutter drive --driver integration_test/driver.dart --target integration_test/app_test.dart 5 | 6 | import 'package:integration_test/integration_test_driver.dart'; 7 | 8 | Future main() => integrationDriver(); 9 | -------------------------------------------------------------------------------- /ios/.gitignore: -------------------------------------------------------------------------------- 1 | *.mode1v3 2 | *.mode2v3 3 | *.moved-aside 4 | *.pbxuser 5 | *.perspectivev3 6 | **/*sync/ 7 | .sconsign.dblite 8 | .tags* 9 | **/.vagrant/ 10 | **/DerivedData/ 11 | Icon? 12 | **/Pods/ 13 | **/.symlinks/ 14 | profile 15 | xcuserdata 16 | **/.generated/ 17 | Flutter/App.framework 18 | Flutter/Flutter.framework 19 | Flutter/Flutter.podspec 20 | Flutter/Generated.xcconfig 21 | Flutter/app.flx 22 | Flutter/app.zip 23 | Flutter/flutter_assets/ 24 | Flutter/flutter_export_environment.sh 25 | ServiceDefinitions.json 26 | Runner/GeneratedPluginRegistrant.* 27 | 28 | # Exceptions to above rules. 29 | !default.mode1v3 30 | !default.mode2v3 31 | !default.pbxuser 32 | !default.perspectivev3 33 | -------------------------------------------------------------------------------- /ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | 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 "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /ios/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment this line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency. 5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true' 6 | 7 | project 'Runner', { 8 | 'Debug' => :debug, 9 | 'Profile' => :release, 10 | 'Release' => :release, 11 | } 12 | 13 | def flutter_root 14 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) 15 | unless File.exist?(generated_xcode_build_settings_path) 16 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" 17 | end 18 | 19 | File.foreach(generated_xcode_build_settings_path) do |line| 20 | matches = line.match(/FLUTTER_ROOT\=(.*)/) 21 | return matches[1].strip if matches 22 | end 23 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" 24 | end 25 | 26 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) 27 | 28 | flutter_ios_podfile_setup 29 | 30 | target 'Runner' do 31 | use_frameworks! 32 | use_modular_headers! 33 | 34 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) 35 | end 36 | 37 | post_install do |installer| 38 | installer.pods_project.targets.each do |target| 39 | flutter_additional_ios_build_settings(target) 40 | end 41 | end 42 | -------------------------------------------------------------------------------- /ios/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Flutter (1.0.0) 3 | - integration_test (0.0.1): 4 | - Flutter 5 | 6 | DEPENDENCIES: 7 | - Flutter (from `Flutter`) 8 | - integration_test (from `.symlinks/plugins/integration_test/ios`) 9 | 10 | EXTERNAL SOURCES: 11 | Flutter: 12 | :path: Flutter 13 | integration_test: 14 | :path: ".symlinks/plugins/integration_test/ios" 15 | 16 | SPEC CHECKSUMS: 17 | Flutter: 434fef37c0980e73bb6479ef766c45957d4b510c 18 | integration_test: 5ed24a436eb7ec17b6a13046e9bf7ca4a404e59e 19 | 20 | PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c 21 | 22 | COCOAPODS: 1.10.0 23 | -------------------------------------------------------------------------------- /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 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 13 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 14 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 15 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 16 | B0B72996DAE9B462D43CC873 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A781EADAB6FE5F432C8F70B2 /* Pods_Runner.framework */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXCopyFilesBuildPhase section */ 20 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 21 | isa = PBXCopyFilesBuildPhase; 22 | buildActionMask = 2147483647; 23 | dstPath = ""; 24 | dstSubfolderSpec = 10; 25 | files = ( 26 | ); 27 | name = "Embed Frameworks"; 28 | runOnlyForDeploymentPostprocessing = 0; 29 | }; 30 | /* End PBXCopyFilesBuildPhase section */ 31 | 32 | /* Begin PBXFileReference section */ 33 | 0753092A6DE2E3B5D7679E90 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; 34 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 35 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 36 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 37 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 38 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 39 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 40 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 41 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 42 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 43 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 44 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 45 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 46 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 47 | 9B6984C2355AA659C79A3EEA /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; 48 | A28A9645109AF8B35BDFDDD6 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; 49 | A781EADAB6FE5F432C8F70B2 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | B0B72996DAE9B462D43CC873 /* Pods_Runner.framework in Frameworks */, 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | /* End PBXFrameworksBuildPhase section */ 62 | 63 | /* Begin PBXGroup section */ 64 | 227EB65475D54EE87478C9B1 /* Frameworks */ = { 65 | isa = PBXGroup; 66 | children = ( 67 | A781EADAB6FE5F432C8F70B2 /* Pods_Runner.framework */, 68 | ); 69 | name = Frameworks; 70 | sourceTree = ""; 71 | }; 72 | 9740EEB11CF90186004384FC /* Flutter */ = { 73 | isa = PBXGroup; 74 | children = ( 75 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 76 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 77 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 78 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 79 | ); 80 | name = Flutter; 81 | sourceTree = ""; 82 | }; 83 | 97C146E51CF9000F007C117D = { 84 | isa = PBXGroup; 85 | children = ( 86 | 9740EEB11CF90186004384FC /* Flutter */, 87 | 97C146F01CF9000F007C117D /* Runner */, 88 | 97C146EF1CF9000F007C117D /* Products */, 89 | D4392A6392F6324B1A6565B6 /* Pods */, 90 | 227EB65475D54EE87478C9B1 /* 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 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 106 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 107 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 108 | 97C147021CF9000F007C117D /* Info.plist */, 109 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 110 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 111 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, 112 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, 113 | ); 114 | path = Runner; 115 | sourceTree = ""; 116 | }; 117 | D4392A6392F6324B1A6565B6 /* Pods */ = { 118 | isa = PBXGroup; 119 | children = ( 120 | 9B6984C2355AA659C79A3EEA /* Pods-Runner.debug.xcconfig */, 121 | 0753092A6DE2E3B5D7679E90 /* Pods-Runner.release.xcconfig */, 122 | A28A9645109AF8B35BDFDDD6 /* Pods-Runner.profile.xcconfig */, 123 | ); 124 | name = Pods; 125 | path = Pods; 126 | sourceTree = ""; 127 | }; 128 | /* End PBXGroup section */ 129 | 130 | /* Begin PBXNativeTarget section */ 131 | 97C146ED1CF9000F007C117D /* Runner */ = { 132 | isa = PBXNativeTarget; 133 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 134 | buildPhases = ( 135 | 675C28691A2F4DA400B53E59 /* [CP] Check Pods Manifest.lock */, 136 | 9740EEB61CF901F6004384FC /* Run Script */, 137 | 97C146EA1CF9000F007C117D /* Sources */, 138 | 97C146EB1CF9000F007C117D /* Frameworks */, 139 | 97C146EC1CF9000F007C117D /* Resources */, 140 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 141 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 142 | 05BE7985A40FD708A8F5F8FE /* [CP] Embed Pods Frameworks */, 143 | ); 144 | buildRules = ( 145 | ); 146 | dependencies = ( 147 | ); 148 | name = Runner; 149 | productName = Runner; 150 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 151 | productType = "com.apple.product-type.application"; 152 | }; 153 | /* End PBXNativeTarget section */ 154 | 155 | /* Begin PBXProject section */ 156 | 97C146E61CF9000F007C117D /* Project object */ = { 157 | isa = PBXProject; 158 | attributes = { 159 | LastUpgradeCheck = 1020; 160 | ORGANIZATIONNAME = ""; 161 | TargetAttributes = { 162 | 97C146ED1CF9000F007C117D = { 163 | CreatedOnToolsVersion = 7.3.1; 164 | LastSwiftMigration = 1100; 165 | }; 166 | }; 167 | }; 168 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 169 | compatibilityVersion = "Xcode 9.3"; 170 | developmentRegion = en; 171 | hasScannedForEncodings = 0; 172 | knownRegions = ( 173 | en, 174 | Base, 175 | ); 176 | mainGroup = 97C146E51CF9000F007C117D; 177 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 178 | projectDirPath = ""; 179 | projectRoot = ""; 180 | targets = ( 181 | 97C146ED1CF9000F007C117D /* Runner */, 182 | ); 183 | }; 184 | /* End PBXProject section */ 185 | 186 | /* Begin PBXResourcesBuildPhase section */ 187 | 97C146EC1CF9000F007C117D /* Resources */ = { 188 | isa = PBXResourcesBuildPhase; 189 | buildActionMask = 2147483647; 190 | files = ( 191 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 192 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 193 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 194 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 195 | ); 196 | runOnlyForDeploymentPostprocessing = 0; 197 | }; 198 | /* End PBXResourcesBuildPhase section */ 199 | 200 | /* Begin PBXShellScriptBuildPhase section */ 201 | 05BE7985A40FD708A8F5F8FE /* [CP] Embed Pods Frameworks */ = { 202 | isa = PBXShellScriptBuildPhase; 203 | buildActionMask = 2147483647; 204 | files = ( 205 | ); 206 | inputFileListPaths = ( 207 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", 208 | ); 209 | name = "[CP] Embed Pods Frameworks"; 210 | outputFileListPaths = ( 211 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", 212 | ); 213 | runOnlyForDeploymentPostprocessing = 0; 214 | shellPath = /bin/sh; 215 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; 216 | showEnvVarsInLog = 0; 217 | }; 218 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 219 | isa = PBXShellScriptBuildPhase; 220 | buildActionMask = 2147483647; 221 | files = ( 222 | ); 223 | inputPaths = ( 224 | ); 225 | name = "Thin Binary"; 226 | outputPaths = ( 227 | ); 228 | runOnlyForDeploymentPostprocessing = 0; 229 | shellPath = /bin/sh; 230 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; 231 | }; 232 | 675C28691A2F4DA400B53E59 /* [CP] Check Pods Manifest.lock */ = { 233 | isa = PBXShellScriptBuildPhase; 234 | buildActionMask = 2147483647; 235 | files = ( 236 | ); 237 | inputFileListPaths = ( 238 | ); 239 | inputPaths = ( 240 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 241 | "${PODS_ROOT}/Manifest.lock", 242 | ); 243 | name = "[CP] Check Pods Manifest.lock"; 244 | outputFileListPaths = ( 245 | ); 246 | outputPaths = ( 247 | "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", 248 | ); 249 | runOnlyForDeploymentPostprocessing = 0; 250 | shellPath = /bin/sh; 251 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 252 | showEnvVarsInLog = 0; 253 | }; 254 | 9740EEB61CF901F6004384FC /* Run Script */ = { 255 | isa = PBXShellScriptBuildPhase; 256 | buildActionMask = 2147483647; 257 | files = ( 258 | ); 259 | inputPaths = ( 260 | ); 261 | name = "Run Script"; 262 | outputPaths = ( 263 | ); 264 | runOnlyForDeploymentPostprocessing = 0; 265 | shellPath = /bin/sh; 266 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 267 | }; 268 | /* End PBXShellScriptBuildPhase section */ 269 | 270 | /* Begin PBXSourcesBuildPhase section */ 271 | 97C146EA1CF9000F007C117D /* Sources */ = { 272 | isa = PBXSourcesBuildPhase; 273 | buildActionMask = 2147483647; 274 | files = ( 275 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, 276 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 277 | ); 278 | runOnlyForDeploymentPostprocessing = 0; 279 | }; 280 | /* End PBXSourcesBuildPhase section */ 281 | 282 | /* Begin PBXVariantGroup section */ 283 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 284 | isa = PBXVariantGroup; 285 | children = ( 286 | 97C146FB1CF9000F007C117D /* Base */, 287 | ); 288 | name = Main.storyboard; 289 | sourceTree = ""; 290 | }; 291 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 292 | isa = PBXVariantGroup; 293 | children = ( 294 | 97C147001CF9000F007C117D /* Base */, 295 | ); 296 | name = LaunchScreen.storyboard; 297 | sourceTree = ""; 298 | }; 299 | /* End PBXVariantGroup section */ 300 | 301 | /* Begin XCBuildConfiguration section */ 302 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 303 | isa = XCBuildConfiguration; 304 | buildSettings = { 305 | ALWAYS_SEARCH_USER_PATHS = NO; 306 | CLANG_ANALYZER_NONNULL = YES; 307 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 308 | CLANG_CXX_LIBRARY = "libc++"; 309 | CLANG_ENABLE_MODULES = YES; 310 | CLANG_ENABLE_OBJC_ARC = YES; 311 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 312 | CLANG_WARN_BOOL_CONVERSION = YES; 313 | CLANG_WARN_COMMA = YES; 314 | CLANG_WARN_CONSTANT_CONVERSION = YES; 315 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 316 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 317 | CLANG_WARN_EMPTY_BODY = YES; 318 | CLANG_WARN_ENUM_CONVERSION = YES; 319 | CLANG_WARN_INFINITE_RECURSION = YES; 320 | CLANG_WARN_INT_CONVERSION = YES; 321 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 322 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 323 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 324 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 325 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 326 | CLANG_WARN_STRICT_PROTOTYPES = YES; 327 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 328 | CLANG_WARN_UNREACHABLE_CODE = YES; 329 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 330 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 331 | COPY_PHASE_STRIP = NO; 332 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 333 | ENABLE_NS_ASSERTIONS = NO; 334 | ENABLE_STRICT_OBJC_MSGSEND = YES; 335 | GCC_C_LANGUAGE_STANDARD = gnu99; 336 | GCC_NO_COMMON_BLOCKS = YES; 337 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 338 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 339 | GCC_WARN_UNDECLARED_SELECTOR = YES; 340 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 341 | GCC_WARN_UNUSED_FUNCTION = YES; 342 | GCC_WARN_UNUSED_VARIABLE = YES; 343 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 344 | MTL_ENABLE_DEBUG_INFO = NO; 345 | SDKROOT = iphoneos; 346 | SUPPORTED_PLATFORMS = iphoneos; 347 | TARGETED_DEVICE_FAMILY = "1,2"; 348 | VALIDATE_PRODUCT = YES; 349 | }; 350 | name = Profile; 351 | }; 352 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 353 | isa = XCBuildConfiguration; 354 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 355 | buildSettings = { 356 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 357 | CLANG_ENABLE_MODULES = YES; 358 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 359 | ENABLE_BITCODE = NO; 360 | INFOPLIST_FILE = Runner/Info.plist; 361 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 362 | PRODUCT_BUNDLE_IDENTIFIER = com.example.outlook; 363 | PRODUCT_NAME = "$(TARGET_NAME)"; 364 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 365 | SWIFT_VERSION = 5.0; 366 | VERSIONING_SYSTEM = "apple-generic"; 367 | }; 368 | name = Profile; 369 | }; 370 | 97C147031CF9000F007C117D /* Debug */ = { 371 | isa = XCBuildConfiguration; 372 | buildSettings = { 373 | ALWAYS_SEARCH_USER_PATHS = NO; 374 | CLANG_ANALYZER_NONNULL = YES; 375 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 376 | CLANG_CXX_LIBRARY = "libc++"; 377 | CLANG_ENABLE_MODULES = YES; 378 | CLANG_ENABLE_OBJC_ARC = YES; 379 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 380 | CLANG_WARN_BOOL_CONVERSION = YES; 381 | CLANG_WARN_COMMA = YES; 382 | CLANG_WARN_CONSTANT_CONVERSION = YES; 383 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 384 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 385 | CLANG_WARN_EMPTY_BODY = YES; 386 | CLANG_WARN_ENUM_CONVERSION = YES; 387 | CLANG_WARN_INFINITE_RECURSION = YES; 388 | CLANG_WARN_INT_CONVERSION = YES; 389 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 390 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 391 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 392 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 393 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 394 | CLANG_WARN_STRICT_PROTOTYPES = YES; 395 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 396 | CLANG_WARN_UNREACHABLE_CODE = YES; 397 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 398 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 399 | COPY_PHASE_STRIP = NO; 400 | DEBUG_INFORMATION_FORMAT = dwarf; 401 | ENABLE_STRICT_OBJC_MSGSEND = YES; 402 | ENABLE_TESTABILITY = YES; 403 | GCC_C_LANGUAGE_STANDARD = gnu99; 404 | GCC_DYNAMIC_NO_PIC = NO; 405 | GCC_NO_COMMON_BLOCKS = YES; 406 | GCC_OPTIMIZATION_LEVEL = 0; 407 | GCC_PREPROCESSOR_DEFINITIONS = ( 408 | "DEBUG=1", 409 | "$(inherited)", 410 | ); 411 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 412 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 413 | GCC_WARN_UNDECLARED_SELECTOR = YES; 414 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 415 | GCC_WARN_UNUSED_FUNCTION = YES; 416 | GCC_WARN_UNUSED_VARIABLE = YES; 417 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 418 | MTL_ENABLE_DEBUG_INFO = YES; 419 | ONLY_ACTIVE_ARCH = YES; 420 | SDKROOT = iphoneos; 421 | TARGETED_DEVICE_FAMILY = "1,2"; 422 | }; 423 | name = Debug; 424 | }; 425 | 97C147041CF9000F007C117D /* Release */ = { 426 | isa = XCBuildConfiguration; 427 | buildSettings = { 428 | ALWAYS_SEARCH_USER_PATHS = NO; 429 | CLANG_ANALYZER_NONNULL = YES; 430 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 431 | CLANG_CXX_LIBRARY = "libc++"; 432 | CLANG_ENABLE_MODULES = YES; 433 | CLANG_ENABLE_OBJC_ARC = YES; 434 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 435 | CLANG_WARN_BOOL_CONVERSION = YES; 436 | CLANG_WARN_COMMA = YES; 437 | CLANG_WARN_CONSTANT_CONVERSION = YES; 438 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 439 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 440 | CLANG_WARN_EMPTY_BODY = YES; 441 | CLANG_WARN_ENUM_CONVERSION = YES; 442 | CLANG_WARN_INFINITE_RECURSION = YES; 443 | CLANG_WARN_INT_CONVERSION = YES; 444 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 445 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 446 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 447 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 448 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 449 | CLANG_WARN_STRICT_PROTOTYPES = YES; 450 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 451 | CLANG_WARN_UNREACHABLE_CODE = YES; 452 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 453 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 454 | COPY_PHASE_STRIP = NO; 455 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 456 | ENABLE_NS_ASSERTIONS = NO; 457 | ENABLE_STRICT_OBJC_MSGSEND = YES; 458 | GCC_C_LANGUAGE_STANDARD = gnu99; 459 | GCC_NO_COMMON_BLOCKS = YES; 460 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 461 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 462 | GCC_WARN_UNDECLARED_SELECTOR = YES; 463 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 464 | GCC_WARN_UNUSED_FUNCTION = YES; 465 | GCC_WARN_UNUSED_VARIABLE = YES; 466 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 467 | MTL_ENABLE_DEBUG_INFO = NO; 468 | SDKROOT = iphoneos; 469 | SUPPORTED_PLATFORMS = iphoneos; 470 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 471 | TARGETED_DEVICE_FAMILY = "1,2"; 472 | VALIDATE_PRODUCT = YES; 473 | }; 474 | name = Release; 475 | }; 476 | 97C147061CF9000F007C117D /* Debug */ = { 477 | isa = XCBuildConfiguration; 478 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 479 | buildSettings = { 480 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 481 | CLANG_ENABLE_MODULES = YES; 482 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 483 | ENABLE_BITCODE = NO; 484 | INFOPLIST_FILE = Runner/Info.plist; 485 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 486 | PRODUCT_BUNDLE_IDENTIFIER = com.example.outlook; 487 | PRODUCT_NAME = "$(TARGET_NAME)"; 488 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 489 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 490 | SWIFT_VERSION = 5.0; 491 | VERSIONING_SYSTEM = "apple-generic"; 492 | }; 493 | name = Debug; 494 | }; 495 | 97C147071CF9000F007C117D /* Release */ = { 496 | isa = XCBuildConfiguration; 497 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 498 | buildSettings = { 499 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 500 | CLANG_ENABLE_MODULES = YES; 501 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 502 | ENABLE_BITCODE = NO; 503 | INFOPLIST_FILE = Runner/Info.plist; 504 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 505 | PRODUCT_BUNDLE_IDENTIFIER = com.example.outlook; 506 | PRODUCT_NAME = "$(TARGET_NAME)"; 507 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 508 | SWIFT_VERSION = 5.0; 509 | VERSIONING_SYSTEM = "apple-generic"; 510 | }; 511 | name = Release; 512 | }; 513 | /* End XCBuildConfiguration section */ 514 | 515 | /* Begin XCConfigurationList section */ 516 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 517 | isa = XCConfigurationList; 518 | buildConfigurations = ( 519 | 97C147031CF9000F007C117D /* Debug */, 520 | 97C147041CF9000F007C117D /* Release */, 521 | 249021D3217E4FDB00AE95B9 /* Profile */, 522 | ); 523 | defaultConfigurationIsVisible = 0; 524 | defaultConfigurationName = Release; 525 | }; 526 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 527 | isa = XCConfigurationList; 528 | buildConfigurations = ( 529 | 97C147061CF9000F007C117D /* Debug */, 530 | 97C147071CF9000F007C117D /* Release */, 531 | 249021D4217E4FDB00AE95B9 /* Profile */, 532 | ); 533 | defaultConfigurationIsVisible = 0; 534 | defaultConfigurationName = Release; 535 | }; 536 | /* End XCConfigurationList section */ 537 | }; 538 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 539 | } 540 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 43 | 44 | 54 | 56 | 62 | 63 | 64 | 65 | 66 | 67 | 73 | 75 | 81 | 82 | 83 | 84 | 86 | 87 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import Flutter 3 | 4 | @UIApplicationMain 5 | @objc class AppDelegate: FlutterAppDelegate { 6 | override func application( 7 | _ application: UIApplication, 8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? 9 | ) -> Bool { 10 | GeneratedPluginRegistrant.register(with: self) 11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "20x20", 5 | "idiom" : "iphone", 6 | "filename" : "Icon-App-20x20@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "20x20", 11 | "idiom" : "iphone", 12 | "filename" : "Icon-App-20x20@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "29x29", 17 | "idiom" : "iphone", 18 | "filename" : "Icon-App-29x29@1x.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "29x29", 23 | "idiom" : "iphone", 24 | "filename" : "Icon-App-29x29@2x.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "29x29", 29 | "idiom" : "iphone", 30 | "filename" : "Icon-App-29x29@3x.png", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "size" : "40x40", 35 | "idiom" : "iphone", 36 | "filename" : "Icon-App-40x40@2x.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "40x40", 41 | "idiom" : "iphone", 42 | "filename" : "Icon-App-40x40@3x.png", 43 | "scale" : "3x" 44 | }, 45 | { 46 | "size" : "60x60", 47 | "idiom" : "iphone", 48 | "filename" : "Icon-App-60x60@2x.png", 49 | "scale" : "2x" 50 | }, 51 | { 52 | "size" : "60x60", 53 | "idiom" : "iphone", 54 | "filename" : "Icon-App-60x60@3x.png", 55 | "scale" : "3x" 56 | }, 57 | { 58 | "size" : "20x20", 59 | "idiom" : "ipad", 60 | "filename" : "Icon-App-20x20@1x.png", 61 | "scale" : "1x" 62 | }, 63 | { 64 | "size" : "20x20", 65 | "idiom" : "ipad", 66 | "filename" : "Icon-App-20x20@2x.png", 67 | "scale" : "2x" 68 | }, 69 | { 70 | "size" : "29x29", 71 | "idiom" : "ipad", 72 | "filename" : "Icon-App-29x29@1x.png", 73 | "scale" : "1x" 74 | }, 75 | { 76 | "size" : "29x29", 77 | "idiom" : "ipad", 78 | "filename" : "Icon-App-29x29@2x.png", 79 | "scale" : "2x" 80 | }, 81 | { 82 | "size" : "40x40", 83 | "idiom" : "ipad", 84 | "filename" : "Icon-App-40x40@1x.png", 85 | "scale" : "1x" 86 | }, 87 | { 88 | "size" : "40x40", 89 | "idiom" : "ipad", 90 | "filename" : "Icon-App-40x40@2x.png", 91 | "scale" : "2x" 92 | }, 93 | { 94 | "size" : "76x76", 95 | "idiom" : "ipad", 96 | "filename" : "Icon-App-76x76@1x.png", 97 | "scale" : "1x" 98 | }, 99 | { 100 | "size" : "76x76", 101 | "idiom" : "ipad", 102 | "filename" : "Icon-App-76x76@2x.png", 103 | "scale" : "2x" 104 | }, 105 | { 106 | "size" : "83.5x83.5", 107 | "idiom" : "ipad", 108 | "filename" : "Icon-App-83.5x83.5@2x.png", 109 | "scale" : "2x" 110 | }, 111 | { 112 | "size" : "1024x1024", 113 | "idiom" : "ios-marketing", 114 | "filename" : "Icon-App-1024x1024@1x.png", 115 | "scale" : "1x" 116 | } 117 | ], 118 | "info" : { 119 | "version" : 1, 120 | "author" : "xcode" 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/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/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/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/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/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/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/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/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/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/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/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/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/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/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/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/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/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/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/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/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/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/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/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/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/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/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/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/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/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/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- 1 | # Launch Screen Assets 2 | 3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory. 4 | 5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | outlook 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | $(FLUTTER_BUILD_NAME) 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UISupportedInterfaceOrientations 30 | 31 | UIInterfaceOrientationPortrait 32 | UIInterfaceOrientationLandscapeLeft 33 | UIInterfaceOrientationLandscapeRight 34 | 35 | UISupportedInterfaceOrientations~ipad 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationPortraitUpsideDown 39 | UIInterfaceOrientationLandscapeLeft 40 | UIInterfaceOrientationLandscapeRight 41 | 42 | UIViewControllerBasedStatusBarAppearance 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /lib/components/counter_badge.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import '../constants.dart'; 4 | import '../extensions.dart'; 5 | 6 | class CounterBadge extends StatelessWidget { 7 | const CounterBadge({ 8 | Key key, 9 | @required this.count, 10 | }) : super(key: key); 11 | 12 | final int count; 13 | 14 | @override 15 | Widget build(BuildContext context) { 16 | return Container( 17 | padding: EdgeInsets.symmetric(horizontal: 8, vertical: 2), 18 | decoration: BoxDecoration( 19 | color: kBadgeColor, borderRadius: BorderRadius.circular(9)), 20 | child: Text( 21 | count.toString(), 22 | style: Theme.of(context).textTheme.caption.copyWith( 23 | fontWeight: FontWeight.w500, 24 | color: Colors.white, 25 | ), 26 | ), 27 | ).addNeumorphism( 28 | offset: Offset(4, 4), 29 | borderRadius: 9, 30 | blurRadius: 4, 31 | topShadowColor: Colors.white, 32 | bottomShadowColor: Color(0xFF30384D).withOpacity(0.3), 33 | ); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /lib/components/side_menu.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:outlook/responsive.dart'; 3 | import 'package:websafe_svg/websafe_svg.dart'; 4 | 5 | import '../constants.dart'; 6 | import '../extensions.dart'; 7 | import 'side_menu_item.dart'; 8 | import 'tags.dart'; 9 | 10 | import 'package:flutter/foundation.dart' show kIsWeb; 11 | 12 | class SideMenu extends StatelessWidget { 13 | const SideMenu({ 14 | Key key, 15 | }) : super(key: key); 16 | 17 | @override 18 | Widget build(BuildContext context) { 19 | return Container( 20 | height: double.infinity, 21 | padding: EdgeInsets.only(top: kIsWeb ? kDefaultPadding : 0), 22 | color: kBgLightColor, 23 | child: SafeArea( 24 | child: SingleChildScrollView( 25 | padding: EdgeInsets.symmetric(horizontal: kDefaultPadding), 26 | child: Column( 27 | children: [ 28 | Row( 29 | children: [ 30 | Image.asset( 31 | "assets/images/Logo Outlook.png", 32 | width: 46, 33 | ), 34 | Spacer(), 35 | // We don't want to show this close button on Desktop mood 36 | if (!Responsive.isDesktop(context)) CloseButton(), 37 | ], 38 | ), 39 | SizedBox(height: kDefaultPadding), 40 | FlatButton.icon( 41 | minWidth: double.infinity, 42 | padding: EdgeInsets.symmetric( 43 | vertical: kDefaultPadding, 44 | ), 45 | shape: RoundedRectangleBorder( 46 | borderRadius: BorderRadius.circular(10), 47 | ), 48 | color: kPrimaryColor, 49 | onPressed: () {}, 50 | icon: WebsafeSvg.asset("assets/Icons/Edit.svg", width: 16), 51 | label: Text( 52 | "New message", 53 | style: TextStyle(color: Colors.white), 54 | ), 55 | ).addNeumorphism( 56 | topShadowColor: Colors.white, 57 | bottomShadowColor: Color(0xFF234395).withOpacity(0.2), 58 | ), 59 | SizedBox(height: kDefaultPadding), 60 | FlatButton.icon( 61 | minWidth: double.infinity, 62 | padding: EdgeInsets.symmetric( 63 | vertical: kDefaultPadding, 64 | ), 65 | shape: RoundedRectangleBorder( 66 | borderRadius: BorderRadius.circular(10), 67 | ), 68 | color: kBgDarkColor, 69 | onPressed: () {}, 70 | icon: WebsafeSvg.asset("assets/Icons/Download.svg", width: 16), 71 | label: Text( 72 | "Get messages", 73 | style: TextStyle(color: kTextColor), 74 | ), 75 | ).addNeumorphism(), 76 | SizedBox(height: kDefaultPadding * 2), 77 | // Menu Items 78 | SideMenuItem( 79 | press: () {}, 80 | title: "Inbox", 81 | iconSrc: "assets/Icons/Inbox.svg", 82 | isActive: true, 83 | itemCount: 3, 84 | ), 85 | SideMenuItem( 86 | press: () {}, 87 | title: "Sent", 88 | iconSrc: "assets/Icons/Send.svg", 89 | isActive: false, 90 | ), 91 | SideMenuItem( 92 | press: () {}, 93 | title: "Drafts", 94 | iconSrc: "assets/Icons/File.svg", 95 | isActive: false, 96 | ), 97 | SideMenuItem( 98 | press: () {}, 99 | title: "Deleted", 100 | iconSrc: "assets/Icons/Trash.svg", 101 | isActive: false, 102 | showBorder: false, 103 | ), 104 | 105 | SizedBox(height: kDefaultPadding * 2), 106 | // Tags 107 | Tags(), 108 | ], 109 | ), 110 | ), 111 | ), 112 | ); 113 | } 114 | } 115 | -------------------------------------------------------------------------------- /lib/components/side_menu_item.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:websafe_svg/websafe_svg.dart'; 3 | 4 | import '../constants.dart'; 5 | import 'counter_badge.dart'; 6 | 7 | class SideMenuItem extends StatelessWidget { 8 | const SideMenuItem({ 9 | Key key, 10 | this.isActive, 11 | this.isHover = false, 12 | this.itemCount, 13 | this.showBorder = true, 14 | @required this.iconSrc, 15 | @required this.title, 16 | @required this.press, 17 | }) : super(key: key); 18 | 19 | final bool isActive, isHover, showBorder; 20 | final int itemCount; 21 | final String iconSrc, title; 22 | final VoidCallback press; 23 | 24 | @override 25 | Widget build(BuildContext context) { 26 | return Padding( 27 | padding: const EdgeInsets.only(top: kDefaultPadding), 28 | child: InkWell( 29 | onTap: press, 30 | child: Row( 31 | children: [ 32 | (isActive || isHover) 33 | ? WebsafeSvg.asset( 34 | "assets/Icons/Angle right.svg", 35 | width: 15, 36 | ) 37 | : SizedBox(width: 15), 38 | SizedBox(width: kDefaultPadding / 4), 39 | Expanded( 40 | child: Container( 41 | padding: EdgeInsets.only(bottom: 15, right: 5), 42 | decoration: showBorder 43 | ? BoxDecoration( 44 | border: Border( 45 | bottom: BorderSide(color: Color(0xFFDFE2EF)), 46 | ), 47 | ) 48 | : null, 49 | child: Row( 50 | children: [ 51 | WebsafeSvg.asset( 52 | iconSrc, 53 | height: 20, 54 | color: (isActive || isHover) ? kPrimaryColor : kGrayColor, 55 | ), 56 | SizedBox(width: kDefaultPadding * 0.75), 57 | Text( 58 | title, 59 | style: Theme.of(context).textTheme.button.copyWith( 60 | color: 61 | (isActive || isHover) ? kTextColor : kGrayColor, 62 | ), 63 | ), 64 | Spacer(), 65 | if (itemCount != null) CounterBadge(count: itemCount) 66 | ], 67 | ), 68 | ), 69 | ), 70 | ], 71 | ), 72 | ), 73 | ); 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /lib/components/tags.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:websafe_svg/websafe_svg.dart'; 3 | 4 | import '../constants.dart'; 5 | 6 | class Tags extends StatelessWidget { 7 | const Tags({ 8 | Key key, 9 | }) : super(key: key); 10 | 11 | @override 12 | Widget build(BuildContext context) { 13 | return Column( 14 | children: [ 15 | Row( 16 | children: [ 17 | WebsafeSvg.asset("assets/Icons/Angle down.svg", width: 16), 18 | SizedBox(width: kDefaultPadding / 4), 19 | WebsafeSvg.asset("assets/Icons/Markup.svg", width: 20), 20 | SizedBox(width: kDefaultPadding / 2), 21 | Text( 22 | "Tags", 23 | style: Theme.of(context) 24 | .textTheme 25 | .button 26 | .copyWith(color: kGrayColor), 27 | ), 28 | Spacer(), 29 | MaterialButton( 30 | padding: EdgeInsets.all(10), 31 | minWidth: 40, 32 | onPressed: () {}, 33 | child: Icon( 34 | Icons.add, 35 | color: kGrayColor, 36 | size: 20, 37 | ), 38 | ) 39 | ], 40 | ), 41 | SizedBox(height: kDefaultPadding / 2), 42 | buildTag(context, color: Color(0xFF23CF91), title: "Design"), 43 | buildTag(context, color: Color(0xFF3A6FF7), title: "Work"), 44 | buildTag(context, color: Color(0xFFF3CF50), title: "Friends"), 45 | buildTag(context, color: Color(0xFF8338E1), title: "Family"), 46 | ], 47 | ); 48 | } 49 | 50 | InkWell buildTag(BuildContext context, 51 | {@required Color color, @required String title}) { 52 | return InkWell( 53 | onTap: () {}, 54 | child: Padding( 55 | padding: const EdgeInsets.fromLTRB(kDefaultPadding * 1.5, 10, 0, 10), 56 | child: Row( 57 | children: [ 58 | WebsafeSvg.asset( 59 | "assets/Icons/Markup filled.svg", 60 | height: 18, 61 | color: color, 62 | ), 63 | SizedBox(width: kDefaultPadding / 2), 64 | Text( 65 | title, 66 | style: Theme.of(context) 67 | .textTheme 68 | .button 69 | .copyWith(color: kGrayColor), 70 | ), 71 | ], 72 | ), 73 | ), 74 | ); 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /lib/constants.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | // All of our constant stuff 4 | 5 | const kPrimaryColor = Color(0xFF366CF6); 6 | const kSecondaryColor = Color(0xFFF5F6FC); 7 | const kBgLightColor = Color(0xFFF2F4FC); 8 | const kBgDarkColor = Color(0xFFEBEDFA); 9 | const kBadgeColor = Color(0xFFEE376E); 10 | const kGrayColor = Color(0xFF8793B2); 11 | const kTitleTextColor = Color(0xFF30384D); 12 | const kTextColor = Color(0xFF4D5875); 13 | 14 | const kDefaultPadding = 20.0; 15 | -------------------------------------------------------------------------------- /lib/extensions.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | // Our design contains Neumorphism design and i made a extention for it 4 | // We can apply it on any widget 5 | 6 | extension Neumorphism on Widget { 7 | addNeumorphism({ 8 | double borderRadius = 10.0, 9 | Offset offset = const Offset(5, 5), 10 | double blurRadius = 10, 11 | Color topShadowColor = Colors.white60, 12 | Color bottomShadowColor = const Color(0x26234395), 13 | }) { 14 | return Container( 15 | decoration: BoxDecoration( 16 | borderRadius: BorderRadius.all(Radius.circular(borderRadius)), 17 | boxShadow: [ 18 | BoxShadow( 19 | offset: offset, 20 | blurRadius: blurRadius, 21 | color: bottomShadowColor, 22 | ), 23 | BoxShadow( 24 | offset: Offset(-offset.dx, -offset.dx), 25 | blurRadius: blurRadius, 26 | color: topShadowColor, 27 | ), 28 | ], 29 | ), 30 | child: this, 31 | ); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:outlook/constants.dart'; 3 | import 'package:outlook/screens/main/main_screen.dart'; 4 | 5 | void main() { 6 | runApp(MyApp()); 7 | } 8 | 9 | class MyApp extends StatelessWidget { 10 | // This widget is the root of your application. 11 | @override 12 | Widget build(BuildContext context) { 13 | return MaterialApp( 14 | debugShowCheckedModeBanner: false, 15 | title: 'Flutter Demo', 16 | theme: ThemeData(), 17 | home: MainScreen(), 18 | ); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /lib/models/Email.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class Email { 4 | final String image, name, subject, body, time; 5 | final bool isAttachmentAvailable, isChecked; 6 | final Color tagColor; 7 | 8 | Email({ 9 | this.time, 10 | this.isChecked, 11 | this.image, 12 | this.name, 13 | this.subject, 14 | this.body, 15 | this.isAttachmentAvailable, 16 | this.tagColor, 17 | }); 18 | } 19 | 20 | List emails = List.generate( 21 | demo_data.length, 22 | (index) => Email( 23 | name: demo_data[index]['name'], 24 | image: demo_data[index]['image'], 25 | subject: demo_data[index]['subject'], 26 | isAttachmentAvailable: demo_data[index]['isAttachmentAvailable'], 27 | isChecked: demo_data[index]['isChecked'], 28 | tagColor: demo_data[index]['tagColor'], 29 | time: demo_data[index]['time'], 30 | body: emailDemoText, 31 | ), 32 | ); 33 | 34 | List demo_data = [ 35 | { 36 | "name": "Apple", 37 | "image": "assets/images/user_1.png", 38 | "subject": "iPhone 12 is here", 39 | "isAttachmentAvailable": false, 40 | "isChecked": true, 41 | "tagColor": null, 42 | "time": "Now" 43 | }, 44 | { 45 | "name": "Elvia Atkins", 46 | "image": "assets/images/user_2.png", 47 | "subject": "Inspiration for our new home", 48 | "isAttachmentAvailable": true, 49 | "isChecked": false, 50 | "tagColor": null, 51 | "time": "15:32" 52 | }, 53 | { 54 | "name": "Marvin Kiehn", 55 | "image": "assets/images/user_3.png", 56 | "subject": "Business-focused empowering the world", 57 | "isAttachmentAvailable": true, 58 | "isChecked": false, 59 | "tagColor": null, 60 | "time": "14:27", 61 | }, 62 | { 63 | "name": "Domenic Bosco", 64 | "image": "assets/images/user_4.png", 65 | "subject": "The fastest way to Design", 66 | "isAttachmentAvailable": false, 67 | "isChecked": true, 68 | "tagColor": Color(0xFF23CF91), 69 | "time": "10:43" 70 | }, 71 | { 72 | "name": "Elenor Bauch", 73 | "image": "assets/images/user_5.png", 74 | "subject": "New job opportunities", 75 | "isAttachmentAvailable": false, 76 | "isChecked": false, 77 | "tagColor": Color(0xFF3A6FF7), 78 | "time": "9:58" 79 | } 80 | ]; 81 | 82 | String emailDemoText = 83 | "Corporis illo provident. Sunt omnis neque et aperiam. Nemo ut dolorum fugit eum sed. Corporis illo provident. Sunt omnis neque et aperiam. Nemo ut dolorum fugit eum sed. Corporis illo provident. Sunt omnis neque et aperiam. Nemo ut dolorum fugit eum sed"; 84 | -------------------------------------------------------------------------------- /lib/responsive.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class Responsive extends StatelessWidget { 4 | final Widget mobile; 5 | final Widget tablet; 6 | final Widget desktop; 7 | 8 | const Responsive({ 9 | Key key, 10 | @required this.mobile, 11 | @required this.tablet, 12 | @required this.desktop, 13 | }) : super(key: key); 14 | 15 | // This size work fine on my design, maybe you need some customization depends on your design 16 | 17 | // This isMobile, isTablet, isDesktop helep us later 18 | static bool isMobile(BuildContext context) => 19 | MediaQuery.of(context).size.width < 650; 20 | 21 | static bool isTablet(BuildContext context) => 22 | MediaQuery.of(context).size.width < 1100 && 23 | MediaQuery.of(context).size.width >= 650; 24 | 25 | static bool isDesktop(BuildContext context) => 26 | MediaQuery.of(context).size.width >= 1100; 27 | 28 | @override 29 | Widget build(BuildContext context) { 30 | return LayoutBuilder( 31 | // If our width is more than 1100 then we consider it a desktop 32 | builder: (context, constraints) { 33 | if (constraints.maxWidth >= 1100) { 34 | return desktop; 35 | } 36 | // If width it less then 1100 and more then 650 we consider it as tablet 37 | else if (constraints.maxWidth >= 650) { 38 | return tablet; 39 | } 40 | // Or less then that we called it mobile 41 | else { 42 | return mobile; 43 | } 44 | }, 45 | ); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /lib/screens/email/components/header.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:outlook/responsive.dart'; 3 | import 'package:websafe_svg/websafe_svg.dart'; 4 | 5 | import '../../../constants.dart'; 6 | 7 | class Header extends StatelessWidget { 8 | const Header({ 9 | Key key, 10 | }) : super(key: key); 11 | 12 | @override 13 | Widget build(BuildContext context) { 14 | return Padding( 15 | padding: const EdgeInsets.all(kDefaultPadding), 16 | child: Row( 17 | children: [ 18 | // We need this back button on mobile only 19 | if (Responsive.isMobile(context)) BackButton(), 20 | IconButton( 21 | icon: WebsafeSvg.asset( 22 | "assets/Icons/Trash.svg", 23 | width: 24, 24 | ), 25 | onPressed: () {}, 26 | ), 27 | IconButton( 28 | icon: WebsafeSvg.asset( 29 | "assets/Icons/Reply.svg", 30 | width: 24, 31 | ), 32 | onPressed: () {}, 33 | ), 34 | IconButton( 35 | icon: WebsafeSvg.asset( 36 | "assets/Icons/Reply all.svg", 37 | width: 24, 38 | ), 39 | onPressed: () {}, 40 | ), 41 | IconButton( 42 | icon: WebsafeSvg.asset( 43 | "assets/Icons/Transfer.svg", 44 | width: 24, 45 | ), 46 | onPressed: () {}, 47 | ), 48 | Spacer(), 49 | // We don't need print option on mobile 50 | if (Responsive.isDesktop(context)) 51 | IconButton( 52 | icon: WebsafeSvg.asset( 53 | "assets/Icons/Printer.svg", 54 | width: 24, 55 | ), 56 | onPressed: () {}, 57 | ), 58 | IconButton( 59 | icon: WebsafeSvg.asset( 60 | "assets/Icons/Markup.svg", 61 | width: 24, 62 | ), 63 | onPressed: () {}, 64 | ), 65 | IconButton( 66 | icon: WebsafeSvg.asset( 67 | "assets/Icons/More vertical.svg", 68 | width: 24, 69 | ), 70 | onPressed: () {}, 71 | ), 72 | ], 73 | ), 74 | ); 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /lib/screens/email/email_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_staggered_grid_view/flutter_staggered_grid_view.dart'; 3 | import 'package:outlook/models/Email.dart'; 4 | import 'package:websafe_svg/websafe_svg.dart'; 5 | 6 | import '../../constants.dart'; 7 | import 'components/header.dart'; 8 | 9 | class EmailScreen extends StatelessWidget { 10 | const EmailScreen({ 11 | Key key, 12 | this.email, 13 | }) : super(key: key); 14 | 15 | final Email email; 16 | 17 | @override 18 | Widget build(BuildContext context) { 19 | return Scaffold( 20 | body: Container( 21 | color: Colors.white, 22 | child: SafeArea( 23 | child: Column( 24 | children: [ 25 | Header(), 26 | Divider(thickness: 1), 27 | Expanded( 28 | child: SingleChildScrollView( 29 | padding: EdgeInsets.all(kDefaultPadding), 30 | child: Row( 31 | crossAxisAlignment: CrossAxisAlignment.start, 32 | children: [ 33 | CircleAvatar( 34 | maxRadius: 24, 35 | backgroundColor: Colors.transparent, 36 | backgroundImage: AssetImage(emails[1].image), 37 | ), 38 | SizedBox(width: kDefaultPadding), 39 | Expanded( 40 | child: Column( 41 | crossAxisAlignment: CrossAxisAlignment.start, 42 | children: [ 43 | Row( 44 | children: [ 45 | Expanded( 46 | child: Column( 47 | crossAxisAlignment: 48 | CrossAxisAlignment.start, 49 | children: [ 50 | Text.rich( 51 | TextSpan( 52 | text: emails[1].name, 53 | style: Theme.of(context) 54 | .textTheme 55 | .button, 56 | children: [ 57 | TextSpan( 58 | text: 59 | " to Jerry Torp", 60 | style: Theme.of(context) 61 | .textTheme 62 | .caption), 63 | ], 64 | ), 65 | ), 66 | Text( 67 | "Inspiration for our new home", 68 | style: Theme.of(context) 69 | .textTheme 70 | .headline6, 71 | ) 72 | ], 73 | ), 74 | ), 75 | SizedBox(width: kDefaultPadding / 2), 76 | Text( 77 | "Today at 15:32", 78 | style: Theme.of(context).textTheme.caption, 79 | ), 80 | ], 81 | ), 82 | SizedBox(height: kDefaultPadding), 83 | LayoutBuilder( 84 | builder: (context, constraints) => SizedBox( 85 | width: constraints.maxWidth > 850 86 | ? 800 87 | : constraints.maxWidth, 88 | child: Column( 89 | crossAxisAlignment: CrossAxisAlignment.start, 90 | children: [ 91 | Text( 92 | "Hello my love, \n \nSunt architecto voluptatum esse tempora sint nihil minus incidunt nisi. Perspiciatis natus quo unde magnam numquam pariatur amet ut. Perspiciatis ab totam. Ut labore maxime provident. Voluptate ea omnis et ipsum asperiores laborum repellat explicabo fuga. Dolore voluptatem praesentium quis eos laborum dolores cupiditate nemo labore. \n \nLove you, \n\nElvia", 93 | style: TextStyle( 94 | height: 1.5, 95 | color: Color(0xFF4D5875), 96 | fontWeight: FontWeight.w300, 97 | ), 98 | ), 99 | SizedBox(height: kDefaultPadding), 100 | Row( 101 | children: [ 102 | Text( 103 | "6 attachments", 104 | style: TextStyle(fontSize: 12), 105 | ), 106 | Spacer(), 107 | Text( 108 | "Download All", 109 | style: Theme.of(context) 110 | .textTheme 111 | .caption, 112 | ), 113 | SizedBox(width: kDefaultPadding / 4), 114 | WebsafeSvg.asset( 115 | "assets/Icons/Download.svg", 116 | height: 16, 117 | color: kGrayColor, 118 | ), 119 | ], 120 | ), 121 | Divider(thickness: 1), 122 | SizedBox(height: kDefaultPadding / 2), 123 | SizedBox( 124 | height: 200, 125 | child: StaggeredGridView.countBuilder( 126 | physics: NeverScrollableScrollPhysics(), 127 | crossAxisCount: 4, 128 | itemCount: 3, 129 | itemBuilder: 130 | (BuildContext context, int index) => 131 | ClipRRect( 132 | borderRadius: 133 | BorderRadius.circular(8), 134 | child: Image.asset( 135 | "assets/images/Img_$index.png", 136 | fit: BoxFit.cover, 137 | ), 138 | ), 139 | staggeredTileBuilder: (int index) => 140 | StaggeredTile.count( 141 | 2, 142 | index.isOdd ? 2 : 1, 143 | ), 144 | mainAxisSpacing: kDefaultPadding, 145 | crossAxisSpacing: kDefaultPadding, 146 | ), 147 | ) 148 | ], 149 | ), 150 | ), 151 | ), 152 | ], 153 | ), 154 | ), 155 | ], 156 | ), 157 | ), 158 | ) 159 | ], 160 | ), 161 | ), 162 | ), 163 | ); 164 | } 165 | } 166 | -------------------------------------------------------------------------------- /lib/screens/main/components/email_card.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:outlook/models/Email.dart'; 3 | import 'package:websafe_svg/websafe_svg.dart'; 4 | 5 | import '../../../constants.dart'; 6 | import '../../../extensions.dart'; 7 | 8 | class EmailCard extends StatelessWidget { 9 | const EmailCard({ 10 | Key key, 11 | this.isActive = true, 12 | this.email, 13 | this.press, 14 | }) : super(key: key); 15 | 16 | final bool isActive; 17 | final Email email; 18 | final VoidCallback press; 19 | 20 | @override 21 | Widget build(BuildContext context) { 22 | // Here the shadow is not showing properly 23 | return Padding( 24 | padding: EdgeInsets.symmetric( 25 | horizontal: kDefaultPadding, vertical: kDefaultPadding / 2), 26 | child: InkWell( 27 | onTap: press, 28 | child: Stack( 29 | children: [ 30 | Container( 31 | padding: EdgeInsets.all(kDefaultPadding), 32 | decoration: BoxDecoration( 33 | color: isActive ? kPrimaryColor : kBgDarkColor, 34 | borderRadius: BorderRadius.circular(15), 35 | ), 36 | child: Column( 37 | children: [ 38 | Row( 39 | children: [ 40 | SizedBox( 41 | width: 32, 42 | child: CircleAvatar( 43 | backgroundColor: Colors.transparent, 44 | backgroundImage: AssetImage(email.image), 45 | ), 46 | ), 47 | SizedBox(width: kDefaultPadding / 2), 48 | Expanded( 49 | child: Text.rich( 50 | TextSpan( 51 | text: "${email.name} \n", 52 | style: TextStyle( 53 | fontSize: 16, 54 | fontWeight: FontWeight.w500, 55 | color: isActive ? Colors.white : kTextColor, 56 | ), 57 | children: [ 58 | TextSpan( 59 | text: email.subject, 60 | style: Theme.of(context) 61 | .textTheme 62 | .bodyText2 63 | .copyWith( 64 | color: 65 | isActive ? Colors.white : kTextColor, 66 | ), 67 | ), 68 | ], 69 | ), 70 | ), 71 | ), 72 | Column( 73 | children: [ 74 | Text( 75 | email.time, 76 | style: Theme.of(context).textTheme.caption.copyWith( 77 | color: isActive ? Colors.white70 : null, 78 | ), 79 | ), 80 | SizedBox(height: 5), 81 | if (email.isAttachmentAvailable) 82 | WebsafeSvg.asset( 83 | "assets/Icons/Paperclip.svg", 84 | color: isActive ? Colors.white70 : kGrayColor, 85 | ) 86 | ], 87 | ), 88 | ], 89 | ), 90 | SizedBox(height: kDefaultPadding / 2), 91 | Text( 92 | email.body, 93 | maxLines: 2, 94 | overflow: TextOverflow.ellipsis, 95 | style: Theme.of(context).textTheme.caption.copyWith( 96 | height: 1.5, 97 | color: isActive ? Colors.white70 : null, 98 | ), 99 | ) 100 | ], 101 | ), 102 | ).addNeumorphism( 103 | blurRadius: 15, 104 | borderRadius: 15, 105 | offset: Offset(5, 5), 106 | topShadowColor: Colors.white60, 107 | bottomShadowColor: Color(0xFF234395).withOpacity(0.15), 108 | ), 109 | if (!email.isChecked) 110 | Positioned( 111 | right: 8, 112 | top: 8, 113 | child: Container( 114 | height: 12, 115 | width: 12, 116 | decoration: BoxDecoration( 117 | shape: BoxShape.circle, 118 | color: kBadgeColor, 119 | ), 120 | ).addNeumorphism( 121 | blurRadius: 4, 122 | borderRadius: 8, 123 | offset: Offset(2, 2), 124 | ), 125 | ), 126 | if (email.tagColor != null) 127 | Positioned( 128 | left: 8, 129 | top: 0, 130 | child: WebsafeSvg.asset( 131 | "assets/Icons/Markup filled.svg", 132 | height: 18, 133 | color: email.tagColor, 134 | ), 135 | ) 136 | ], 137 | ), 138 | ), 139 | ); 140 | } 141 | } 142 | -------------------------------------------------------------------------------- /lib/screens/main/components/list_of_emails.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:outlook/components/side_menu.dart'; 3 | import 'package:outlook/models/Email.dart'; 4 | import 'package:outlook/responsive.dart'; 5 | import 'package:outlook/screens/email/email_screen.dart'; 6 | import 'package:websafe_svg/websafe_svg.dart'; 7 | 8 | import '../../../constants.dart'; 9 | import 'email_card.dart'; 10 | 11 | import 'package:flutter/foundation.dart' show kIsWeb; 12 | 13 | class ListOfEmails extends StatefulWidget { 14 | // Press "Command + ." 15 | const ListOfEmails({ 16 | Key key, 17 | }) : super(key: key); 18 | 19 | @override 20 | _ListOfEmailsState createState() => _ListOfEmailsState(); 21 | } 22 | 23 | class _ListOfEmailsState extends State { 24 | final GlobalKey _scaffoldKey = GlobalKey(); 25 | @override 26 | Widget build(BuildContext context) { 27 | return Scaffold( 28 | key: _scaffoldKey, 29 | drawer: ConstrainedBox( 30 | constraints: BoxConstraints(maxWidth: 250), 31 | child: SideMenu(), 32 | ), 33 | body: Container( 34 | padding: EdgeInsets.only(top: kIsWeb ? kDefaultPadding : 0), 35 | color: kBgDarkColor, 36 | child: SafeArea( 37 | right: false, 38 | child: Column( 39 | children: [ 40 | // This is our Seearch bar 41 | Padding( 42 | padding: 43 | const EdgeInsets.symmetric(horizontal: kDefaultPadding), 44 | child: Row( 45 | children: [ 46 | // Once user click the menu icon the menu shows like drawer 47 | // Also we want to hide this menu icon on desktop 48 | if (!Responsive.isDesktop(context)) 49 | IconButton( 50 | icon: Icon(Icons.menu), 51 | onPressed: () { 52 | _scaffoldKey.currentState.openDrawer(); 53 | }, 54 | ), 55 | if (!Responsive.isDesktop(context)) SizedBox(width: 5), 56 | Expanded( 57 | child: TextField( 58 | onChanged: (value) {}, 59 | decoration: InputDecoration( 60 | hintText: "Search", 61 | fillColor: kBgLightColor, 62 | filled: true, 63 | suffixIcon: Padding( 64 | padding: const EdgeInsets.all( 65 | kDefaultPadding * 0.75), //15 66 | child: WebsafeSvg.asset( 67 | "assets/Icons/Search.svg", 68 | width: 24, 69 | ), 70 | ), 71 | border: OutlineInputBorder( 72 | borderRadius: BorderRadius.all(Radius.circular(10)), 73 | borderSide: BorderSide.none, 74 | ), 75 | ), 76 | ), 77 | ), 78 | ], 79 | ), 80 | ), 81 | SizedBox(height: kDefaultPadding), 82 | Padding( 83 | padding: 84 | const EdgeInsets.symmetric(horizontal: kDefaultPadding), 85 | child: Row( 86 | children: [ 87 | WebsafeSvg.asset( 88 | "assets/Icons/Angle down.svg", 89 | width: 16, 90 | color: Colors.black, 91 | ), 92 | SizedBox(width: 5), 93 | Text( 94 | "Sort by date", 95 | style: TextStyle(fontWeight: FontWeight.w500), 96 | ), 97 | Spacer(), 98 | MaterialButton( 99 | minWidth: 20, 100 | onPressed: () {}, 101 | child: WebsafeSvg.asset( 102 | "assets/Icons/Sort.svg", 103 | width: 16, 104 | ), 105 | ), 106 | ], 107 | ), 108 | ), 109 | SizedBox(height: kDefaultPadding), 110 | Expanded( 111 | child: ListView.builder( 112 | itemCount: emails.length, 113 | // On mobile this active dosen't mean anything 114 | itemBuilder: (context, index) => EmailCard( 115 | isActive: Responsive.isMobile(context) ? false : index == 0, 116 | email: emails[index], 117 | press: () { 118 | Navigator.push( 119 | context, 120 | MaterialPageRoute( 121 | builder: (context) => 122 | EmailScreen(email: emails[index]), 123 | ), 124 | ); 125 | }, 126 | ), 127 | ), 128 | ), 129 | ], 130 | ), 131 | ), 132 | ), 133 | ); 134 | } 135 | } 136 | -------------------------------------------------------------------------------- /lib/screens/main/main_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:outlook/components/side_menu.dart'; 3 | import 'package:outlook/responsive.dart'; 4 | import 'package:outlook/screens/email/email_screen.dart'; 5 | import 'components/list_of_emails.dart'; 6 | 7 | class MainScreen extends StatelessWidget { 8 | @override 9 | Widget build(BuildContext context) { 10 | // It provide us the width and height 11 | Size _size = MediaQuery.of(context).size; 12 | return Scaffold( 13 | body: Responsive( 14 | // Let's work on our mobile part 15 | mobile: ListOfEmails(), 16 | tablet: Row( 17 | children: [ 18 | Expanded( 19 | flex: 6, 20 | child: ListOfEmails(), 21 | ), 22 | Expanded( 23 | flex: 9, 24 | child: EmailScreen(), 25 | ), 26 | ], 27 | ), 28 | desktop: Row( 29 | children: [ 30 | // Once our width is less then 1300 then it start showing errors 31 | // Now there is no error if our width is less then 1340 32 | Expanded( 33 | flex: _size.width > 1340 ? 2 : 4, 34 | child: SideMenu(), 35 | ), 36 | Expanded( 37 | flex: _size.width > 1340 ? 3 : 5, 38 | child: ListOfEmails(), 39 | ), 40 | Expanded( 41 | flex: _size.width > 1340 ? 8 : 10, 42 | child: EmailScreen(), 43 | ), 44 | ], 45 | ), 46 | ), 47 | ); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /pubspec.lock: -------------------------------------------------------------------------------- 1 | # Generated by pub 2 | # See https://dart.dev/tools/pub/glossary#lockfile 3 | packages: 4 | _fe_analyzer_shared: 5 | dependency: transitive 6 | description: 7 | name: _fe_analyzer_shared 8 | url: "https://pub.dartlang.org" 9 | source: hosted 10 | version: "12.0.0" 11 | analyzer: 12 | dependency: transitive 13 | description: 14 | name: analyzer 15 | url: "https://pub.dartlang.org" 16 | source: hosted 17 | version: "0.40.6" 18 | archive: 19 | dependency: transitive 20 | description: 21 | name: archive 22 | url: "https://pub.dartlang.org" 23 | source: hosted 24 | version: "2.0.13" 25 | args: 26 | dependency: transitive 27 | description: 28 | name: args 29 | url: "https://pub.dartlang.org" 30 | source: hosted 31 | version: "1.6.0" 32 | async: 33 | dependency: transitive 34 | description: 35 | name: async 36 | url: "https://pub.dartlang.org" 37 | source: hosted 38 | version: "2.5.0-nullsafety.3" 39 | boolean_selector: 40 | dependency: transitive 41 | description: 42 | name: boolean_selector 43 | url: "https://pub.dartlang.org" 44 | source: hosted 45 | version: "2.1.0-nullsafety.3" 46 | characters: 47 | dependency: transitive 48 | description: 49 | name: characters 50 | url: "https://pub.dartlang.org" 51 | source: hosted 52 | version: "1.1.0-nullsafety.5" 53 | charcode: 54 | dependency: transitive 55 | description: 56 | name: charcode 57 | url: "https://pub.dartlang.org" 58 | source: hosted 59 | version: "1.2.0-nullsafety.3" 60 | cli_util: 61 | dependency: transitive 62 | description: 63 | name: cli_util 64 | url: "https://pub.dartlang.org" 65 | source: hosted 66 | version: "0.2.0" 67 | clock: 68 | dependency: transitive 69 | description: 70 | name: clock 71 | url: "https://pub.dartlang.org" 72 | source: hosted 73 | version: "1.1.0-nullsafety.3" 74 | collection: 75 | dependency: transitive 76 | description: 77 | name: collection 78 | url: "https://pub.dartlang.org" 79 | source: hosted 80 | version: "1.15.0-nullsafety.5" 81 | convert: 82 | dependency: transitive 83 | description: 84 | name: convert 85 | url: "https://pub.dartlang.org" 86 | source: hosted 87 | version: "2.1.1" 88 | coverage: 89 | dependency: transitive 90 | description: 91 | name: coverage 92 | url: "https://pub.dartlang.org" 93 | source: hosted 94 | version: "0.14.2" 95 | crypto: 96 | dependency: transitive 97 | description: 98 | name: crypto 99 | url: "https://pub.dartlang.org" 100 | source: hosted 101 | version: "2.1.5" 102 | cupertino_icons: 103 | dependency: "direct main" 104 | description: 105 | name: cupertino_icons 106 | url: "https://pub.dartlang.org" 107 | source: hosted 108 | version: "1.0.2" 109 | fake_async: 110 | dependency: transitive 111 | description: 112 | name: fake_async 113 | url: "https://pub.dartlang.org" 114 | source: hosted 115 | version: "1.2.0-nullsafety.3" 116 | file: 117 | dependency: transitive 118 | description: 119 | name: file 120 | url: "https://pub.dartlang.org" 121 | source: hosted 122 | version: "6.0.0-nullsafety.4" 123 | flutter: 124 | dependency: "direct main" 125 | description: flutter 126 | source: sdk 127 | version: "0.0.0" 128 | flutter_driver: 129 | dependency: transitive 130 | description: flutter 131 | source: sdk 132 | version: "0.0.0" 133 | flutter_staggered_grid_view: 134 | dependency: "direct main" 135 | description: 136 | name: flutter_staggered_grid_view 137 | url: "https://pub.dartlang.org" 138 | source: hosted 139 | version: "0.3.3" 140 | flutter_svg: 141 | dependency: transitive 142 | description: 143 | name: flutter_svg 144 | url: "https://pub.dartlang.org" 145 | source: hosted 146 | version: "0.18.1" 147 | flutter_test: 148 | dependency: "direct dev" 149 | description: flutter 150 | source: sdk 151 | version: "0.0.0" 152 | fuchsia_remote_debug_protocol: 153 | dependency: transitive 154 | description: flutter 155 | source: sdk 156 | version: "0.0.0" 157 | glob: 158 | dependency: transitive 159 | description: 160 | name: glob 161 | url: "https://pub.dartlang.org" 162 | source: hosted 163 | version: "1.2.0" 164 | http: 165 | dependency: transitive 166 | description: 167 | name: http 168 | url: "https://pub.dartlang.org" 169 | source: hosted 170 | version: "0.12.2" 171 | http_parser: 172 | dependency: transitive 173 | description: 174 | name: http_parser 175 | url: "https://pub.dartlang.org" 176 | source: hosted 177 | version: "3.1.4" 178 | integration_test: 179 | dependency: "direct dev" 180 | description: flutter 181 | source: sdk 182 | version: "0.9.2+2" 183 | io: 184 | dependency: transitive 185 | description: 186 | name: io 187 | url: "https://pub.dartlang.org" 188 | source: hosted 189 | version: "0.3.4" 190 | js: 191 | dependency: transitive 192 | description: 193 | name: js 194 | url: "https://pub.dartlang.org" 195 | source: hosted 196 | version: "0.6.3-nullsafety.3" 197 | json_rpc_2: 198 | dependency: transitive 199 | description: 200 | name: json_rpc_2 201 | url: "https://pub.dartlang.org" 202 | source: hosted 203 | version: "2.2.2" 204 | logging: 205 | dependency: transitive 206 | description: 207 | name: logging 208 | url: "https://pub.dartlang.org" 209 | source: hosted 210 | version: "0.11.4" 211 | matcher: 212 | dependency: transitive 213 | description: 214 | name: matcher 215 | url: "https://pub.dartlang.org" 216 | source: hosted 217 | version: "0.12.10-nullsafety.3" 218 | meta: 219 | dependency: transitive 220 | description: 221 | name: meta 222 | url: "https://pub.dartlang.org" 223 | source: hosted 224 | version: "1.3.0-nullsafety.6" 225 | node_interop: 226 | dependency: transitive 227 | description: 228 | name: node_interop 229 | url: "https://pub.dartlang.org" 230 | source: hosted 231 | version: "1.2.1" 232 | node_io: 233 | dependency: transitive 234 | description: 235 | name: node_io 236 | url: "https://pub.dartlang.org" 237 | source: hosted 238 | version: "1.1.1" 239 | package_config: 240 | dependency: transitive 241 | description: 242 | name: package_config 243 | url: "https://pub.dartlang.org" 244 | source: hosted 245 | version: "1.9.3" 246 | path: 247 | dependency: transitive 248 | description: 249 | name: path 250 | url: "https://pub.dartlang.org" 251 | source: hosted 252 | version: "1.8.0-nullsafety.3" 253 | path_drawing: 254 | dependency: transitive 255 | description: 256 | name: path_drawing 257 | url: "https://pub.dartlang.org" 258 | source: hosted 259 | version: "0.4.1+1" 260 | path_parsing: 261 | dependency: transitive 262 | description: 263 | name: path_parsing 264 | url: "https://pub.dartlang.org" 265 | source: hosted 266 | version: "0.1.4" 267 | pedantic: 268 | dependency: transitive 269 | description: 270 | name: pedantic 271 | url: "https://pub.dartlang.org" 272 | source: hosted 273 | version: "1.10.0-nullsafety.3" 274 | petitparser: 275 | dependency: transitive 276 | description: 277 | name: petitparser 278 | url: "https://pub.dartlang.org" 279 | source: hosted 280 | version: "3.1.0" 281 | platform: 282 | dependency: transitive 283 | description: 284 | name: platform 285 | url: "https://pub.dartlang.org" 286 | source: hosted 287 | version: "3.0.0-nullsafety.4" 288 | pool: 289 | dependency: transitive 290 | description: 291 | name: pool 292 | url: "https://pub.dartlang.org" 293 | source: hosted 294 | version: "1.5.0-nullsafety.3" 295 | process: 296 | dependency: transitive 297 | description: 298 | name: process 299 | url: "https://pub.dartlang.org" 300 | source: hosted 301 | version: "4.0.0-nullsafety.4" 302 | pub_semver: 303 | dependency: transitive 304 | description: 305 | name: pub_semver 306 | url: "https://pub.dartlang.org" 307 | source: hosted 308 | version: "1.4.4" 309 | sky_engine: 310 | dependency: transitive 311 | description: flutter 312 | source: sdk 313 | version: "0.0.99" 314 | source_map_stack_trace: 315 | dependency: transitive 316 | description: 317 | name: source_map_stack_trace 318 | url: "https://pub.dartlang.org" 319 | source: hosted 320 | version: "2.1.0-nullsafety.4" 321 | source_maps: 322 | dependency: transitive 323 | description: 324 | name: source_maps 325 | url: "https://pub.dartlang.org" 326 | source: hosted 327 | version: "0.10.10-nullsafety.3" 328 | source_span: 329 | dependency: transitive 330 | description: 331 | name: source_span 332 | url: "https://pub.dartlang.org" 333 | source: hosted 334 | version: "1.8.0-nullsafety.4" 335 | stack_trace: 336 | dependency: transitive 337 | description: 338 | name: stack_trace 339 | url: "https://pub.dartlang.org" 340 | source: hosted 341 | version: "1.10.0-nullsafety.6" 342 | stream_channel: 343 | dependency: transitive 344 | description: 345 | name: stream_channel 346 | url: "https://pub.dartlang.org" 347 | source: hosted 348 | version: "2.1.0-nullsafety.3" 349 | string_scanner: 350 | dependency: transitive 351 | description: 352 | name: string_scanner 353 | url: "https://pub.dartlang.org" 354 | source: hosted 355 | version: "1.1.0-nullsafety.3" 356 | sync_http: 357 | dependency: transitive 358 | description: 359 | name: sync_http 360 | url: "https://pub.dartlang.org" 361 | source: hosted 362 | version: "0.2.0" 363 | term_glyph: 364 | dependency: transitive 365 | description: 366 | name: term_glyph 367 | url: "https://pub.dartlang.org" 368 | source: hosted 369 | version: "1.2.0-nullsafety.3" 370 | test_api: 371 | dependency: transitive 372 | description: 373 | name: test_api 374 | url: "https://pub.dartlang.org" 375 | source: hosted 376 | version: "0.2.19-nullsafety.6" 377 | test_core: 378 | dependency: transitive 379 | description: 380 | name: test_core 381 | url: "https://pub.dartlang.org" 382 | source: hosted 383 | version: "0.3.12-nullsafety.9" 384 | typed_data: 385 | dependency: transitive 386 | description: 387 | name: typed_data 388 | url: "https://pub.dartlang.org" 389 | source: hosted 390 | version: "1.3.0-nullsafety.5" 391 | vector_math: 392 | dependency: transitive 393 | description: 394 | name: vector_math 395 | url: "https://pub.dartlang.org" 396 | source: hosted 397 | version: "2.1.0-nullsafety.5" 398 | vm_service: 399 | dependency: transitive 400 | description: 401 | name: vm_service 402 | url: "https://pub.dartlang.org" 403 | source: hosted 404 | version: "5.5.0" 405 | watcher: 406 | dependency: transitive 407 | description: 408 | name: watcher 409 | url: "https://pub.dartlang.org" 410 | source: hosted 411 | version: "0.9.7+15" 412 | web_socket_channel: 413 | dependency: transitive 414 | description: 415 | name: web_socket_channel 416 | url: "https://pub.dartlang.org" 417 | source: hosted 418 | version: "1.1.0" 419 | webdriver: 420 | dependency: transitive 421 | description: 422 | name: webdriver 423 | url: "https://pub.dartlang.org" 424 | source: hosted 425 | version: "2.1.2" 426 | websafe_svg: 427 | dependency: "direct main" 428 | description: 429 | name: websafe_svg 430 | url: "https://pub.dartlang.org" 431 | source: hosted 432 | version: "1.1.4+1" 433 | xml: 434 | dependency: transitive 435 | description: 436 | name: xml 437 | url: "https://pub.dartlang.org" 438 | source: hosted 439 | version: "4.5.1" 440 | yaml: 441 | dependency: transitive 442 | description: 443 | name: yaml 444 | url: "https://pub.dartlang.org" 445 | source: hosted 446 | version: "2.2.1" 447 | sdks: 448 | dart: ">=2.12.0-0.0 <3.0.0" 449 | flutter: ">=1.18.0-6.0.pre <2.0.0" 450 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: outlook 2 | description: A new Flutter project. 3 | 4 | # The following line prevents the package from being accidentally published to 5 | # pub.dev using `pub publish`. This is preferred for private packages. 6 | publish_to: "none" # Remove this line if you wish to publish to pub.dev 7 | 8 | # The following defines the version and build number for your application. 9 | # A version number is three numbers separated by dots, like 1.2.43 10 | # followed by an optional build number separated by a +. 11 | # Both the version and the builder number may be overridden in flutter 12 | # build by specifying --build-name and --build-number, respectively. 13 | # In Android, build-name is used as versionName while build-number used as versionCode. 14 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning 15 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. 16 | # Read more about iOS versioning at 17 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html 18 | version: 1.0.0+1 19 | 20 | environment: 21 | sdk: ">=2.7.0 <3.0.0" 22 | 23 | dependencies: 24 | flutter: 25 | sdk: flutter 26 | 27 | # The following adds the Cupertino Icons font to your application. 28 | # Use with the CupertinoIcons class for iOS style icons. 29 | cupertino_icons: ^1.0.1 30 | 31 | # handle SVGs for Android, iOS, and Web. 32 | websafe_svg: ^1.1.4+1 33 | 34 | # which supports multiple columns with rows of varying sizes 35 | flutter_staggered_grid_view: ^0.3.3 36 | 37 | dev_dependencies: 38 | flutter_test: 39 | sdk: flutter 40 | integration_test: 41 | sdk: flutter 42 | 43 | # For information on the generic Dart part of this file, see the 44 | # following page: https://dart.dev/tools/pub/pubspec 45 | 46 | # The following section is specific to Flutter. 47 | flutter: 48 | # The following line ensures that the Material Icons font is 49 | # included with your application, so that you can use the icons in 50 | # the material Icons class. 51 | uses-material-design: true 52 | 53 | # To add assets to your application, add an assets section, like this: 54 | assets: 55 | - assets/Icons/ 56 | - assets/images/ 57 | 58 | # An image asset can refer to one or more resolution-specific "variants", see 59 | # https://flutter.dev/assets-and-images/#resolution-aware. 60 | 61 | # For details regarding adding assets from package dependencies, see 62 | # https://flutter.dev/assets-and-images/#from-packages 63 | 64 | # To add custom fonts to your application, add a fonts section here, 65 | # in this "flutter" section. Each entry in this list should have a 66 | # "family" key with the font family name, and a "fonts" key with a 67 | # list giving the asset and other descriptors for the font. For 68 | # example: 69 | # fonts: 70 | # - family: Schyler 71 | # fonts: 72 | # - asset: fonts/Schyler-Regular.ttf 73 | # - asset: fonts/Schyler-Italic.ttf 74 | # style: italic 75 | # - family: Trajan Pro 76 | # fonts: 77 | # - asset: fonts/TrajanPro.ttf 78 | # - asset: fonts/TrajanPro_Bold.ttf 79 | # weight: 700 80 | # 81 | # For details regarding fonts from package dependencies, 82 | # see https://flutter.dev/custom-fonts/#from-packages 83 | -------------------------------------------------------------------------------- /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:outlook/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 | -------------------------------------------------------------------------------- /ui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/ui.png -------------------------------------------------------------------------------- /web/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/web/favicon.png -------------------------------------------------------------------------------- /web/icons/Icon-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/web/icons/Icon-192.png -------------------------------------------------------------------------------- /web/icons/Icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abuanwar072/Flutter-responsive-email-ui---Mobile-Tablet-and-Web/68b0f0ccd321ebbf352ea416cdcc264432132851/web/icons/Icon-512.png -------------------------------------------------------------------------------- /web/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | outlook 30 | 31 | 32 | 33 | 36 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /web/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "outlook", 3 | "short_name": "outlook", 4 | "start_url": ".", 5 | "display": "standalone", 6 | "background_color": "#0175C2", 7 | "theme_color": "#0175C2", 8 | "description": "A new Flutter project.", 9 | "orientation": "portrait-primary", 10 | "prefer_related_applications": false, 11 | "icons": [ 12 | { 13 | "src": "icons/Icon-192.png", 14 | "sizes": "192x192", 15 | "type": "image/png" 16 | }, 17 | { 18 | "src": "icons/Icon-512.png", 19 | "sizes": "512x512", 20 | "type": "image/png" 21 | } 22 | ] 23 | } 24 | --------------------------------------------------------------------------------