├── .gitignore
├── .metadata
├── README.md
├── analysis_options.yaml
├── android
├── .gitignore
├── app
│ ├── build.gradle
│ └── src
│ │ ├── debug
│ │ └── AndroidManifest.xml
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── kotlin
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── fluttership
│ │ │ │ └── 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
├── Tesla
│ ├── Body.png
│ ├── Car.png
│ ├── HeadLightIcon.png
│ ├── Lights.png
│ └── ReadyMade.png
├── bottom.png
├── carTire.png
├── dribbbleBal.png
├── google.png
├── logo.png
└── top.png
├── ios
├── .gitignore
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── Podfile
├── 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
├── Constants
│ ├── Assets.dart
│ ├── Colors.dart
│ ├── Constants.dart
│ ├── Enums.dart
│ └── Urls.dart
├── Dialogues
│ └── BuyDialogue.dart
├── HomePage.dart
├── Models
│ ├── CDM.dart
│ ├── Clone.dart
│ ├── Currency.dart
│ ├── CustomStep.dart
│ ├── GResult.dart
│ ├── IconLabel.dart
│ ├── InterlacedEvent.dart
│ └── ProductOption.dart
├── MyApp.dart
├── Repos
│ └── Img.dart
├── UI
│ ├── Account.dart
│ ├── AssemblingAnalyticsPage.dart
│ ├── ButtonExample.dart
│ ├── ComplexDrawerPage.dart
│ ├── CurrenciesPage.dart
│ ├── CustomStepper.dart
│ ├── DoubleCardExample.dart
│ ├── DribbbleBalExample.dart
│ ├── ExpandedBottomNav.dart
│ ├── ExpandileExample.dart
│ ├── GoogleSearchPage.dart
│ ├── ImgExample.dart
│ ├── InkkExample.dart
│ ├── InterLacedDashBoard.dart
│ ├── ProductDetailsPage.dart
│ ├── RichCalculator.dart
│ ├── ScrollerSamplePage.dart
│ ├── SendMoneyPage.dart
│ ├── Tesla
│ │ ├── ACButton.dart
│ │ ├── BlackIconButton.dart
│ │ ├── CarSegment.dart
│ │ ├── ChargingIndicator.dart
│ │ ├── ControlCentre.dart
│ │ ├── HeadLightButton.dart
│ │ ├── Locker.dart
│ │ ├── Page.dart
│ │ └── VoiceButton.dart
│ └── TimerDrawerPage.dart
├── Widgets
│ ├── Avatar.dart
│ ├── Button.dart
│ ├── ColorTile.dart
│ ├── CrossFade.dart
│ ├── DoubleCard.dart
│ ├── Expandile.dart
│ ├── Img.dart
│ ├── Inkk.dart
│ ├── Loader.dart
│ ├── Megamenu.dart
│ ├── Scroller.dart
│ ├── SearchBar.dart
│ ├── Txt.dart
│ └── Widgets.dart
└── main.dart
├── macos
├── .gitignore
├── Flutter
│ ├── Flutter-Debug.xcconfig
│ ├── Flutter-Release.xcconfig
│ └── GeneratedPluginRegistrant.swift
├── Podfile
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ └── xcshareddata
│ │ │ └── IDEWorkspaceChecks.plist
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── IDEWorkspaceChecks.plist
└── Runner
│ ├── AppDelegate.swift
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ ├── Contents.json
│ │ ├── app_icon_1024.png
│ │ ├── app_icon_128.png
│ │ ├── app_icon_16.png
│ │ ├── app_icon_256.png
│ │ ├── app_icon_32.png
│ │ ├── app_icon_512.png
│ │ └── app_icon_64.png
│ ├── Base.lproj
│ └── MainMenu.xib
│ ├── Configs
│ ├── AppInfo.xcconfig
│ ├── Debug.xcconfig
│ ├── Release.xcconfig
│ └── Warnings.xcconfig
│ ├── DebugProfile.entitlements
│ ├── Info.plist
│ ├── MainFlutterWindow.swift
│ └── Release.entitlements
├── pubspec.yaml
└── web
├── favicon.png
├── icons
├── Icon-192.png
├── Icon-512.png
├── Icon-maskable-192.png
└── Icon-maskable-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 | migrate_working_dir/
12 |
13 | # IntelliJ related
14 | *.iml
15 | *.ipr
16 | *.iws
17 | .idea/
18 |
19 | # The .vscode folder contains launch configuration and tasks you configure in
20 | # VS Code which you may wish to be included in version control, so this line
21 | # is commented out by default.
22 | #.vscode/
23 |
24 | # Flutter/Dart/Pub related
25 | **/doc/api/
26 | **/ios/Flutter/.last_build_id
27 | .dart_tool/
28 | .flutter-plugins
29 | .flutter-plugins-dependencies
30 | .packages
31 | .pub-cache/
32 | .pub/
33 | /build/
34 |
35 | # Web related
36 | lib/generated_plugin_registrant.dart
37 |
38 | # Symbolication related
39 | app.*.symbols
40 |
41 | # Obfuscation related
42 | app.*.map.json
43 |
44 | # Android Studio will place build artifacts here
45 | /android/app/debug
46 | /android/app/profile
47 | /android/app/release
48 | ios/Podfile.lock
49 | pubspec.lock
50 | .vscode/settings.json
51 | pubspec.lock
52 | pubspec.lock
53 |
--------------------------------------------------------------------------------
/.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.
5 |
6 | version:
7 | revision: f1875d570e39de09040c8f79aa13cc56baab8db1
8 | channel: stable
9 |
10 | project_type: app
11 |
12 | # Tracks metadata for the flutter migrate command
13 | migration:
14 | platforms:
15 | - platform: root
16 | create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
17 | base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
18 | - platform: android
19 | create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
20 | base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
21 | - platform: ios
22 | create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
23 | base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
24 | - platform: macos
25 | create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
26 | base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
27 | - platform: web
28 | create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
29 | base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
30 |
31 | # User provided section
32 |
33 | # List of Local paths (relative to this file) that should be
34 | # ignored by the migrate tool.
35 | #
36 | # Files that are not part of the templates will be ignored by default.
37 | unmanaged_files:
38 | - 'lib/main.dart'
39 | - 'ios/Runner.xcodeproj/project.pbxproj'
40 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | Check the web app made with flutter which displays the UI design codes online.
2 | Web App: https://fluttershipp.web.app
3 |
4 |
5 | 
6 |
--------------------------------------------------------------------------------
/analysis_options.yaml:
--------------------------------------------------------------------------------
1 | # This file configures the analyzer, which statically analyzes Dart code to
2 | # check for errors, warnings, and lints.
3 | #
4 | # The issues identified by the analyzer are surfaced in the UI of Dart-enabled
5 | # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
6 | # invoked from the command line by running `flutter analyze`.
7 |
8 | # The following line activates a set of recommended lints for Flutter apps,
9 | # packages, and plugins designed to encourage good coding practices.
10 | # include: package:flutter_lints/flutter.yaml
11 |
12 | linter:
13 | # The lint rules applied to this project can be customized in the
14 | # section below to disable rules from the `package:flutter_lints/flutter.yaml`
15 | # included above or to enable additional rules. A list of all available lints
16 | # and their documentation is published at
17 | # https://dart-lang.github.io/linter/lints/index.html.
18 | #
19 | # Instead of disabling a lint rule for the entire project in the
20 | # section below, it can also be suppressed for a single line of code
21 | # or a specific dart file by using the `// ignore: name_of_lint` and
22 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file
23 | # producing the lint.
24 | rules:
25 | # avoid_print: false # Uncomment to disable the `avoid_print` rule
26 | # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
27 |
28 | # Additional information about this file can be found at
29 | # https://dart.dev/guides/language/analysis-options
30 |
--------------------------------------------------------------------------------
/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 | **/*.keystore
13 | **/*.jks
14 |
--------------------------------------------------------------------------------
/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 flutter.compileSdkVersion
30 | ndkVersion flutter.ndkVersion
31 |
32 | compileOptions {
33 | sourceCompatibility JavaVersion.VERSION_1_8
34 | targetCompatibility JavaVersion.VERSION_1_8
35 | }
36 |
37 | kotlinOptions {
38 | jvmTarget = '1.8'
39 | }
40 |
41 | sourceSets {
42 | main.java.srcDirs += 'src/main/kotlin'
43 | }
44 |
45 | defaultConfig {
46 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
47 | applicationId "com.example.fluttership"
48 | // You can update the following values to match your application needs.
49 | // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
50 | minSdkVersion flutter.minSdkVersion
51 | targetSdkVersion flutter.targetSdkVersion
52 | versionCode flutterVersionCode.toInteger()
53 | versionName flutterVersionName
54 | }
55 |
56 | buildTypes {
57 | release {
58 | // TODO: Add your own signing config for the release build.
59 | // Signing with the debug keys for now, so `flutter run --release` works.
60 | signingConfig signingConfigs.debug
61 | }
62 | }
63 | }
64 |
65 | flutter {
66 | source '../..'
67 | }
68 |
69 | dependencies {
70 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
71 | }
72 |
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
7 |
15 |
19 |
23 |
24 |
25 |
26 |
27 |
28 |
30 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/com/example/fluttership/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.example.fluttership
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/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/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 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.6.10'
3 | repositories {
4 | google()
5 | mavenCentral()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:7.1.2'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 | }
12 | }
13 |
14 | allprojects {
15 | repositories {
16 | google()
17 | mavenCentral()
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-7.4-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/Tesla/Body.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/assets/Tesla/Body.png
--------------------------------------------------------------------------------
/assets/Tesla/Car.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/assets/Tesla/Car.png
--------------------------------------------------------------------------------
/assets/Tesla/HeadLightIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/assets/Tesla/HeadLightIcon.png
--------------------------------------------------------------------------------
/assets/Tesla/Lights.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/assets/Tesla/Lights.png
--------------------------------------------------------------------------------
/assets/Tesla/ReadyMade.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/assets/Tesla/ReadyMade.png
--------------------------------------------------------------------------------
/assets/bottom.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/assets/bottom.png
--------------------------------------------------------------------------------
/assets/carTire.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/assets/carTire.png
--------------------------------------------------------------------------------
/assets/dribbbleBal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/assets/dribbbleBal.png
--------------------------------------------------------------------------------
/assets/google.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/assets/google.png
--------------------------------------------------------------------------------
/assets/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/assets/logo.png
--------------------------------------------------------------------------------
/assets/top.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/assets/top.png
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | **/dgph
2 | *.mode1v3
3 | *.mode2v3
4 | *.moved-aside
5 | *.pbxuser
6 | *.perspectivev3
7 | **/*sync/
8 | .sconsign.dblite
9 | .tags*
10 | **/.vagrant/
11 | **/DerivedData/
12 | Icon?
13 | **/Pods/
14 | **/.symlinks/
15 | profile
16 | xcuserdata
17 | **/.generated/
18 | Flutter/App.framework
19 | Flutter/Flutter.framework
20 | Flutter/Flutter.podspec
21 | Flutter/Generated.xcconfig
22 | Flutter/ephemeral/
23 | Flutter/app.flx
24 | Flutter/app.zip
25 | Flutter/flutter_assets/
26 | Flutter/flutter_export_environment.sh
27 | ServiceDefinitions.json
28 | Runner/GeneratedPluginRegistrant.*
29 |
30 | # Exceptions to above rules.
31 | !default.mode1v3
32 | !default.mode2v3
33 | !default.pbxuser
34 | !default.perspectivev3
35 |
--------------------------------------------------------------------------------
/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 | 11.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, '11.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/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 |
37 |
38 |
39 |
40 |
41 |
42 |
52 |
54 |
60 |
61 |
62 |
63 |
69 |
71 |
77 |
78 |
79 |
80 |
82 |
83 |
86 |
87 |
88 |
--------------------------------------------------------------------------------
/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/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/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/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/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/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/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/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/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/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/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/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/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/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/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/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/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/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/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/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/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/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/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/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/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/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/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/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/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/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/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/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/irajeshh/FlutterShip/9daa23fa29248d4cde74fd3607d715ccfc7f8c2e/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 | CADisableMinimumFrameDurationOnPhone
6 |
7 | CFBundleDevelopmentRegion
8 | $(DEVELOPMENT_LANGUAGE)
9 | CFBundleDisplayName
10 | Fluttership
11 | CFBundleExecutable
12 | $(EXECUTABLE_NAME)
13 | CFBundleIdentifier
14 | $(PRODUCT_BUNDLE_IDENTIFIER)
15 | CFBundleInfoDictionaryVersion
16 | 6.0
17 | CFBundleName
18 | fluttership
19 | CFBundlePackageType
20 | APPL
21 | CFBundleShortVersionString
22 | $(FLUTTER_BUILD_NAME)
23 | CFBundleSignature
24 | ????
25 | CFBundleVersion
26 | $(FLUTTER_BUILD_NUMBER)
27 | LSRequiresIPhoneOS
28 |
29 | UILaunchStoryboardName
30 | LaunchScreen
31 | UIMainStoryboardFile
32 | Main
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationLandscapeLeft
36 | UIInterfaceOrientationLandscapeRight
37 | UIInterfaceOrientationPortrait
38 | UIInterfaceOrientationPortraitUpsideDown
39 |
40 | UIViewControllerBasedStatusBarAppearance
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/lib/Constants/Assets.dart:
--------------------------------------------------------------------------------
1 | part of './Constants.dart';
2 |
3 | class Assets {
4 | static const String google = 'assets/google.png';
5 | static const String carTire = 'assets/carTire.png';
6 | static const String dribbbleBal = 'assets/dribbbleBal.png';
7 | }
8 |
9 | class TeslaAssets {
10 | static const String car = 'assets/Tesla/Car.png';
11 | static const String body = 'assets/Tesla/Body.png';
12 | static const String lights = 'assets/Tesla/Lights.png';
13 | static const String readyMade = 'assets/Tesla/ReadyMade.png';
14 | static const String headLightIcon = 'assets/Tesla/HeadLightIcon.png';
15 | }
16 |
--------------------------------------------------------------------------------
/lib/Constants/Colors.dart:
--------------------------------------------------------------------------------
1 | part of './Constants.dart';
2 |
3 | //I usally keep all the static values in a place
4 | //in case you like it do tht
5 |
6 | class Colorz {
7 | static const Color primaryColor = Color(0xff5b60ec);
8 | static const Color timerBlue = Color(0xff1c77dd);
9 |
10 | static const Color backgroundBlue = Color(0xff1b81f1);
11 |
12 | static const Color accountPurple = primaryColor;
13 |
14 | static const Color currenciesPageBackground = Color(0xff0f1e4e);
15 | static const Color currenciesNameColor = Color(0xff7080b3);
16 | static const Color currencyPositiveGreen = Color(0xff0eff7e);
17 | static const Color currencyIndicatorColor = Color(0xff6170f3);
18 |
19 | static const Color sendMoneyBlue = Color(0xff4285f4);
20 |
21 | static const Color googlResultsGrey = Color(0xffeff4f2);
22 |
23 | // static const Color compexDrawerScaffoldColor = Color(0xfe3e9f7);
24 | static const Color compexDrawerCanvasColor = Color(0xffe3e9f7);
25 | static const Color complexDrawerBlack = Color(0xff11111d);
26 | static const Color complexDrawerBlueGrey = Color(0xff1d1b31);
27 |
28 | //interlaced dashboard
29 | static const Color interlacedBackground = Color(0xfff7f8fa);
30 | static const Color interlacedAvatarBorderBlue = Color(0xff2554fc);
31 | static const Color interlacedChatPurple = Color(0xff8532fb);
32 |
33 | //richCalculator
34 | static const Color richCalculatorCanvas = Color(0xff222433);
35 | static const Color richCalculatorOutterButtonColor = Color(0xff333549);
36 | static const Color richCalculatorInnerButtonColor = Color(0xff2c2e41);
37 | static const Color richCalculatorYellowButtonColor = Color(0xffffba001);
38 |
39 | //buttonExample
40 | static const Color buttonExampleCanvas = Color(0xfff3f6ff);
41 | static const Color buttonSampleColor = Color(0xff7c2ae8);
42 |
43 | ///Expandile
44 | static const Color iphone12Purple = Color(0xffB8AFE6);
45 |
46 | ///DoubleCard
47 | static const Color doubleCardBlue = Color(0xff045bd8);
48 | }
49 |
50 | class TeslaColorz {
51 | ///Primary Colors
52 | static const List backdropColors = [
53 | Colors.black,
54 | Color(0xFF003073),
55 | Color(0xFF003073),
56 | Color(0xFF1E281E),
57 | Color(0xFF1E281E),
58 | Colors.black26,
59 | ];
60 |
61 | ///Control centre colors
62 | static const Color iconBlack = Color(0xff101118);
63 | static const Color disabledGrey = Color(0xff1e1f28);
64 |
65 | static const Color headLightRed = Color(0xfffb1e4d);
66 | static const Color microphoneRed = Color(0xffff0000);
67 | static const Color chargingBlue = Color(0xff038efe);
68 |
69 | ///Sorted by darkest color to the lightest color
70 | static const List chargingWaveColors = [
71 | Color(0xff0845d5),
72 | Color(0xff0558f7),
73 | Color(0xff0977d4),
74 | Color(0xff0491fe),
75 | ];
76 |
77 | static const List lockerColors = [
78 | Color(0xff6b67fa),
79 | Color(0xff4844f9),
80 | ];
81 | }
82 |
--------------------------------------------------------------------------------
/lib/Constants/Constants.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | part './Colors.dart';
4 | part './Urls.dart';
5 | part './Assets.dart';
6 | part './Enums.dart';
--------------------------------------------------------------------------------
/lib/Constants/Enums.dart:
--------------------------------------------------------------------------------
1 | part of './Constants.dart';
2 |
3 | enum GResultType {
4 | All, Videos, News, Images, Maps, Shopping, Books, Flights
5 | }
6 |
7 | extension GResultTypeToString on GResultType {
8 |
9 | String get string => this.toString().split('.').last;//sample: GResultType.Videos => => "GresultType, Videos" [GresultType, Videos] => Videos;
10 | }
11 |
12 |
13 |
14 | enum OptionType {
15 | Memory, Storage, Ethernet, FinalCutPro, LogicPro
16 | }
17 |
18 |
--------------------------------------------------------------------------------
/lib/Constants/Urls.dart:
--------------------------------------------------------------------------------
1 | part of './Constants.dart';
2 |
3 | class Urls {
4 | static const String googleImg = "https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png";
5 | static const String avatar1 = "https://cdn.pixabay.com/photo/2016/03/29/03/14/portrait-1287421_960_720.jpg";
6 | static const String avatar2 = "https://cdn.pixabay.com/photo/2016/03/29/03/14/portrait-1287421_960_720.jpg";
7 | static const String avatar3 = 'https://images.unsplash.com/photo-1516384903227-139a8cf0ec21?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=634&q=80';
8 | static const String avatar4 = "https://images.unsplash.com/photo-1601412436465-922fadda062e?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=700&q=80";
9 |
10 |
11 | static const String macMiniCover = "https://www.apple.com/v/mac-mini/l/images/overview/hero__x8ruukomx2au_large_2x.jpg";
12 | }
--------------------------------------------------------------------------------
/lib/Dialogues/BuyDialogue.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:fluttership/Constants/Constants.dart';
3 | import 'package:fluttership/Widgets/Widgets.dart';
4 |
5 | class BuyDialgoue extends StatefulWidget {
6 | const BuyDialgoue({Key? key}) : super(key: key);
7 |
8 | @override
9 | _BuyDialgoueState createState() => _BuyDialgoueState();
10 | }
11 |
12 | class _BuyDialgoueState extends State {
13 | bool isLoading = false;
14 |
15 | @override
16 | Widget build(BuildContext context) {
17 | return Center(
18 | child: Container(
19 | width: double.maxFinite,
20 | padding: EdgeInsets.all(20),
21 | child: Material(
22 | borderRadius: BorderRadius.circular(18),
23 | color: Colorz.complexDrawerBlack,
24 | elevation: 25,
25 | shadowColor: Colors.black54,
26 | child: Padding(
27 | padding: const EdgeInsets.all(18.0),
28 | child: Column(
29 | mainAxisSize: MainAxisSize.min,
30 | children: [
31 | Padding(
32 | padding: const EdgeInsets.all(8.0),
33 | child:
34 | Icon(Icons.local_shipping, color: Colorz.compexDrawerCanvasColor, size: 100),
35 | ),
36 | ListTile(
37 | title: Padding(
38 | padding: const EdgeInsets.all(8.0),
39 | child: Txt(
40 | text:
41 | "Are you sure want to confirm the purchase the product with selected configuration options?",
42 | color: Colors.white,
43 | textAlign: TextAlign.center,
44 | fontWeight: FontWeight.bold,
45 | ),
46 | ),
47 | subtitle: Padding(
48 | padding: const EdgeInsets.all(8.0),
49 | child: Txt(
50 | text: "You can cancel this before shipping.",
51 | color: Colors.white70,
52 | textAlign: TextAlign.center,
53 | ),
54 | ),
55 | ),
56 | buttons(),
57 | ],
58 | ),
59 | ),
60 | ),
61 | ),
62 | );
63 | }
64 |
65 | Widget buttons() {
66 | List options = [
67 | "Cancel",
68 | "Confirm",
69 | ];
70 | return Row(
71 | mainAxisAlignment: MainAxisAlignment.spaceEvenly,
72 | children: options.map((option) {
73 | bool isConfirmOption = options.indexOf(option) == 1;
74 | return Button(
75 | text: option,
76 | textColor: Colors.white,
77 | width: MediaQuery.of(context).size.width / 2.75,
78 | buttonColor: isConfirmOption ? Colorz.timerBlue : Colorz.complexDrawerBlueGrey,
79 | processingText: isConfirmOption? "Confirming...":"Cancelling...",
80 | onPressed: isConfirmOption ? confirmFn : closeFn,
81 | );
82 | }).toList(),
83 | );
84 | }
85 |
86 | void closeFn() {
87 | Navigator.of(context).pop();
88 | }
89 |
90 | void confirmFn() async {
91 | setState(() => isLoading = true);
92 | await Future.delayed(Duration(seconds: 2));
93 | setState(() => isLoading = true);
94 | Navigator.of(context).pop();
95 | }
96 | }
97 |
--------------------------------------------------------------------------------
/lib/HomePage.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:fluttership/Constants/Constants.dart';
3 | import 'package:fluttership/Models/Clone.dart';
4 | import 'package:fluttership/UI/Account.dart';
5 | import 'package:fluttership/UI/AssemblingAnalyticsPage.dart';
6 | import 'package:fluttership/UI/ButtonExample.dart';
7 | import 'package:fluttership/UI/CustomStepper.dart';
8 | import 'package:fluttership/UI/DoubleCardExample.dart';
9 | import 'package:fluttership/UI/ExpandedBottomNav.dart';
10 | import 'package:fluttership/UI/ExpandileExample.dart';
11 | import 'package:fluttership/UI/GoogleSearchPage.dart';
12 | import 'package:fluttership/UI/ImgExample.dart';
13 | import 'package:fluttership/UI/InkkExample.dart';
14 | import 'package:fluttership/UI/InterLacedDashBoard.dart';
15 | import 'package:fluttership/UI/DribbbleBalExample.dart';
16 | import 'package:fluttership/UI/ProductDetailsPage.dart';
17 | import 'package:fluttership/UI/RichCalculator.dart';
18 | import 'package:fluttership/UI/SendMoneyPage.dart';
19 | import 'package:fluttership/UI/Tesla/Page.dart';
20 | import 'package:fluttership/UI/TimerDrawerPage.dart';
21 | import 'package:fluttership/Widgets/SearchBar.dart';
22 | import 'package:fluttership/Widgets/Widgets.dart';
23 |
24 | import 'UI/ComplexDrawerPage.dart';
25 | import 'UI/CurrenciesPage.dart';
26 | import 'UI/ScrollerSamplePage.dart';
27 |
28 | class HomePage extends StatefulWidget {
29 | const HomePage({Key? key}) : super(key: key);
30 |
31 | @override
32 | _HomePageState createState() => _HomePageState();
33 | }
34 |
35 | class _HomePageState extends State {
36 | final TextEditingController searchController = TextEditingController();
37 | String query = '';
38 |
39 | @override
40 | Widget build(BuildContext context) {
41 | return Scaffold(
42 | body: body(),
43 | );
44 | }
45 |
46 | Widget body() {
47 | return Column(
48 | children: [
49 | searchField(),
50 | clonesResult(),
51 | ],
52 | );
53 | }
54 |
55 | Widget searchField() {
56 | return SearchBar(
57 | onChanged: (z) => setState(() => query = z.toLowerCase()),
58 | );
59 | return Padding(
60 | padding: const EdgeInsets.only(top: 28, bottom: 8),
61 | child: Card(
62 | elevation: 0,
63 | color: Colors.grey.shade50,
64 | child: ListTile(
65 | leading: Icon(Icons.search, color: Colors.grey),
66 | title: TextField(
67 | controller: searchController,
68 | onChanged: (z) => setState(() => query = z.toLowerCase()),
69 | decoration: InputDecoration(
70 | hintText: "Search FlutterShip...",
71 | hintStyle: TextStyle(
72 | color: Colors.grey,
73 | ),
74 | border: InputBorder.none,
75 | ),
76 | ),
77 | trailing: IconButton(onPressed: clearSearch, icon: Icon(Icons.clear, color: Colors.grey)),
78 | ),
79 | ),
80 | );
81 | }
82 |
83 | Widget clonesResult() {
84 | List _clones = clones.where((clone) {
85 | return clone.title.toString().toLowerCase().contains(query) ||
86 | clone.title.toString().toLowerCase().contains(query);
87 | }).toList();
88 | return Flexible(
89 | child: ListView.builder(
90 | padding: EdgeInsets.all(0),
91 | shrinkWrap: false,
92 | itemCount: _clones.length,
93 | itemBuilder: (BuildContext context, int index) {
94 | Clone clone = _clones[index];
95 | return ColorTile(
96 | icon: clone.icon,
97 | color: clone.color,
98 | title: clone.title,
99 | subtitle: clone.subtitle,
100 | onTap: () {
101 | Widgets.push(clone.page, context);
102 | });
103 | },
104 | ),
105 | );
106 | }
107 |
108 | static List clones = [
109 | Clone(TimerDrawerPage(), Colorz.timerBlue, Icons.calendar_today, "Timer Drawer",
110 | "Simple clean drawer design from dribbble.com"),
111 | Clone(AccountPage(), Colors.pink, Icons.person, "Account Page",
112 | "Colorful & BW Account Dashboard"),
113 | Clone(CurrenciesPage(), Colors.green, Icons.monetization_on, "Currency page",
114 | "Crypto currency coins app design dribbble.com"),
115 | Clone(SendMoneyPage(), Colorz.sendMoneyBlue, Icons.dialpad, "Send Money",
116 | "Money transfer screen design from dribbble.com"),
117 | Clone(ScrollerSamplePage(), Colors.blue, Icons.list, "Scroller Sample",
118 | "Example use case of scroller widget"),
119 | Clone(GoogleSearchPage(), Colors.amber, Icons.search, "Google Search Clone",
120 | "Cloing a google search results page"),
121 | Clone(ComplexDrawerPage(), Colors.black, Icons.menu, "Complex Drawer",
122 | "Designing a complex drawer menu"),
123 | Clone(InterLacedDashBoard(), Colors.purple, Icons.dashboard_outlined, "Interlaced Dashboard",
124 | "Designing a mixed account dashboard"),
125 | Clone(AssemblingAnalyticsPage(), Colors.blue, Icons.apps, "Assembling Analytics",
126 | "Analytics page with auto assembling animated widgets"),
127 | Clone(ExpandedBottomNavigationBarPage(), Colorz.complexDrawerBlack, Icons.dns,
128 | "Expanded Bottom Navigation Bar", "A custom bottom navigation bar with additional menus"),
129 | Clone(RichCalculatorPage(), Colors.black, Icons.calculate, "Rich Calculator",
130 | "A Non functioning calculator ui"),
131 | Clone(ProductDetailsPage(), Colors.red, Icons.computer, "Product Details",
132 | "An Imaginary UI of Apple Macbook Customization Page"),
133 | Clone(ImgExample(), Colors.green, Icons.photo, "Img", "Example use case of Img widget"),
134 | Clone(ButtonExample(), Colors.deepPurple, Icons.touch_app, "Buttons",
135 | "Example use case of Button Widget"),
136 | Clone(InkkExample(), Colors.blue, Icons.touch_app, "Inkk", "Example use case of Inkk Widget"),
137 | Clone(StepperExample(), Colors.green, Icons.format_list_numbered, "Custom Stepper",
138 | "Example use case of custom stepper widget design"),
139 | Clone(DribbbleBallExamplePage(), Colors.pink, Icons.sports_basketball, "Dribbble Ball",
140 | "Example use case of dribbble ball type of loading widgets"),
141 | Clone(ExpandileExamplePage(), Colorz.iphone12Purple, Icons.expand_circle_down_outlined,
142 | 'Expandile example', 'To use expadile widget'),
143 | Clone(DoubleCardExample(), Colorz.doubleCardBlue, Icons.layers, 'Double card example page',
144 | 'To use the double card widget'),
145 | Clone(TeslaCarAppPage(), Colorz.complexDrawerBlack, Icons.car_rental, 'Tesla car control',
146 | 'Remote application model to control a tesla car for educational purpose only'),
147 |
148 | ];
149 |
150 | void clearSearch() {
151 | searchController.clear();
152 | query = '';
153 | FocusScope.of(context).unfocus();
154 | }
155 | }
156 |
--------------------------------------------------------------------------------
/lib/Models/CDM.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class CDM {
4 | //complex drawer menu
5 | final IconData icon;
6 | final String title;
7 | final List submenus;
8 |
9 | CDM(this.icon, this.title, this.submenus);
10 | }
11 |
--------------------------------------------------------------------------------
/lib/Models/Clone.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/cupertino.dart';
2 |
3 | class Clone {
4 | final Widget page;
5 | final Color color;
6 | final IconData icon;
7 | final String title;
8 | final String subtitle;
9 |
10 | Clone(this.page, this.color, this.icon, this.title, this.subtitle);
11 | }
--------------------------------------------------------------------------------
/lib/Models/Currency.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/cupertino.dart';
2 |
3 | class Currency {
4 | //I usually extend it to equatable class
5 |
6 | final String title;
7 | final String subTitle;
8 | final double percentage;
9 | final bool negative;
10 | final IconData icon;
11 | final Color borderColor;
12 |
13 | Currency(this.title, this.subTitle, this.percentage, this.negative, this.icon, this.borderColor); //optionally you can use an image as icon
14 |
15 | }
16 |
--------------------------------------------------------------------------------
/lib/Models/CustomStep.dart:
--------------------------------------------------------------------------------
1 | import 'package:equatable/equatable.dart';
2 |
3 | class CustomStep extends Equatable{
4 | final int createdAt;
5 | final String title;
6 | final String description;
7 |
8 | CustomStep(this.createdAt, this.title, this.description);
9 |
10 | @override
11 | List get props => [this.createdAt, this.title, this.description];
12 |
13 | @override
14 | String toString() {
15 | return props.toString();
16 | }
17 |
18 |
19 | }
--------------------------------------------------------------------------------
/lib/Models/GResult.dart:
--------------------------------------------------------------------------------
1 | class GResult {
2 | final String url;
3 | final String title;
4 | final String? description;
5 |
6 | GResult(this.url, this.title, this.description);
7 | // final IconData iconData; optional
8 | // final List tags; optional
9 |
10 |
11 | }
--------------------------------------------------------------------------------
/lib/Models/IconLabel.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class IconLabel {
4 | final IconData icon;
5 | final String label;
6 |
7 | IconLabel(this.icon, this.label);
8 | }
--------------------------------------------------------------------------------
/lib/Models/InterlacedEvent.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class InterlacedEvent {
4 | final Color color;
5 | final String title;
6 | final String startingTime;
7 | final String? endingTime;
8 | final String avatar1;
9 | final String avatar2;
10 |
11 | InterlacedEvent(this.color, this.title, this.startingTime, this.endingTime, this.avatar1, this.avatar2);
12 |
13 | }
--------------------------------------------------------------------------------
/lib/Models/ProductOption.dart:
--------------------------------------------------------------------------------
1 | import 'package:equatable/equatable.dart';
2 | import 'package:fluttership/Constants/Constants.dart';
3 |
4 |
5 |
6 |
7 | class ProductOption {
8 | final String title;
9 | final String description;
10 | final List