├── .gitignore
├── .metadata
├── README.md
├── analysis_options.yaml
├── android
├── .gitignore
├── app
│ ├── build.gradle
│ └── src
│ │ ├── debug
│ │ └── AndroidManifest.xml
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── kotlin
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── flutter_ui
│ │ │ │ └── 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
├── images
│ ├── 1.png
│ ├── 2.png
│ ├── 3.png
│ ├── bulb_off.jpg
│ ├── bulb_on.png
│ ├── chat.png
│ ├── cloudy.png
│ ├── model1.jpeg
│ ├── model2.jpeg
│ ├── model3.jpeg
│ ├── model4.jpeg
│ ├── model5.jpeg
│ ├── model6.jpeg
│ ├── model7.jpeg
│ ├── share.png
│ ├── sun.png
│ └── thunder.png
├── video1.mp4
├── video2.mp4
└── video3.mp4
├── ios
├── .gitignore
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── 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
├── Auth
│ ├── Signup.dart
│ ├── data.dart
│ ├── login.dart
│ └── page_view.dart
├── Cart
│ ├── item_values.dart
│ ├── items.dart
│ ├── list_tile.dart
│ └── list_view.dart
├── Onboarding
│ ├── data.dart
│ ├── on_boardong.dart
│ └── view.dart
├── Theme
│ ├── custombottombar.dart
│ └── home.dart
├── assistant.dart
├── bulb.dart
├── chat
│ ├── UserChat.dart
│ ├── detail_chat.dart
│ ├── details.dart
│ ├── userdata_chat.dart
│ └── userinfo.dart
├── hiddendrawer.dart
├── loader
│ ├── circularprogress_custom.dart
│ └── custom_loader.dart
├── main.dart
├── swipecard.dart
├── tiktok
│ ├── data.dart
│ ├── descriptionbar.dart
│ ├── sidebar.dart
│ ├── tiktokui.dart
│ ├── videodetail.dart
│ └── videoplayer.dart
└── weatherapp_ui.dart
├── pubspec.lock
├── pubspec.yaml
├── test
└── widget_test.dart
└── 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 |
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: 18116933e77adc82f80866c928266a5b4f1ed645
8 | channel: stable
9 |
10 | project_type: app
11 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ## 🎫 Flutter UI
2 |
3 |
4 |
5 |
6 |
7 |
8 | ## 📝 Introduction
9 | The language used here is Dart, which is a object oriented programming language with the sdk called Flutter,It's a google product used for Devloping Application.
10 |
11 | ## 🏃♀️ Local Installation
12 | 1. Drop a ⭐ on the Github Repository.
13 | 2. Fork the repository
14 | 3. Clone the Repo by going to your local Git Client and pushing in the command:
15 | ```sh
16 | https://github.com/naveeramesh/flutter_ui.git
17 | ```
18 |
19 | 1. Password Validation
20 |
21 | https://user-images.githubusercontent.com/54928117/143671671-0078bb89-326a-4e1a-972d-4f3463a4002f.mp4
22 |
23 |
24 | 2. Swipe Card
25 |
26 |
27 | https://user-images.githubusercontent.com/54928117/143732145-131e036e-a6a3-4d0f-8a35-929955b68405.mp4
28 |
29 | 3. HiddenDrawer Bar
30 |
31 |
32 | https://user-images.githubusercontent.com/54928117/143816728-191bd97c-c4bd-452d-bf7f-43c0ee18e8a6.mp4
33 |
34 | 4. Avatar glow with Assistant
35 |
36 |
37 |
38 | https://user-images.githubusercontent.com/54928117/144180898-74f8b6bb-96a3-48f8-bd3c-2f3a42a4f216.mp4
39 |
40 | 5. Tiktok
41 |
42 |
43 | https://user-images.githubusercontent.com/54928117/144365768-66e48ec5-8290-417d-8bd6-ee8a5f6f458f.mp4
44 |
45 |
46 | 6. Chat Ui
47 |
48 |
49 | https://user-images.githubusercontent.com/54928117/144590780-d302c98b-a575-40c0-86a1-19d3858473f5.mp4
50 |
51 | 7. Bulb Ui
52 |
53 |
54 |
55 | https://user-images.githubusercontent.com/54928117/144697916-db610225-78bd-4595-a96a-92016f0a26ec.mp4
56 |
57 | 8. Theme
58 |
59 | https://user-images.githubusercontent.com/54928117/144792375-e3363ae7-678c-4630-81be-d44bedfca6c1.mp4
60 |
61 | 9. Cart
62 |
63 | https://user-images.githubusercontent.com/54928117/145004856-f5e101bc-5ac6-4ca0-aadb-14dbc60ddd16.mp4
64 |
65 |
66 | 10. Custom progress indicator
67 |
68 |
69 | https://user-images.githubusercontent.com/54928117/145357253-bdc0b803-5bbc-43ac-96e8-23838ab99b76.mp4
70 |
71 | 11. Details Chat
72 |
73 |
74 |
75 | 12. Onboarding
76 |
77 | https://user-images.githubusercontent.com/54928117/146131198-6647cd55-a48f-4a7e-8015-d6d9f05e356d.mp4
78 |
79 | 13. Signin
80 |
81 | https://user-images.githubusercontent.com/54928117/146557101-eec6d1d3-5d11-4971-9a4d-341885d738fd.mp4
82 |
83 | 14. Weather App HomeScreen
84 |
85 | 
86 |
--------------------------------------------------------------------------------
/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 30
30 |
31 | compileOptions {
32 | sourceCompatibility JavaVersion.VERSION_1_8
33 | targetCompatibility JavaVersion.VERSION_1_8
34 | }
35 |
36 | kotlinOptions {
37 | jvmTarget = '1.8'
38 | }
39 |
40 | sourceSets {
41 | main.java.srcDirs += 'src/main/kotlin'
42 | }
43 |
44 | defaultConfig {
45 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
46 | applicationId "com.example.flutter_ui"
47 | minSdkVersion 16
48 | targetSdkVersion 30
49 | versionCode flutterVersionCode.toInteger()
50 | versionName flutterVersionName
51 | multiDexEnabled true
52 | }
53 |
54 | buildTypes {
55 | release {
56 | // TODO: Add your own signing config for the release build.
57 | // Signing with the debug keys for now, so `flutter run --release` works.
58 | signingConfig signingConfigs.debug
59 | }
60 | }
61 | }
62 |
63 | flutter {
64 | source '../..'
65 | }
66 |
67 | dependencies {
68 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
69 | }
70 |
--------------------------------------------------------------------------------
/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/flutter_ui/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.example.flutter_ui
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/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/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 | mavenCentral()
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 | mavenCentral()
18 | }
19 | }
20 |
21 | rootProject.buildDir = '../build'
22 | subprojects {
23 | project.buildDir = "${rootProject.buildDir}/${project.name}"
24 | project.evaluationDependsOn(':app')
25 | }
26 |
27 | task clean(type: Delete) {
28 | delete rootProject.buildDir
29 | }
30 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.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/images/1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/assets/images/1.png
--------------------------------------------------------------------------------
/assets/images/2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/assets/images/2.png
--------------------------------------------------------------------------------
/assets/images/3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/assets/images/3.png
--------------------------------------------------------------------------------
/assets/images/bulb_off.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/assets/images/bulb_off.jpg
--------------------------------------------------------------------------------
/assets/images/bulb_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/assets/images/bulb_on.png
--------------------------------------------------------------------------------
/assets/images/chat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/assets/images/chat.png
--------------------------------------------------------------------------------
/assets/images/cloudy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/assets/images/cloudy.png
--------------------------------------------------------------------------------
/assets/images/model1.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/assets/images/model1.jpeg
--------------------------------------------------------------------------------
/assets/images/model2.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/assets/images/model2.jpeg
--------------------------------------------------------------------------------
/assets/images/model3.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/assets/images/model3.jpeg
--------------------------------------------------------------------------------
/assets/images/model4.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/assets/images/model4.jpeg
--------------------------------------------------------------------------------
/assets/images/model5.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/assets/images/model5.jpeg
--------------------------------------------------------------------------------
/assets/images/model6.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/assets/images/model6.jpeg
--------------------------------------------------------------------------------
/assets/images/model7.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/assets/images/model7.jpeg
--------------------------------------------------------------------------------
/assets/images/share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/assets/images/share.png
--------------------------------------------------------------------------------
/assets/images/sun.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/assets/images/sun.png
--------------------------------------------------------------------------------
/assets/images/thunder.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/assets/images/thunder.png
--------------------------------------------------------------------------------
/assets/video1.mp4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/assets/video1.mp4
--------------------------------------------------------------------------------
/assets/video2.mp4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/assets/video2.mp4
--------------------------------------------------------------------------------
/assets/video3.mp4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/assets/video3.mp4
--------------------------------------------------------------------------------
/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 | 9.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
12 | 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 | /* End PBXBuildFile section */
17 |
18 | /* Begin PBXCopyFilesBuildPhase section */
19 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
20 | isa = PBXCopyFilesBuildPhase;
21 | buildActionMask = 2147483647;
22 | dstPath = "";
23 | dstSubfolderSpec = 10;
24 | files = (
25 | );
26 | name = "Embed Frameworks";
27 | runOnlyForDeploymentPostprocessing = 0;
28 | };
29 | /* End PBXCopyFilesBuildPhase section */
30 |
31 | /* Begin PBXFileReference section */
32 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
33 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
34 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
35 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
36 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
37 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
38 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
39 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
40 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
41 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
42 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
43 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
44 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
45 | /* End PBXFileReference section */
46 |
47 | /* Begin PBXFrameworksBuildPhase section */
48 | 97C146EB1CF9000F007C117D /* Frameworks */ = {
49 | isa = PBXFrameworksBuildPhase;
50 | buildActionMask = 2147483647;
51 | files = (
52 | );
53 | runOnlyForDeploymentPostprocessing = 0;
54 | };
55 | /* End PBXFrameworksBuildPhase section */
56 |
57 | /* Begin PBXGroup section */
58 | 9740EEB11CF90186004384FC /* Flutter */ = {
59 | isa = PBXGroup;
60 | children = (
61 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
62 | 9740EEB21CF90195004384FC /* Debug.xcconfig */,
63 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
64 | 9740EEB31CF90195004384FC /* Generated.xcconfig */,
65 | );
66 | name = Flutter;
67 | sourceTree = "";
68 | };
69 | 97C146E51CF9000F007C117D = {
70 | isa = PBXGroup;
71 | children = (
72 | 9740EEB11CF90186004384FC /* Flutter */,
73 | 97C146F01CF9000F007C117D /* Runner */,
74 | 97C146EF1CF9000F007C117D /* Products */,
75 | );
76 | sourceTree = "";
77 | };
78 | 97C146EF1CF9000F007C117D /* Products */ = {
79 | isa = PBXGroup;
80 | children = (
81 | 97C146EE1CF9000F007C117D /* Runner.app */,
82 | );
83 | name = Products;
84 | sourceTree = "";
85 | };
86 | 97C146F01CF9000F007C117D /* Runner */ = {
87 | isa = PBXGroup;
88 | children = (
89 | 97C146FA1CF9000F007C117D /* Main.storyboard */,
90 | 97C146FD1CF9000F007C117D /* Assets.xcassets */,
91 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
92 | 97C147021CF9000F007C117D /* Info.plist */,
93 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
94 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
95 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
96 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
97 | );
98 | path = Runner;
99 | sourceTree = "";
100 | };
101 | /* End PBXGroup section */
102 |
103 | /* Begin PBXNativeTarget section */
104 | 97C146ED1CF9000F007C117D /* Runner */ = {
105 | isa = PBXNativeTarget;
106 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
107 | buildPhases = (
108 | 9740EEB61CF901F6004384FC /* Run Script */,
109 | 97C146EA1CF9000F007C117D /* Sources */,
110 | 97C146EB1CF9000F007C117D /* Frameworks */,
111 | 97C146EC1CF9000F007C117D /* Resources */,
112 | 9705A1C41CF9048500538489 /* Embed Frameworks */,
113 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
114 | );
115 | buildRules = (
116 | );
117 | dependencies = (
118 | );
119 | name = Runner;
120 | productName = Runner;
121 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
122 | productType = "com.apple.product-type.application";
123 | };
124 | /* End PBXNativeTarget section */
125 |
126 | /* Begin PBXProject section */
127 | 97C146E61CF9000F007C117D /* Project object */ = {
128 | isa = PBXProject;
129 | attributes = {
130 | LastUpgradeCheck = 1020;
131 | ORGANIZATIONNAME = "";
132 | TargetAttributes = {
133 | 97C146ED1CF9000F007C117D = {
134 | CreatedOnToolsVersion = 7.3.1;
135 | LastSwiftMigration = 1100;
136 | };
137 | };
138 | };
139 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
140 | compatibilityVersion = "Xcode 9.3";
141 | developmentRegion = en;
142 | hasScannedForEncodings = 0;
143 | knownRegions = (
144 | en,
145 | Base,
146 | );
147 | mainGroup = 97C146E51CF9000F007C117D;
148 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
149 | projectDirPath = "";
150 | projectRoot = "";
151 | targets = (
152 | 97C146ED1CF9000F007C117D /* Runner */,
153 | );
154 | };
155 | /* End PBXProject section */
156 |
157 | /* Begin PBXResourcesBuildPhase section */
158 | 97C146EC1CF9000F007C117D /* Resources */ = {
159 | isa = PBXResourcesBuildPhase;
160 | buildActionMask = 2147483647;
161 | files = (
162 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
163 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
164 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
165 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
166 | );
167 | runOnlyForDeploymentPostprocessing = 0;
168 | };
169 | /* End PBXResourcesBuildPhase section */
170 |
171 | /* Begin PBXShellScriptBuildPhase section */
172 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
173 | isa = PBXShellScriptBuildPhase;
174 | buildActionMask = 2147483647;
175 | files = (
176 | );
177 | inputPaths = (
178 | );
179 | name = "Thin Binary";
180 | outputPaths = (
181 | );
182 | runOnlyForDeploymentPostprocessing = 0;
183 | shellPath = /bin/sh;
184 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
185 | };
186 | 9740EEB61CF901F6004384FC /* Run Script */ = {
187 | isa = PBXShellScriptBuildPhase;
188 | buildActionMask = 2147483647;
189 | files = (
190 | );
191 | inputPaths = (
192 | );
193 | name = "Run Script";
194 | outputPaths = (
195 | );
196 | runOnlyForDeploymentPostprocessing = 0;
197 | shellPath = /bin/sh;
198 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
199 | };
200 | /* End PBXShellScriptBuildPhase section */
201 |
202 | /* Begin PBXSourcesBuildPhase section */
203 | 97C146EA1CF9000F007C117D /* Sources */ = {
204 | isa = PBXSourcesBuildPhase;
205 | buildActionMask = 2147483647;
206 | files = (
207 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
208 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
209 | );
210 | runOnlyForDeploymentPostprocessing = 0;
211 | };
212 | /* End PBXSourcesBuildPhase section */
213 |
214 | /* Begin PBXVariantGroup section */
215 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
216 | isa = PBXVariantGroup;
217 | children = (
218 | 97C146FB1CF9000F007C117D /* Base */,
219 | );
220 | name = Main.storyboard;
221 | sourceTree = "";
222 | };
223 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
224 | isa = PBXVariantGroup;
225 | children = (
226 | 97C147001CF9000F007C117D /* Base */,
227 | );
228 | name = LaunchScreen.storyboard;
229 | sourceTree = "";
230 | };
231 | /* End PBXVariantGroup section */
232 |
233 | /* Begin XCBuildConfiguration section */
234 | 249021D3217E4FDB00AE95B9 /* Profile */ = {
235 | isa = XCBuildConfiguration;
236 | buildSettings = {
237 | ALWAYS_SEARCH_USER_PATHS = NO;
238 | CLANG_ANALYZER_NONNULL = YES;
239 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
240 | CLANG_CXX_LIBRARY = "libc++";
241 | CLANG_ENABLE_MODULES = YES;
242 | CLANG_ENABLE_OBJC_ARC = YES;
243 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
244 | CLANG_WARN_BOOL_CONVERSION = YES;
245 | CLANG_WARN_COMMA = YES;
246 | CLANG_WARN_CONSTANT_CONVERSION = YES;
247 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
248 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
249 | CLANG_WARN_EMPTY_BODY = YES;
250 | CLANG_WARN_ENUM_CONVERSION = YES;
251 | CLANG_WARN_INFINITE_RECURSION = YES;
252 | CLANG_WARN_INT_CONVERSION = YES;
253 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
254 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
255 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
256 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
257 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
258 | CLANG_WARN_STRICT_PROTOTYPES = YES;
259 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
260 | CLANG_WARN_UNREACHABLE_CODE = YES;
261 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
262 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
263 | COPY_PHASE_STRIP = NO;
264 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
265 | ENABLE_NS_ASSERTIONS = NO;
266 | ENABLE_STRICT_OBJC_MSGSEND = YES;
267 | GCC_C_LANGUAGE_STANDARD = gnu99;
268 | GCC_NO_COMMON_BLOCKS = YES;
269 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
270 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
271 | GCC_WARN_UNDECLARED_SELECTOR = YES;
272 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
273 | GCC_WARN_UNUSED_FUNCTION = YES;
274 | GCC_WARN_UNUSED_VARIABLE = YES;
275 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
276 | MTL_ENABLE_DEBUG_INFO = NO;
277 | SDKROOT = iphoneos;
278 | SUPPORTED_PLATFORMS = iphoneos;
279 | TARGETED_DEVICE_FAMILY = "1,2";
280 | VALIDATE_PRODUCT = YES;
281 | };
282 | name = Profile;
283 | };
284 | 249021D4217E4FDB00AE95B9 /* Profile */ = {
285 | isa = XCBuildConfiguration;
286 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
287 | buildSettings = {
288 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
289 | CLANG_ENABLE_MODULES = YES;
290 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
291 | ENABLE_BITCODE = NO;
292 | INFOPLIST_FILE = Runner/Info.plist;
293 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
294 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterUi;
295 | PRODUCT_NAME = "$(TARGET_NAME)";
296 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
297 | SWIFT_VERSION = 5.0;
298 | VERSIONING_SYSTEM = "apple-generic";
299 | };
300 | name = Profile;
301 | };
302 | 97C147031CF9000F007C117D /* Debug */ = {
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;
333 | ENABLE_STRICT_OBJC_MSGSEND = YES;
334 | ENABLE_TESTABILITY = YES;
335 | GCC_C_LANGUAGE_STANDARD = gnu99;
336 | GCC_DYNAMIC_NO_PIC = NO;
337 | GCC_NO_COMMON_BLOCKS = YES;
338 | GCC_OPTIMIZATION_LEVEL = 0;
339 | GCC_PREPROCESSOR_DEFINITIONS = (
340 | "DEBUG=1",
341 | "$(inherited)",
342 | );
343 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
344 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
345 | GCC_WARN_UNDECLARED_SELECTOR = YES;
346 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
347 | GCC_WARN_UNUSED_FUNCTION = YES;
348 | GCC_WARN_UNUSED_VARIABLE = YES;
349 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
350 | MTL_ENABLE_DEBUG_INFO = YES;
351 | ONLY_ACTIVE_ARCH = YES;
352 | SDKROOT = iphoneos;
353 | TARGETED_DEVICE_FAMILY = "1,2";
354 | };
355 | name = Debug;
356 | };
357 | 97C147041CF9000F007C117D /* Release */ = {
358 | isa = XCBuildConfiguration;
359 | buildSettings = {
360 | ALWAYS_SEARCH_USER_PATHS = NO;
361 | CLANG_ANALYZER_NONNULL = YES;
362 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
363 | CLANG_CXX_LIBRARY = "libc++";
364 | CLANG_ENABLE_MODULES = YES;
365 | CLANG_ENABLE_OBJC_ARC = YES;
366 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
367 | CLANG_WARN_BOOL_CONVERSION = YES;
368 | CLANG_WARN_COMMA = YES;
369 | CLANG_WARN_CONSTANT_CONVERSION = YES;
370 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
371 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
372 | CLANG_WARN_EMPTY_BODY = YES;
373 | CLANG_WARN_ENUM_CONVERSION = YES;
374 | CLANG_WARN_INFINITE_RECURSION = YES;
375 | CLANG_WARN_INT_CONVERSION = YES;
376 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
377 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
378 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
379 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
380 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
381 | CLANG_WARN_STRICT_PROTOTYPES = YES;
382 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
383 | CLANG_WARN_UNREACHABLE_CODE = YES;
384 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
385 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
386 | COPY_PHASE_STRIP = NO;
387 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
388 | ENABLE_NS_ASSERTIONS = NO;
389 | ENABLE_STRICT_OBJC_MSGSEND = YES;
390 | GCC_C_LANGUAGE_STANDARD = gnu99;
391 | GCC_NO_COMMON_BLOCKS = YES;
392 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
393 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
394 | GCC_WARN_UNDECLARED_SELECTOR = YES;
395 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
396 | GCC_WARN_UNUSED_FUNCTION = YES;
397 | GCC_WARN_UNUSED_VARIABLE = YES;
398 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
399 | MTL_ENABLE_DEBUG_INFO = NO;
400 | SDKROOT = iphoneos;
401 | SUPPORTED_PLATFORMS = iphoneos;
402 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
403 | TARGETED_DEVICE_FAMILY = "1,2";
404 | VALIDATE_PRODUCT = YES;
405 | };
406 | name = Release;
407 | };
408 | 97C147061CF9000F007C117D /* Debug */ = {
409 | isa = XCBuildConfiguration;
410 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
411 | buildSettings = {
412 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
413 | CLANG_ENABLE_MODULES = YES;
414 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
415 | ENABLE_BITCODE = NO;
416 | INFOPLIST_FILE = Runner/Info.plist;
417 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
418 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterUi;
419 | PRODUCT_NAME = "$(TARGET_NAME)";
420 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
421 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
422 | SWIFT_VERSION = 5.0;
423 | VERSIONING_SYSTEM = "apple-generic";
424 | };
425 | name = Debug;
426 | };
427 | 97C147071CF9000F007C117D /* Release */ = {
428 | isa = XCBuildConfiguration;
429 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
430 | buildSettings = {
431 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
432 | CLANG_ENABLE_MODULES = YES;
433 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
434 | ENABLE_BITCODE = NO;
435 | INFOPLIST_FILE = Runner/Info.plist;
436 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
437 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterUi;
438 | PRODUCT_NAME = "$(TARGET_NAME)";
439 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
440 | SWIFT_VERSION = 5.0;
441 | VERSIONING_SYSTEM = "apple-generic";
442 | };
443 | name = Release;
444 | };
445 | /* End XCBuildConfiguration section */
446 |
447 | /* Begin XCConfigurationList section */
448 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
449 | isa = XCConfigurationList;
450 | buildConfigurations = (
451 | 97C147031CF9000F007C117D /* Debug */,
452 | 97C147041CF9000F007C117D /* Release */,
453 | 249021D3217E4FDB00AE95B9 /* Profile */,
454 | );
455 | defaultConfigurationIsVisible = 0;
456 | defaultConfigurationName = Release;
457 | };
458 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
459 | isa = XCConfigurationList;
460 | buildConfigurations = (
461 | 97C147061CF9000F007C117D /* Debug */,
462 | 97C147071CF9000F007C117D /* Release */,
463 | 249021D4217E4FDB00AE95B9 /* Profile */,
464 | );
465 | defaultConfigurationIsVisible = 0;
466 | defaultConfigurationName = Release;
467 | };
468 | /* End XCConfigurationList section */
469 | };
470 | rootObject = 97C146E61CF9000F007C117D /* Project object */;
471 | }
472 |
--------------------------------------------------------------------------------
/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 |
8 |
--------------------------------------------------------------------------------
/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/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/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/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/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/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/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/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/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/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/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/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/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/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/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/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/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/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/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/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/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/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/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/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/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/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/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/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/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/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/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/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/naveeramesh/flutter_ui/9ab7265078af34e9d832ccfd24794ea8942cabc4/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 | flutter_ui
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/Auth/Signup.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_ui/Auth/data.dart';
3 | import 'package:flutter_ui/Auth/page_view.dart';
4 | import 'package:google_fonts/google_fonts.dart';
5 |
6 | class Signup extends StatefulWidget {
7 | const Signup({Key key}) : super(key: key);
8 |
9 | @override
10 | _SignupState createState() => _SignupState();
11 | }
12 |
13 | class _SignupState extends State {
14 | int _currentpg = 0;
15 | PageController _controller = PageController();
16 | @override
17 | Widget build(BuildContext context) {
18 | return Scaffold(
19 | backgroundColor: Colors.white,
20 | body: Column(
21 | children: [
22 | Padding(
23 | padding: const EdgeInsets.only(top: 50.0, right: 20),
24 | child: Row(
25 | mainAxisAlignment: MainAxisAlignment.end,
26 | children: [
27 | GestureDetector(
28 | onTap: () {},
29 | child: Text(
30 | "Skip",
31 | style: GoogleFonts.josefinSans(
32 | fontSize: 15,
33 | color: Colors.black,
34 | fontWeight: FontWeight.bold),
35 | ))
36 | ],
37 | ),
38 | ),
39 | Expanded(
40 | child: PageView.builder(
41 | controller: _controller,
42 | itemCount: data_list.length,
43 | scrollDirection: Axis.horizontal,
44 | itemBuilder: (context, index) {
45 | return Page_View(
46 | items: data_list[index],
47 | );
48 | },
49 | onPageChanged: (value) => setState(() {
50 | _currentpg = value;
51 | }),
52 | ),
53 | ),
54 | Padding(
55 | padding: const EdgeInsets.only(left: 20.0),
56 | child: Row(
57 | children: [
58 | Container(
59 | child: Text(
60 | "Smart Management",
61 | textAlign: TextAlign.start,
62 | style: GoogleFonts.josefinSans(
63 | fontSize: 25,
64 | color: Colors.black,
65 | fontWeight: FontWeight.bold),
66 | ),
67 | ),
68 | ],
69 | ),
70 | ),
71 | Padding(
72 | padding: const EdgeInsets.only(
73 | left: 20.0,
74 | top: 10,
75 | ),
76 | child: Row(
77 | children: [
78 | Container(
79 | constraints: BoxConstraints(maxWidth: 350),
80 | child: Text(
81 | "Lorem Ipsum is simply dummy text of the printing and typesetting industry.",
82 | style: GoogleFonts.josefinSans(
83 | fontSize: 15,
84 | color: Colors.black,
85 | fontWeight: FontWeight.bold),
86 | ),
87 | )
88 | ],
89 | ),
90 | ),
91 | Padding(
92 | padding: const EdgeInsets.all(30.0),
93 | child: GestureDetector(
94 | onTap: () {},
95 | child: Container(
96 | height: 60,
97 | width: double.infinity,
98 | decoration: BoxDecoration(
99 | color: Colors.blue,
100 | borderRadius: BorderRadius.circular(10)),
101 | child: Center(
102 | child: Text(
103 | "Signin with Google",
104 | style: GoogleFonts.josefinSans(
105 | fontSize: 20,
106 | color: Colors.white,
107 | fontWeight: FontWeight.bold),
108 | )),
109 | ),
110 | ),
111 | ),
112 | ],
113 | ));
114 | }
115 | }
116 |
--------------------------------------------------------------------------------
/lib/Auth/data.dart:
--------------------------------------------------------------------------------
1 | class Items {
2 | final String imageurl;
3 |
4 | Items(this.imageurl);
5 | }
6 |
7 | List data_list = [
8 | Items(
9 | "https://image.freepik.com/free-vector/list-concept-illustration_114360-1320.jpg",
10 | ),
11 | Items(
12 | 'https://image.freepik.com/free-vector/reading-list-concept-illustration_114360-1053.jpg',
13 | ),
14 | Items(
15 | "https://image.freepik.com/free-vector/accept-tasks-concept-illustration_114360-4866.jpg",
16 | ),
17 | ];
18 |
--------------------------------------------------------------------------------
/lib/Auth/login.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:google_fonts/google_fonts.dart';
3 |
4 | void main() => runApp(MaterialApp(
5 | debugShowCheckedModeBanner: false,
6 | home: HomePage(),
7 | ));
8 |
9 | class HomePage extends StatefulWidget {
10 | const HomePage({Key key}) : super(key: key);
11 |
12 | @override
13 | _HomePageState createState() => _HomePageState();
14 | }
15 |
16 | class _HomePageState extends State {
17 | bool _isVisible = false;
18 | bool _isPasswordEightCharacters = false;
19 | bool _hasPasswordOneNumber = false;
20 | bool _hasPasswordOneSplCh = false;
21 | onPasswordChanged(String password) {
22 | final numericRegex = RegExp(r'[0-9]');
23 | final spchar = RegExp(r'[!@#$%^&*(),.?":{}|<>]');
24 | setState(() {
25 | _isPasswordEightCharacters = false;
26 | if (password.length >= 8) _isPasswordEightCharacters = true;
27 |
28 | _hasPasswordOneNumber = false;
29 | if (numericRegex.hasMatch(password)) _hasPasswordOneNumber = true;
30 |
31 | _hasPasswordOneSplCh = false;
32 | if (spchar.hasMatch(password)) _hasPasswordOneSplCh = true;
33 | });
34 | }
35 |
36 | @override
37 | Widget build(BuildContext context) {
38 | return Scaffold(
39 | body: Container(
40 | color: Colors.white,
41 | padding: EdgeInsets.symmetric(horizontal: 20, vertical: 20),
42 | child: Column(
43 | crossAxisAlignment: CrossAxisAlignment.start,
44 | children: [
45 | SizedBox(
46 | height: 40,
47 | ),
48 | Text(
49 | 'Flutter UI',
50 | style: GoogleFonts.ubuntu(
51 | fontSize: 20,
52 | color: Colors.black,
53 | fontWeight: FontWeight.bold),
54 | ),
55 | SizedBox(
56 | height: 10,
57 | ),
58 | Text(
59 | "Animation for password validation",
60 | style: GoogleFonts.ubuntu(
61 | fontSize: 18,
62 | color: Colors.black,
63 | fontWeight: FontWeight.normal),
64 | ),
65 | SizedBox(
66 | height: 30,
67 | ),
68 | TextField(
69 | decoration: InputDecoration(
70 | hintText: "Email",
71 | hintStyle: GoogleFonts.ubuntu(),
72 | border: OutlineInputBorder(
73 | borderRadius: BorderRadius.circular(10),
74 | borderSide: BorderSide(color: Colors.black)),
75 | focusedBorder: OutlineInputBorder(
76 | borderRadius: BorderRadius.circular(10),
77 | borderSide: BorderSide(color: Colors.black)),
78 | contentPadding:
79 | EdgeInsets.symmetric(horizontal: 20, vertical: 20),
80 | ),
81 | ),
82 | SizedBox(
83 | height: 20,
84 | ),
85 | TextField(
86 | onChanged: (password) => onPasswordChanged(password),
87 | obscureText: !_isVisible,
88 | decoration: InputDecoration(
89 | suffixIcon: IconButton(
90 | onPressed: () {
91 | setState(() {
92 | _isVisible = !_isVisible;
93 | });
94 | },
95 | icon: _isVisible
96 | ? Icon(
97 | Icons.visibility,
98 | color: Colors.black,
99 | )
100 | : Icon(
101 | Icons.visibility_off,
102 | color: Colors.grey,
103 | ),
104 | ),
105 | border: OutlineInputBorder(
106 | borderRadius: BorderRadius.circular(10),
107 | borderSide: BorderSide(color: Colors.black)),
108 | focusedBorder: OutlineInputBorder(
109 | borderRadius: BorderRadius.circular(10),
110 | borderSide: BorderSide(color: Colors.black)),
111 | hintText: "Password",
112 | helperStyle: GoogleFonts.ubuntu(),
113 | contentPadding:
114 | EdgeInsets.symmetric(horizontal: 20, vertical: 20),
115 | ),
116 | ),
117 | SizedBox(
118 | height: 30,
119 | ),
120 | Row(
121 | children: [
122 | AnimatedContainer(
123 | duration: Duration(milliseconds: 500),
124 | width: 20,
125 | height: 20,
126 | decoration: BoxDecoration(
127 | color: _isPasswordEightCharacters
128 | ? Colors.red
129 | : Colors.transparent,
130 | border: _isPasswordEightCharacters
131 | ? Border.all(color: Colors.transparent)
132 | : Border.all(color: Colors.transparent),
133 | borderRadius: BorderRadius.circular(50)),
134 | child: Center(
135 | child: Icon(
136 | Icons.verified,
137 | color: Colors.white,
138 | size: 15,
139 | ),
140 | ),
141 | ),
142 | SizedBox(
143 | width: 10,
144 | ),
145 | Text("Password have 8 characters",
146 | style: GoogleFonts.ubuntu(
147 | color: _isPasswordEightCharacters
148 | ? Colors.black
149 | : Colors.transparent))
150 | ],
151 | ),
152 | SizedBox(
153 | height: 10,
154 | ),
155 | Row(
156 | children: [
157 | AnimatedContainer(
158 | duration: Duration(milliseconds: 500),
159 | width: 20,
160 | height: 20,
161 | decoration: BoxDecoration(
162 | color: _hasPasswordOneNumber
163 | ? Colors.red
164 | : Colors.transparent,
165 | border: _hasPasswordOneNumber
166 | ? Border.all(color: Colors.transparent)
167 | : Border.all(color: Colors.transparent),
168 | borderRadius: BorderRadius.circular(50)),
169 | child: Center(
170 | child: Icon(
171 | Icons.verified,
172 | color: Colors.white,
173 | size: 15,
174 | ),
175 | ),
176 | ),
177 | SizedBox(
178 | width: 10,
179 | ),
180 | Text(
181 | "Password atleast have 1 number",
182 | style: GoogleFonts.ubuntu(
183 | color: _hasPasswordOneNumber
184 | ? Colors.black
185 | : Colors.transparent),
186 | )
187 | ],
188 | ),
189 | SizedBox(
190 | height: 10,
191 | ),
192 | Row(
193 | children: [
194 | AnimatedContainer(
195 | duration: Duration(milliseconds: 500),
196 | width: 20,
197 | height: 20,
198 | decoration: BoxDecoration(
199 | color: _hasPasswordOneSplCh
200 | ? Colors.red
201 | : Colors.transparent,
202 | border: _hasPasswordOneSplCh
203 | ? Border.all(color: Colors.transparent)
204 | : Border.all(color: Colors.transparent),
205 | borderRadius: BorderRadius.circular(50)),
206 | child: Center(
207 | child: Icon(
208 | Icons.verified,
209 | color: Colors.white,
210 | size: 15,
211 | ),
212 | ),
213 | ),
214 | SizedBox(
215 | width: 10,
216 | ),
217 | Text(
218 | "Password atleast have 1 special character",
219 | style: GoogleFonts.ubuntu(
220 | color: _hasPasswordOneSplCh
221 | ? Colors.black
222 | : Colors.transparent),
223 | )
224 | ],
225 | ),
226 | Spacer(),
227 | MaterialButton(
228 | height: 60,
229 | onPressed: () {},
230 | color: Colors.green,
231 | child: Center(
232 | child: Text(
233 | 'Signin',
234 | style: GoogleFonts.ubuntu(
235 | fontSize: 20,
236 | color: Colors.white,
237 | fontWeight: FontWeight.bold),
238 | ),
239 | ),
240 | shape: RoundedRectangleBorder(
241 | borderRadius: BorderRadius.circular(10)),
242 | )
243 | ],
244 | ),
245 | ),
246 | );
247 | }
248 | }
249 |
--------------------------------------------------------------------------------
/lib/Auth/page_view.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import 'data.dart';
4 |
5 | class Page_View extends StatefulWidget {
6 | final Items items;
7 |
8 | const Page_View({
9 | Key key,
10 | this.items,
11 | }) : super(key: key);
12 |
13 | @override
14 | _Page_ViewState createState() => _Page_ViewState();
15 | }
16 |
17 | class _Page_ViewState extends State {
18 | @override
19 | Widget build(BuildContext context) {
20 | return Column(crossAxisAlignment: CrossAxisAlignment.center, children: [
21 | SizedBox(
22 | height: MediaQuery.of(context).size.height / 10,
23 | ),
24 | Container(
25 | height: MediaQuery.of(context).size.height / 2,
26 | child: Image.network(widget.items.imageurl)),
27 | SizedBox(
28 | height: 30,
29 | ),
30 | ]);
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/lib/Cart/item_values.dart:
--------------------------------------------------------------------------------
1 | import 'items.dart';
2 |
3 | List item_list = [
4 | Items(
5 | 'Shampoo',
6 | "https://media.istockphoto.com/photos/baby-oil-or-shampoo-bottle-isolated-on-white-background-picture-id1138138993?k=20&m=1138138993&s=612x612&w=0&h=rPSiQ-E2YWDIqhQ6PXAbhvzUqGn_vds5kHQRMAFDYT4=",
7 | "250",
8 | "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.",
9 | "1"),
10 | Items(
11 | 'Flowers',
12 | "https://www.ikea.com/in/en/images/products/pepprig-spray-bottle__0993583_pe820618_s5.jpg?f=s",
13 | "50",
14 | "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.",
15 | "1"),
16 | Items(
17 | 'Chcolates',
18 | "https://m.media-amazon.com/images/I/81EAqP0D0+L._SY550_.jpg",
19 | "500",
20 | "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.",
21 | "2"),
22 | Items(
23 | 'Detergent',
24 | "https://www.ifbappliances.com/media/catalog/product/f/l/fluff_fl-min.jpg",
25 | "150",
26 | "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.",
27 | "4"),
28 | Items(
29 | 'Bannana',
30 | "https://static9.depositphotos.com/1642482/1149/i/600/depositphotos_11490427-stock-photo-three-bananas.jpg",
31 | "50",
32 | "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.",
33 | "10"),
34 | Items(
35 | 'Shampoo',
36 | "https://media.istockphoto.com/photos/baby-oil-or-shampoo-bottle-isolated-on-white-background-picture-id1138138993?k=20&m=1138138993&s=612x612&w=0&h=rPSiQ-E2YWDIqhQ6PXAbhvzUqGn_vds5kHQRMAFDYT4=",
37 | "250",
38 | "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.",
39 | "1"),
40 | Items(
41 | 'Flowers',
42 | "https://www.ikea.com/in/en/images/products/pepprig-spray-bottle__0993583_pe820618_s5.jpg?f=s",
43 | "50",
44 | "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.",
45 | "1"),
46 | Items(
47 | 'Chcolates',
48 | "https://m.media-amazon.com/images/I/81EAqP0D0+L._SY550_.jpg",
49 | "500",
50 | "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.",
51 | "2"),
52 | Items(
53 | 'Detergent',
54 | "https://www.ifbappliances.com/media/catalog/product/f/l/fluff_fl-min.jpg",
55 | "150",
56 | "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.",
57 | "4"),
58 | Items(
59 | 'Bannana',
60 | "https://static9.depositphotos.com/1642482/1149/i/600/depositphotos_11490427-stock-photo-three-bananas.jpg",
61 | "50",
62 | "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.",
63 | "10"),
64 | ];
65 |
--------------------------------------------------------------------------------
/lib/Cart/items.dart:
--------------------------------------------------------------------------------
1 | class Items {
2 | final String name;
3 | final String image;
4 | final String price;
5 | final String description;
6 | final String quantity;
7 |
8 | Items(this.name, this.image, this.price, this.description,this.quantity);
9 | }
10 |
--------------------------------------------------------------------------------
/lib/Cart/list_tile.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_ui/swipecard.dart';
3 | import 'package:google_fonts/google_fonts.dart';
4 | import 'items.dart';
5 |
6 | class ListTile_View extends StatefulWidget {
7 | final Items items;
8 | const ListTile_View({Key key, this.items}) : super(key: key);
9 |
10 | @override
11 | _ListTile_ViewState createState() => _ListTile_ViewState();
12 | }
13 |
14 | class _ListTile_ViewState extends State {
15 | @override
16 | Widget build(BuildContext context) {
17 | return GestureDetector(
18 | child: Padding(
19 | padding: const EdgeInsets.all(8.0),
20 | child: Container(
21 | decoration: BoxDecoration(
22 | color: Colors.grey[400], borderRadius: BorderRadius.circular(20)),
23 | height: 100,
24 | width: double.infinity,
25 | child: Row(
26 | children: [
27 | Padding(
28 | padding: const EdgeInsets.all(10.0),
29 | child: Container(
30 | height: 100,
31 | width: 90,
32 | decoration: BoxDecoration(
33 | color: Colors.grey,
34 | borderRadius: BorderRadius.circular(10),
35 | image: DecorationImage(
36 | image: NetworkImage(widget.items.image),
37 | fit: BoxFit.cover),
38 | ),
39 | )),
40 | Column(
41 | mainAxisAlignment: MainAxisAlignment.center,
42 | children: [
43 | Text(
44 | '${widget.items.name}',
45 | style: GoogleFonts.ubuntu(fontWeight: FontWeight.bold),
46 | ),
47 | SizedBox(height: 5),
48 | Text(
49 | '₹ ${widget.items.price}',
50 | style: GoogleFonts.ubuntu(fontWeight: FontWeight.normal),
51 | ),
52 | ],
53 | ),
54 | Spacer(),
55 | Column(
56 | children: [
57 | Padding(
58 | padding: const EdgeInsets.all(8.0),
59 | child: Icon(
60 | Icons.delete,
61 | color: Colors.orange[800],
62 | ),
63 | ),
64 | Padding(
65 | padding: const EdgeInsets.only(right: 20.0),
66 | child: Text(
67 | 'Q: ${widget.items.quantity}',
68 | style: GoogleFonts.ubuntu(fontWeight: FontWeight.normal),
69 | ),
70 | ),
71 | ],
72 | ),
73 | ],
74 | ),
75 | ),
76 | ),
77 | );
78 | }
79 | }
80 |
--------------------------------------------------------------------------------
/lib/Cart/list_view.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import 'package:flutter_ui/Cart/item_values.dart';
4 | import 'package:flutter_ui/Cart/list_tile.dart';
5 | import 'package:google_fonts/google_fonts.dart';
6 |
7 | class ListViews extends StatefulWidget {
8 | const ListViews({Key key}) : super(key: key);
9 |
10 | @override
11 | _ListViewsState createState() => _ListViewsState();
12 | }
13 |
14 | class _ListViewsState extends State {
15 | @override
16 | Widget build(BuildContext context) {
17 | return Scaffold(
18 | appBar: AppBar(
19 | backgroundColor: Colors.white,
20 | elevation: 0,
21 | title: Row(
22 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
23 | children: [
24 | Text(
25 | "Cart",
26 | style: GoogleFonts.ubuntu(color: Colors.black, fontSize: 25),
27 | ),
28 | Stack(
29 | children: [
30 | Padding(
31 | padding: const EdgeInsets.only(right: 10.0),
32 | child: Icon(
33 | Icons.shopping_bag,
34 | size: 28,
35 | color: Colors.grey,
36 | ),
37 | ),
38 | Positioned(
39 | top: 0,
40 | left: 13,
41 | child: CircleAvatar(
42 | radius: 7,
43 | backgroundColor: Colors.orange[800],
44 | child: Text(
45 | "4",
46 | style: TextStyle(
47 | color: Colors.white,
48 | fontSize: 10,
49 | fontWeight: FontWeight.bold),
50 | ),
51 | ))
52 | ],
53 | )
54 | ],
55 | ),
56 | ),
57 | body: Column(
58 | children: [
59 | Container(
60 | height: MediaQuery.of(context).size.height / 1.60,
61 | child: ListView.builder(
62 | itemCount: item_list.length,
63 | itemBuilder: (context, index) {
64 | return ListTile_View(
65 | items: item_list[index],
66 | );
67 | }),
68 | ),
69 | Expanded(
70 | child: Padding(
71 | padding: const EdgeInsets.only(
72 | left: 20.0, right: 20, top: 20, bottom: 20),
73 | child: Container(
74 | decoration: BoxDecoration(
75 | color: Colors.orange[800],
76 | borderRadius: BorderRadius.circular(10)),
77 | child: Column(
78 | children: [
79 | Padding(
80 | padding: const EdgeInsets.all(8.0),
81 | child: Row(
82 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
83 | children: [
84 | Text("Sub Total : ",
85 | style: GoogleFonts.ubuntu(color: Colors.white)),
86 | Text(" ₹ 1000",
87 | style: GoogleFonts.ubuntu(color: Colors.white)),
88 | ],
89 | ),
90 | ),
91 | Padding(
92 | padding: const EdgeInsets.all(8.0),
93 | child: Row(
94 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
95 | children: [
96 | Text("Taxes : ",
97 | style: GoogleFonts.ubuntu(color: Colors.white)),
98 | Text(" ₹ 100",
99 | style: GoogleFonts.ubuntu(color: Colors.white)),
100 | ],
101 | ),
102 | ),
103 | Padding(
104 | padding: const EdgeInsets.all(8.0),
105 | child: Row(
106 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
107 | children: [
108 | Text("Total : ",
109 | style: GoogleFonts.ubuntu(color: Colors.white)),
110 | Text(" ₹ 1100",
111 | style: GoogleFonts.ubuntu(color: Colors.white)),
112 | ],
113 | ),
114 | ),
115 | Spacer(),
116 | Center(
117 | child: Container(
118 | height: 40,
119 | width: 200,
120 | decoration: BoxDecoration(
121 | borderRadius: BorderRadius.circular(10),
122 | color: Colors.white),
123 | child: Center(
124 | child: Text(" Check out",
125 | style: GoogleFonts.ubuntu(
126 | color: Colors.black,
127 | fontWeight: FontWeight.bold)),
128 | ),
129 | ),
130 | ),
131 | SizedBox(
132 | height: 10,
133 | ),
134 | ],
135 | ),
136 | ),
137 | ))
138 | ],
139 | ));
140 | }
141 | }
142 |
--------------------------------------------------------------------------------
/lib/Onboarding/data.dart:
--------------------------------------------------------------------------------
1 | class Items {
2 | final String title;
3 | final String description;
4 | final String imageurl;
5 |
6 | Items(this.description, this.imageurl, this.title);
7 | }
8 |
9 | List data_list = [
10 | Items(
11 | "Lorem Ipsum is simply dummy text of the printing and typesetting industry.",
12 | "assets/images/1.png",
13 | "Free student space camp"),
14 | Items(
15 | "Lorem Ipsum is simply dummy text of the printing and typesetting industry.",
16 | 'assets/images/2.png',
17 | "Astronaut kit"),
18 | Items(
19 | "Lorem Ipsum is simply dummy text of the printing and typesetting industry.",
20 | "assets/images/3.png",
21 | "Training for students "),
22 | ];
23 |
--------------------------------------------------------------------------------
/lib/Onboarding/on_boardong.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_ui/Onboarding/data.dart';
3 | import 'package:flutter_ui/Onboarding/view.dart';
4 |
5 | class Onboarding extends StatefulWidget {
6 | const Onboarding({Key key}) : super(key: key);
7 |
8 | @override
9 | _OnboardingState createState() => _OnboardingState();
10 | }
11 |
12 | class _OnboardingState extends State {
13 | PageController _controller = PageController();
14 | int _currentpg = 0;
15 | AnimatedContainer _buildDots({int index}) {
16 | return AnimatedContainer(
17 | duration: const Duration(milliseconds: 200),
18 | decoration: BoxDecoration(
19 | borderRadius: BorderRadius.all(
20 | Radius.circular(50),
21 | ),
22 | color: _currentpg == index ? Colors.blue[800] : Colors.grey,
23 | ),
24 | margin: const EdgeInsets.only(right: 5),
25 | height: 10,
26 | curve: Curves.easeIn,
27 | width: _currentpg == index ? 20 : 10,
28 | );
29 | }
30 |
31 | @override
32 | Widget build(BuildContext context) {
33 | return Scaffold(
34 | backgroundColor: Colors.white,
35 | body: Column(
36 | children: [
37 | Padding(
38 | padding: const EdgeInsets.only(top: 40.0, right: 20),
39 | child: Row(
40 | mainAxisAlignment: MainAxisAlignment.end,
41 | children: [
42 | GestureDetector(
43 | onTap: () {},
44 | child: Text(
45 | "Skip",
46 | ))
47 | ],
48 | ),
49 | ),
50 | Expanded(
51 | child: PageView.builder(
52 | controller: _controller,
53 | itemCount: data_list.length,
54 | scrollDirection: Axis.horizontal,
55 | itemBuilder: (context, index) {
56 | return Page_View(
57 | items: data_list[index],
58 | );
59 | },
60 | onPageChanged: (value) => setState(() {
61 | _currentpg = value;
62 | }),
63 | ),
64 | ),
65 | _currentpg != 2
66 | ? Container(
67 | height: 60,
68 | width: double.infinity,
69 | child: Padding(
70 | padding: EdgeInsets.only(top: 20),
71 | child: Row(
72 | mainAxisAlignment: MainAxisAlignment.center,
73 | children: List.generate(data_list.length,
74 | (int index) => _buildDots(index: index)),
75 | )),
76 | )
77 | : Padding(
78 | padding: const EdgeInsets.all(20.0),
79 | child: Container(
80 | height: 60,
81 | decoration: BoxDecoration(
82 | borderRadius: BorderRadius.circular(10),
83 | color: Colors.blue[800],
84 | ),
85 | child: Center(
86 | child: Text(
87 | "Get Started",
88 | style: TextStyle(
89 | color: Colors.white,
90 | fontSize: 18,
91 | fontWeight: FontWeight.bold),
92 | )),
93 | ),
94 | ),
95 | SizedBox(
96 | height: 20,
97 | ),
98 | ],
99 | ));
100 | }
101 | }
102 |
--------------------------------------------------------------------------------
/lib/Onboarding/view.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import 'data.dart';
4 |
5 | class Page_View extends StatefulWidget {
6 | final Items items;
7 |
8 | const Page_View({
9 | Key key,
10 | this.items,
11 | }) : super(key: key);
12 |
13 | @override
14 | _Page_ViewState createState() => _Page_ViewState();
15 | }
16 |
17 | class _Page_ViewState extends State {
18 | @override
19 | Widget build(BuildContext context) {
20 | return Column(crossAxisAlignment: CrossAxisAlignment.center, children: [
21 | SizedBox(
22 | height: MediaQuery.of(context).size.height / 10,
23 | ),
24 | Container(
25 | height: MediaQuery.of(context).size.height / 2,
26 | child: Image.asset(widget.items.imageurl)),
27 | SizedBox(
28 | height: 30,
29 | ),
30 | Padding(
31 | padding: EdgeInsets.only(bottom: 10),
32 | child: Container(
33 | child: Text(
34 | "${widget.items.title}",
35 | textAlign: TextAlign.center,
36 | style: TextStyle(
37 | color: Colors.black, fontSize: 20, fontWeight: FontWeight.bold),
38 | ))),
39 | Padding(
40 | padding: EdgeInsets.only(top: 10),
41 | child: Container(
42 | child: Center(
43 | child: Padding(
44 | padding: const EdgeInsets.all(8.0),
45 | child: Text(
46 | "${widget.items.description}",
47 | textAlign: TextAlign.center,
48 | style: TextStyle(
49 | color: Colors.black,
50 | fontSize: 15,
51 | fontWeight: FontWeight.normal),
52 | ),
53 | )),
54 | )),
55 | ]);
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/lib/Theme/custombottombar.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter/scheduler.dart';
3 |
4 | class CustomBottomBar extends StatefulWidget {
5 | final bool dark;
6 | const CustomBottomBar({Key key, this.dark}) : super(key: key);
7 |
8 | @override
9 | _CustomBottomBarState createState() => _CustomBottomBarState();
10 | }
11 |
12 | class _CustomBottomBarState extends State {
13 | @override
14 | Widget build(BuildContext context) {
15 | return Padding(
16 | padding: const EdgeInsets.only(left: 20.0, right: 20, bottom: 10),
17 | child: Container(
18 | width: double.infinity,
19 | height: 60,
20 | decoration: BoxDecoration(
21 | color: Colors.grey, borderRadius: BorderRadius.circular(20)),
22 | child: Row(
23 | mainAxisAlignment: MainAxisAlignment.spaceEvenly,
24 | children: [
25 | Icon(
26 | Icons.home,
27 | color: widget.dark ? Colors.white : Colors.black,
28 | ),
29 | Icon(
30 | Icons.widgets,
31 | color: widget.dark ? Colors.white : Colors.black,
32 | ),
33 | Icon(
34 | Icons.search,
35 | color: widget.dark ? Colors.white : Colors.black,
36 | ),
37 | Icon(
38 | Icons.person,
39 | color: widget.dark ? Colors.white : Colors.black,
40 | )
41 | ],
42 | ),
43 | ),
44 | );
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/lib/Theme/home.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter/scheduler.dart';
3 | import 'package:flutter_ui/Theme/custombottombar.dart';
4 |
5 | class Home extends StatefulWidget {
6 | const Home({Key key}) : super(key: key);
7 |
8 | @override
9 | _HomeState createState() => _HomeState();
10 | }
11 |
12 | class _HomeState extends State {
13 | bool dark = false;
14 | @override
15 | void initState() {
16 | var brightness = SchedulerBinding.instance.window.platformBrightness;
17 | bool darkModeOn = brightness == Brightness.dark;
18 | setState(() {
19 | dark = darkModeOn;
20 | });
21 | // TODO: implement initState
22 | super.initState();
23 | }
24 |
25 | @override
26 | Widget build(BuildContext context) {
27 | return Scaffold(
28 | backgroundColor: dark ? Colors.black : Colors.white,
29 | appBar: AppBar(
30 | title: Text(
31 | "Theme Settings",
32 | style: TextStyle(color: dark ? Colors.white : Colors.black),
33 | ),
34 | backgroundColor: dark ? Colors.transparent : Colors.white,
35 | elevation: 0,
36 | actions: [
37 | Switch(
38 | activeColor: dark ? Colors.red : Colors.green,
39 | value: dark,
40 | onChanged: (state) {
41 | setState(() {
42 | dark = state;
43 | });
44 | })
45 | ],
46 | ),
47 | body: Column(
48 | mainAxisAlignment: MainAxisAlignment.end,
49 | children: [
50 | CustomBottomBar(
51 | dark: dark,
52 | )
53 | ],
54 | ),
55 | );
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/lib/assistant.dart:
--------------------------------------------------------------------------------
1 | import 'dart:ui';
2 |
3 | import 'package:avatar_glow/avatar_glow.dart';
4 | import 'package:flutter/material.dart';
5 | import 'package:google_fonts/google_fonts.dart';
6 |
7 | class Assistant extends StatefulWidget {
8 | const Assistant({Key key}) : super(key: key);
9 |
10 | @override
11 | _AssistantState createState() => _AssistantState();
12 | }
13 |
14 | class _AssistantState extends State {
15 | @override
16 | Widget build(BuildContext context) {
17 | return Scaffold(
18 | floatingActionButtonLocation:
19 | FloatingActionButtonLocation.miniCenterDocked,
20 | floatingActionButton: AvatarGlow(
21 | glowColor: Colors.green,
22 | endRadius: 75.0,
23 | duration: const Duration(milliseconds: 2000),
24 | repeatPauseDuration: const Duration(milliseconds: 100),
25 | repeat: true,
26 | child: FloatingActionButton(
27 | backgroundColor: Colors.white,
28 | child: Icon(
29 | Icons.touch_app,
30 | color: Colors.purple,
31 | ),
32 | onPressed: () {
33 | showModalBottomSheet(
34 | context: context,
35 | shape: RoundedRectangleBorder(
36 | borderRadius:
37 | BorderRadius.vertical(top: Radius.circular(25.0)),
38 | ),
39 | builder: (context) => Container(
40 | height: 250,
41 | child: new Container(
42 | decoration: new BoxDecoration(
43 | color: Colors.white,
44 | borderRadius: new BorderRadius.only(
45 | topLeft: const Radius.circular(20.0),
46 | topRight: const Radius.circular(20.0))),
47 | child: new Center(
48 | child: Column(
49 | children: [
50 | SizedBox(
51 | height: 30,
52 | ),
53 | Image.network(
54 | 'https://storage.googleapis.com/gweb-uniblog-publish-prod/images/GoogleAssistant_logo.max-1300x1300.jpg',
55 | height: 100,
56 | ),
57 | Text('Try saying something',
58 | style: GoogleFonts.ubuntu(
59 | fontWeight: FontWeight.w600)),
60 | SizedBox(
61 | height: 20,
62 | ),
63 | Text("'Follow Flutter Ui repository'",
64 | style: GoogleFonts.ubuntu(
65 | fontWeight: FontWeight.bold,
66 | fontSize: 23,
67 | color: Colors.green)),
68 | Spacer(),
69 | LinearProgressIndicator(
70 | backgroundColor: Colors.red,
71 | ),
72 | ],
73 | ),
74 | )),
75 | ));
76 | },
77 | ),
78 | ),
79 | body: Container(color: Colors.yellow));
80 | }
81 | }
82 |
--------------------------------------------------------------------------------
/lib/bulb.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class Bulb extends StatefulWidget {
4 | const Bulb({Key key}) : super(key: key);
5 |
6 | @override
7 | _BulbState createState() => _BulbState();
8 | }
9 |
10 | class _BulbState extends State {
11 | bool bulb_on = false;
12 | @override
13 | Widget build(BuildContext context) {
14 | return Scaffold(
15 | backgroundColor: bulb_on ? Colors.yellow : Colors.white,
16 | body: GestureDetector(
17 | onTap: () {
18 | setState(() {
19 | bulb_on = !bulb_on;
20 | });
21 | },
22 | child: Container(
23 | height: MediaQuery.of(context).size.height,
24 | child: bulb_on
25 | ? Image.asset('assets/images/bulb_on.png')
26 | : Image.asset('assets/images/bulb_off.jpg'),
27 | ),
28 | ),
29 | );
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/lib/chat/UserChat.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_ui/chat/details.dart';
3 | import 'package:flutter_ui/chat/userdata_chat.dart';
4 | import 'package:google_fonts/google_fonts.dart';
5 |
6 | class UserChat extends StatefulWidget {
7 | const UserChat({Key key}) : super(key: key);
8 |
9 | @override
10 | _UserChatState createState() => _UserChatState();
11 | }
12 |
13 | class _UserChatState extends State {
14 | @override
15 | Widget build(BuildContext context) {
16 | return Scaffold(
17 | appBar: AppBar(
18 | elevation: 0,
19 | backgroundColor: Colors.transparent,
20 | title: Row(
21 | children: [
22 | Icon(
23 | Icons.arrow_back_ios_new_outlined,
24 | color: Colors.purple,
25 | size: 18,
26 | ),
27 | SizedBox(width: 10),
28 | Text(
29 | "Chat",
30 | style: (GoogleFonts.ubuntu(
31 | color: Colors.purple, fontWeight: FontWeight.bold)),
32 | )
33 | ],
34 | ),
35 | ),
36 | body: Column(
37 | children: [
38 | Padding(
39 | padding: const EdgeInsets.only(left: 25.0),
40 | child: Row(
41 | children: [
42 | Text(
43 | "Recently Chatted",
44 | style: GoogleFonts.ubuntu(
45 | color: Colors.grey, fontWeight: FontWeight.bold),
46 | ),
47 | ],
48 | ),
49 | ),
50 | Padding(
51 | padding: const EdgeInsets.only(top: 10, left: 20, right: 40),
52 | child: Row(
53 | mainAxisAlignment: MainAxisAlignment.spaceEvenly,
54 | children: [
55 | Column(
56 | children: [
57 | CircleAvatar(
58 | radius: 20,
59 | backgroundImage: AssetImage('assets/images/model1.jpeg'),
60 | ),
61 | SizedBox(
62 | height: 10,
63 | ),
64 | Text(
65 | "Noha Chavula",
66 | style: GoogleFonts.ubuntu(
67 | color: Colors.grey,
68 | fontWeight: FontWeight.bold,
69 | fontSize: 12),
70 | ),
71 | ],
72 | ),
73 | Column(
74 | children: [
75 | CircleAvatar(
76 | radius: 20,
77 | backgroundImage: AssetImage('assets/images/model2.jpeg'),
78 | ),
79 | SizedBox(
80 | height: 10,
81 | ),
82 | Text(
83 | "Mat Mathew",
84 | style: GoogleFonts.ubuntu(
85 | color: Colors.grey,
86 | fontWeight: FontWeight.bold,
87 | fontSize: 12),
88 | ),
89 | ],
90 | ),
91 | Column(
92 | children: [
93 | CircleAvatar(
94 | radius: 20,
95 | backgroundImage: AssetImage('assets/images/model3.jpeg'),
96 | ),
97 | SizedBox(
98 | height: 10,
99 | ),
100 | Text(
101 | "Sicca hectae",
102 | style: GoogleFonts.ubuntu(
103 | color: Colors.grey,
104 | fontWeight: FontWeight.bold,
105 | fontSize: 12),
106 | ),
107 | ],
108 | ),
109 | Column(
110 | children: [
111 | CircleAvatar(
112 | radius: 20,
113 | backgroundImage: AssetImage('assets/images/model4.jpeg'),
114 | ),
115 | SizedBox(
116 | height: 10,
117 | ),
118 | Text(
119 | "Wander ",
120 | style: GoogleFonts.ubuntu(
121 | color: Colors.grey,
122 | fontWeight: FontWeight.bold,
123 | fontSize: 12),
124 | ),
125 | ],
126 | ),
127 | ],
128 | ),
129 | ),
130 | Padding(
131 | padding: const EdgeInsets.only(left: 20.0, top: 20),
132 | child: Row(
133 | children: [
134 | Text(
135 | "Messages",
136 | style: GoogleFonts.ubuntu(
137 | color: Colors.purple,
138 | fontWeight: FontWeight.bold,
139 | fontSize: 18),
140 | ),
141 | ],
142 | ),
143 | ),
144 | SizedBox(
145 | height: 10,
146 | ),
147 | Expanded(
148 | child: Container(
149 | child: ListView.builder(
150 | itemCount: chat_details.length,
151 | itemBuilder: (context, index) {
152 | return Container(
153 | child: Details(
154 | chat: chat_details[index],
155 | ),
156 | );
157 | },
158 | ),
159 | ),
160 | )
161 | ],
162 | ),
163 | );
164 | }
165 | }
166 |
--------------------------------------------------------------------------------
/lib/chat/detail_chat.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_ui/chat/userinfo.dart';
3 | import 'package:google_fonts/google_fonts.dart';
4 |
5 | class DetailChat extends StatefulWidget {
6 | final User chat;
7 | const DetailChat({Key key, this.chat}) : super(key: key);
8 |
9 | @override
10 | _DetailChatState createState() => _DetailChatState();
11 | }
12 |
13 | class _DetailChatState extends State {
14 | @override
15 | Widget build(BuildContext context) {
16 | return Scaffold(
17 | appBar: AppBar(
18 | elevation: 0,
19 | backgroundColor: Colors.white,
20 | title: Row(
21 | children: [
22 | Icon(
23 | Icons.arrow_back_ios_new_outlined,
24 | color: Colors.purple,
25 | size: 20,
26 | ),
27 | SizedBox(
28 | width: 10,
29 | ),
30 | CircleAvatar(
31 | radius: 20,
32 | backgroundImage: AssetImage("assets/images/model1.jpeg"),
33 | ),
34 | SizedBox(
35 | width: 10,
36 | ),
37 | Text(
38 | "Mat Mathew",
39 | style: GoogleFonts.nunito(
40 | color: Colors.purple, fontWeight: FontWeight.normal),
41 | ),
42 | ],
43 | ),
44 | ),
45 | body: Container(
46 | height: MediaQuery.of(context).size.height,
47 | child: Column(
48 | children: [
49 | Container(
50 | child: Padding(
51 | padding: const EdgeInsets.all(20.0),
52 | child: Row(
53 | children: [
54 | CircleAvatar(
55 | radius: 20,
56 | backgroundImage: AssetImage("assets/images/model1.jpeg"),
57 | ),
58 | SizedBox(
59 | width: 10,
60 | ),
61 | Container(
62 | height: 60,
63 | width: 200,
64 | decoration: BoxDecoration(
65 | borderRadius: BorderRadius.circular(10),
66 | color: Colors.grey[200]),
67 | child: Center(
68 | child: Text(
69 | "Hi,this is Mathew.",
70 | style: GoogleFonts.ubuntu(),
71 | ),
72 | ),
73 | )
74 | ],
75 | ),
76 | ),
77 | ),
78 | Container(
79 | child: Padding(
80 | padding: const EdgeInsets.all(20.0),
81 | child: Row(
82 | mainAxisAlignment: MainAxisAlignment.end,
83 | children: [
84 | CircleAvatar(
85 | radius: 20,
86 | backgroundImage: AssetImage("assets/images/model2.jpeg"),
87 | ),
88 | SizedBox(
89 | width: 10,
90 | ),
91 | Container(
92 | height: 60,
93 | width: 200,
94 | decoration: BoxDecoration(
95 | borderRadius: BorderRadius.circular(10),
96 | color: Colors.purple[200]),
97 | child: Center(
98 | child: Container(
99 | constraints: BoxConstraints(maxWidth: 100),
100 | child: Text(
101 | "Hello,Glad to speak with you.",
102 | style: GoogleFonts.ubuntu(color: Colors.white),
103 | ),
104 | ),
105 | ),
106 | )
107 | ],
108 | ),
109 | ),
110 | ),
111 | Container(
112 | child: Padding(
113 | padding: const EdgeInsets.all(20.0),
114 | child: Row(
115 | children: [
116 | CircleAvatar(
117 | radius: 20,
118 | backgroundImage: AssetImage("assets/images/model1.jpeg"),
119 | ),
120 | SizedBox(
121 | width: 10,
122 | ),
123 | Container(
124 | height: 60,
125 | width: 200,
126 | decoration: BoxDecoration(
127 | borderRadius: BorderRadius.circular(10),
128 | color: Colors.grey[200]),
129 | child: Center(
130 | child: Container(
131 | constraints: BoxConstraints(maxWidth: 120),
132 | child: Text(
133 | "Hope all is good, How's your career?",
134 | style: GoogleFonts.ubuntu(),
135 | ),
136 | ),
137 | ),
138 | ),
139 | ],
140 | ),
141 | ),
142 | ),
143 | Container(
144 | child: Padding(
145 | padding: const EdgeInsets.all(20.0),
146 | child: Row(
147 | mainAxisAlignment: MainAxisAlignment.end,
148 | children: [
149 | CircleAvatar(
150 | radius: 20,
151 | backgroundImage: AssetImage("assets/images/model2.jpeg"),
152 | ),
153 | SizedBox(
154 | width: 10,
155 | ),
156 | Container(
157 | height: 60,
158 | width: 200,
159 | decoration: BoxDecoration(
160 | borderRadius: BorderRadius.circular(10),
161 | color: Colors.purple[200]),
162 | child: Center(
163 | child: Container(
164 | constraints: BoxConstraints(maxWidth: 100),
165 | child: Text(
166 | "Well and good",
167 | style: GoogleFonts.ubuntu(color: Colors.white),
168 | ),
169 | ),
170 | ),
171 | )
172 | ],
173 | ),
174 | ),
175 | ),
176 | Spacer(),
177 | Padding(
178 | padding: const EdgeInsets.only(left: 0.0, bottom: 10, right: 10),
179 | child: Container(
180 | height: 60,
181 | width: double.infinity,
182 | decoration: BoxDecoration(
183 | color: Colors.grey[200],
184 | borderRadius: BorderRadius.circular(40)),
185 | child: Center(
186 | child: Row(
187 | children: [
188 | SizedBox(
189 | width: 20,
190 | ),
191 | Text(
192 | "Type a message",
193 | style: GoogleFonts.nunito(color: Colors.black),
194 | ),
195 | Spacer(),
196 | Padding(
197 | padding: const EdgeInsets.all(8.0),
198 | child: Icon(
199 | Icons.send,
200 | color: Colors.purple,
201 | ),
202 | )
203 | ],
204 | ),
205 | ),
206 | ),
207 | )
208 | ],
209 | ),
210 | ),
211 | );
212 | }
213 | }
214 |
--------------------------------------------------------------------------------
/lib/chat/details.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_ui/chat/userinfo.dart';
3 | import 'package:google_fonts/google_fonts.dart';
4 |
5 | class Details extends StatefulWidget {
6 | final User chat;
7 | const Details({Key key, this.chat}) : super(key: key);
8 |
9 | @override
10 | _DetailsState createState() => _DetailsState();
11 | }
12 |
13 | class _DetailsState extends State {
14 | @override
15 | Widget build(BuildContext context) {
16 | return Column(
17 | children: [
18 | Row(
19 | children: [
20 | Padding(
21 | padding: const EdgeInsets.only(top: 20.0, left: 20),
22 | child: CircleAvatar(
23 | radius: 30,
24 | backgroundImage: AssetImage(widget.chat.imageurl),
25 | ),
26 | ),
27 | SizedBox(
28 | width: 10,
29 | ),
30 | Column(
31 | crossAxisAlignment: CrossAxisAlignment.start,
32 | children: [
33 | Text(
34 | "${widget.chat.username}",
35 | style: GoogleFonts.ubuntu(
36 | color: Colors.grey,
37 | fontWeight: FontWeight.w600,
38 | fontSize: 12),
39 | ),
40 | SizedBox(
41 | height: 5,
42 | ),
43 | Row(
44 | children: [
45 | Text(
46 | "${widget.chat.chatmessage}",
47 | style: GoogleFonts.ubuntu(
48 | color: Colors.grey,
49 | fontWeight: FontWeight.w600,
50 | fontSize: 12),
51 | ),
52 | SizedBox(
53 | width: 100,
54 | ),
55 | CircleAvatar(
56 | radius: 10,
57 | backgroundColor: widget.chat.numchat == '0'
58 | ? Colors.transparent
59 | : Colors.purple,
60 | child: Text("${widget.chat.numchat}",
61 | style: GoogleFonts.ubuntu(
62 | fontSize: 10,
63 | color: widget.chat.numchat == '0'
64 | ? Colors.transparent
65 | : Colors.white,
66 | ))),
67 | ],
68 | ),
69 | ],
70 | )
71 | ],
72 | ),
73 | ],
74 | );
75 | }
76 | }
77 |
--------------------------------------------------------------------------------
/lib/chat/userdata_chat.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter_ui/chat/userinfo.dart';
2 |
3 | List chat_details = [
4 | User('@wander', 'assets/images/model4.jpeg', 'Hi,Hope everything is good ❤️.',
5 | '1'),
6 | User('mathew_mat', 'assets/images/model2.jpeg',
7 | 'Hi,Hope everything is good ❤️.', '2'),
8 | User('noha', 'assets/images/model1.jpeg', 'Hi,Hope everything is good ❤️.',
9 | '0'),
10 | User('@sicca', 'assets/images/model3.jpeg', 'Hi,All is wellfor today and..😊',
11 | '1'),
12 | User('@vicca_sim', 'assets/images/model6.jpeg',
13 | 'Hi,Hope everything is good 😂', '1'),
14 | User('@lica_sima', 'assets/images/model5.jpeg', 'Happy weekend', '0'),
15 | User('@vicca_sim', 'assets/images/model7.jpeg',
16 | 'Take your time and inform us...', '0'),
17 | ];
18 |
--------------------------------------------------------------------------------
/lib/chat/userinfo.dart:
--------------------------------------------------------------------------------
1 | class User {
2 | final String username;
3 | final String imageurl;
4 | final String chatmessage;
5 | final String numchat;
6 |
7 | User(this.username, this.imageurl, this.chatmessage, this.numchat);
8 | }
9 |
--------------------------------------------------------------------------------
/lib/hiddendrawer.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:google_fonts/google_fonts.dart';
3 | import 'package:flutter_advanced_drawer/flutter_advanced_drawer.dart';
4 |
5 | class HiddenDrawer extends StatefulWidget {
6 | const HiddenDrawer({Key key}) : super(key: key);
7 |
8 | @override
9 | _HiddenDrawerState createState() => _HiddenDrawerState();
10 | }
11 |
12 | class _HiddenDrawerState extends State {
13 | @override
14 | Widget build(BuildContext context) {
15 | final _advancedDrawerController = AdvancedDrawerController();
16 | return AdvancedDrawer(
17 | drawer: Drawer(
18 | child: Container(
19 | color: Color.fromRGBO(84, 65, 121, 1),
20 | child: Column(
21 | mainAxisAlignment: MainAxisAlignment.center,
22 | children: [
23 | Container(
24 | height: 60,
25 | ),
26 | Padding(
27 | padding: const EdgeInsets.all(8.0),
28 | child: Row(
29 | children: [
30 | Icon(Icons.home, color: Colors.white),
31 | Padding(
32 | padding: const EdgeInsets.all(8.0),
33 | child: Text("Home",
34 | style: GoogleFonts.nunito(
35 | fontSize: 20,
36 | color: Colors.white,
37 | fontWeight: FontWeight.bold)),
38 | )
39 | ],
40 | ),
41 | ),
42 | Padding(
43 | padding: const EdgeInsets.all(8.0),
44 | child: Row(
45 | children: [
46 | Icon(Icons.search, color: Colors.grey),
47 | Padding(
48 | padding: const EdgeInsets.all(8.0),
49 | child: Text("Search",
50 | style: GoogleFonts.nunito(
51 | fontSize: 20,
52 | color: Colors.grey,
53 | fontWeight: FontWeight.bold)),
54 | )
55 | ],
56 | ),
57 | ),
58 | Padding(
59 | padding: const EdgeInsets.all(8.0),
60 | child: Row(
61 | children: [
62 | Icon(Icons.payment, color: Colors.grey),
63 | Padding(
64 | padding: const EdgeInsets.all(8.0),
65 | child: Text("Payment",
66 | style: GoogleFonts.nunito(
67 | fontSize: 20,
68 | color: Colors.grey,
69 | fontWeight: FontWeight.bold)),
70 | )
71 | ],
72 | ),
73 | ),
74 | Padding(
75 | padding: const EdgeInsets.all(8.0),
76 | child: Row(
77 | children: [
78 | Icon(Icons.shopping_bag, color: Colors.grey),
79 | Padding(
80 | padding: const EdgeInsets.all(8.0),
81 | child: Text("Cart",
82 | style: GoogleFonts.nunito(
83 | fontSize: 20,
84 | color: Colors.grey,
85 | fontWeight: FontWeight.bold)),
86 | )
87 | ],
88 | ),
89 | ),
90 | Spacer(),
91 | Padding(
92 | padding: const EdgeInsets.all(8.0),
93 | child: Row(
94 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
95 | children: [
96 | Row(
97 | children: [
98 | Icon(Icons.settings, color: Colors.grey),
99 | Padding(
100 | padding: const EdgeInsets.all(8.0),
101 | child: Text("Settings",
102 | style: GoogleFonts.nunito(
103 | fontSize: 20,
104 | color: Colors.grey,
105 | fontWeight: FontWeight.bold)),
106 | ),
107 | ],
108 | ),
109 | Padding(
110 | padding: const EdgeInsets.all(8.0),
111 | child: Text("Logout",
112 | style: GoogleFonts.nunito(
113 | fontSize: 20,
114 | color: Colors.grey,
115 | fontWeight: FontWeight.bold)),
116 | )
117 | ],
118 | ),
119 | ),
120 | ])),
121 | ),
122 | backdropColor: Color.fromRGBO(84, 65, 121, 1),
123 | controller: _advancedDrawerController,
124 | animationCurve: Curves.easeInOut,
125 | animationDuration: const Duration(milliseconds: 300),
126 | animateChildDecoration: true,
127 | rtlOpening: false,
128 | disabledGestures: false,
129 | childDecoration: const BoxDecoration(
130 | borderRadius: BorderRadius.all(Radius.circular(16))),
131 | child: Scaffold(
132 | appBar: AppBar(
133 | backgroundColor: Colors.white,
134 | elevation: 0,
135 | title: Text(
136 | 'Hidden Bar',
137 | style: GoogleFonts.nunito(
138 | color: Colors.black,
139 | fontSize: 20,
140 | fontWeight: FontWeight.bold),
141 | ),
142 | ),
143 | body: Container(),
144 | ));
145 | }
146 | }
147 |
--------------------------------------------------------------------------------
/lib/loader/circularprogress_custom.dart:
--------------------------------------------------------------------------------
1 | import 'custom_loader.dart';
2 | import 'package:flutter/material.dart';
3 | import 'package:google_fonts/google_fonts.dart';
4 |
5 | class CustomCircluarProgress extends StatefulWidget {
6 | const CustomCircluarProgress({Key key}) : super(key: key);
7 |
8 | @override
9 | _CustomCircluarProgressState createState() => _CustomCircluarProgressState();
10 | }
11 |
12 | class _CustomCircluarProgressState extends State {
13 | @override
14 | Widget build(BuildContext context) {
15 | return Scaffold(
16 | appBar: AppBar(
17 | backgroundColor: Colors.black,
18 | elevation: 0,
19 | centerTitle: true,
20 | title: Text("Custom Circular Progress indicator",
21 | style: GoogleFonts.ubuntu()),
22 | ),
23 | body: Center(
24 | child: Custom_Loader(),
25 | ),
26 | );
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/lib/loader/custom_loader.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'dart:math';
3 |
4 | class Custom_Loader extends StatefulWidget {
5 | const Custom_Loader({Key key}) : super(key: key);
6 |
7 | @override
8 | _Custom_LoaderState createState() => _Custom_LoaderState();
9 | }
10 |
11 | class _Custom_LoaderState extends State
12 | with TickerProviderStateMixin {
13 | AnimationController controller;
14 | Animation animation_rotation;
15 | Animation animation_radius_in;
16 | Animation animation_radius_out;
17 | final double initialradius = 30.0;
18 | double radius = 0.0;
19 | @override
20 | void initState() {
21 | print(radius);
22 | controller =
23 | AnimationController(vsync: this, duration: Duration(seconds: 5));
24 |
25 | animation_rotation = Tween(begin: 0.0, end: 1.0).animate(
26 | CurvedAnimation(
27 | parent: controller,
28 | curve: Interval(0.0, 1.0, curve: Curves.linear)));
29 |
30 | super.initState();
31 | }
32 |
33 | @override
34 | Widget build(BuildContext context) {
35 | return Column(
36 | crossAxisAlignment: CrossAxisAlignment.center,
37 | mainAxisAlignment: MainAxisAlignment.center,
38 | children: [
39 | Container(
40 | height: 100.0,
41 | width: 100.0,
42 | child: RotationTransition(
43 | turns: animation_rotation,
44 | child: Stack(
45 | children: [
46 | Circle(radius: 30, color: Colors.grey[300]),
47 | Transform.translate(
48 | offset: Offset(radius * cos(pi / 4), radius * sin(pi / 4)),
49 | child: Circle(radius: 7, color: Colors.red),
50 | ),
51 | Transform.translate(
52 | offset: Offset(
53 | radius * cos(2 * pi / 4), radius * sin(2 * pi / 4)),
54 | child: Circle(radius: 7, color: Colors.pink),
55 | ),
56 | Transform.translate(
57 | offset: Offset(
58 | radius * cos(3 * pi / 4), radius * sin(3 * pi / 4)),
59 | child: Circle(radius: 7, color: Colors.yellow),
60 | ),
61 | Transform.translate(
62 | offset: Offset(
63 | radius * cos(4 * pi / 4), radius * sin(4 * pi / 4)),
64 | child: Circle(radius: 7, color: Colors.orange),
65 | ),
66 | Transform.translate(
67 | offset: Offset(
68 | radius * cos(5 * pi / 4), radius * sin(5 * pi / 4)),
69 | child: Circle(radius: 7, color: Colors.green),
70 | ),
71 | Transform.translate(
72 | offset: Offset(
73 | radius * cos(6 * pi / 4), radius * sin(6 * pi / 4)),
74 | child: Circle(radius: 7, color: Colors.amber),
75 | ),
76 | Transform.translate(
77 | offset: Offset(
78 | radius * cos(7 * pi / 4), radius * sin(7 * pi / 4)),
79 | child: Circle(radius: 7, color: Colors.black),
80 | ),
81 | Transform.translate(
82 | offset: Offset(
83 | radius * cos(8 * pi / 4), radius * sin(8 * pi / 4)),
84 | child: Circle(radius: 7, color: Colors.blue),
85 | ),
86 | ],
87 | ),
88 | ),
89 | ),
90 | ElevatedButton(
91 | style: ElevatedButton.styleFrom(
92 | primary: Colors.black,
93 | textStyle:
94 | TextStyle(fontSize: 10, fontWeight: FontWeight.bold)),
95 | onPressed: () {
96 | _buttonclick();
97 | },
98 | child: Text("Click to blink and rotate"))
99 | ],
100 | );
101 | }
102 |
103 | void _buttonclick() {
104 | print(radius);
105 | controller =
106 | AnimationController(vsync: this, duration: Duration(seconds: 5));
107 |
108 | animation_rotation = Tween(begin: 0.0, end: 1.0).animate(
109 | CurvedAnimation(
110 | parent: controller,
111 | curve: Interval(0.0, 1.0, curve: Curves.linear)));
112 |
113 | animation_radius_in = Tween(begin: 1.0, end: 0.0).animate(
114 | CurvedAnimation(
115 | parent: controller,
116 | curve: Interval(0.75, 1.0, curve: Curves.elasticIn)));
117 |
118 | animation_radius_out = Tween(begin: 0.0, end: 1.0).animate(
119 | CurvedAnimation(
120 | parent: controller,
121 | curve: Interval(0.0, 0.25, curve: Curves.elasticOut)));
122 |
123 | controller.addListener(() {
124 | setState(() {
125 | if (controller.value >= 0.75 && controller.value <= 1.0) {
126 | radius = animation_radius_in.value * initialradius;
127 | print(radius);
128 | } else if (controller.value >= 0.0 && controller.value <= 0.25) {
129 | radius = animation_radius_out.value * initialradius;
130 | print(radius);
131 | }
132 | });
133 | });
134 | controller.addStatusListener((status) {
135 | if (status == AnimationStatus.completed) {}
136 | });
137 |
138 | controller.repeat();
139 | }
140 | }
141 |
142 | class Circle extends StatelessWidget {
143 | const Circle({Key key, this.color, this.radius}) : super(key: key);
144 |
145 | final double radius;
146 | final Color color;
147 |
148 | @override
149 | Widget build(BuildContext context) {
150 | return Center(
151 | child: Container(
152 | width: this.radius,
153 | height: this.radius,
154 | decoration: BoxDecoration(color: this.color, shape: BoxShape.circle),
155 | ),
156 | );
157 | }
158 | }
159 |
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_ui/Auth/Signup.dart';
3 | import 'package:flutter_ui/Cart/list_view.dart';
4 | import 'package:flutter_ui/Onboarding/on_boardong.dart';
5 | import 'package:flutter_ui/chat/detail_chat.dart';
6 | import 'package:flutter_ui/weatherapp_ui.dart';
7 | void main() {
8 | runApp(const MyApp());
9 | }
10 |
11 | class MyApp extends StatelessWidget {
12 | const MyApp({Key key}) : super(key: key);
13 | @override
14 | Widget build(BuildContext context) {
15 | return MaterialApp(
16 | // themeMode: ThemeMode.light,
17 | // darkTheme: ThemeData(
18 | // brightness: Brightness.dark, colorScheme: ColorScheme.dark()),
19 | debugShowCheckedModeBanner: false,
20 | title: 'Flutter UI',
21 | theme: ThemeData(
22 | primarySwatch: Colors.blue,
23 | ),
24 | home: Weather());
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/lib/swipecard.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_tindercard/flutter_tindercard.dart';
3 | import 'package:google_fonts/google_fonts.dart';
4 |
5 | class SwipeCard extends StatefulWidget {
6 | const SwipeCard({Key key}) : super(key: key);
7 |
8 | @override
9 | _SwipeCardState createState() => _SwipeCardState();
10 | }
11 |
12 | class _SwipeCardState extends State {
13 | CardController controller;
14 | int counter;
15 | @override
16 | List images = [
17 | "https://images.pexels.com/photos/2669601/pexels-photo-2669601.jpeg?auto=compress&cs=tinysrgb&dpr=2&w=500",
18 | "https://images.pexels.com/photos/3404474/pexels-photo-3404474.jpeg?auto=compress&cs=tinysrgb&dpr=2&w=500",
19 | "https://images.pexels.com/photos/1719233/pexels-photo-1719233.jpeg?auto=compress&cs=tinysrgb&dpr=2&w=500",
20 | "https://images.pexels.com/photos/4355377/pexels-photo-4355377.jpeg?auto=compress&cs=tinysrgb&dpr=2&w=500",
21 | "https://images.pexels.com/photos/1680208/pexels-photo-1680208.jpeg?auto=compress&cs=tinysrgb&dpr=2&w=500"
22 | ];
23 | List names = ['Manasa', "John", "Noha", 'Tokyo', "Andria"];
24 | Widget build(BuildContext context) {
25 | return Scaffold(
26 | body: TinderSwapCard(
27 | swipeUp: true,
28 | swipeDown: true,
29 | orientation: AmassOrientation.BOTTOM,
30 | totalNum: images.length,
31 | stackNum: 3,
32 | swipeEdge: 4.0,
33 | maxWidth: MediaQuery.of(context).size.width * 0.9,
34 | maxHeight: MediaQuery.of(context).size.height * 0.9,
35 | minWidth: MediaQuery.of(context).size.width * 0.8,
36 | minHeight: MediaQuery.of(context).size.height * 0.8,
37 | cardBuilder: (context, index) => Container(
38 | decoration: BoxDecoration(
39 | borderRadius: BorderRadius.circular(20),
40 | boxShadow: [
41 | BoxShadow(
42 | blurRadius: 5, spreadRadius: 2, color: Colors.white12)
43 | ]),
44 | child: ClipRRect(
45 | borderRadius: BorderRadius.circular(20),
46 | child: Stack(children: [
47 | GestureDetector(
48 | onTap: () {},
49 | child: Container(
50 | width: MediaQuery.of(context).size.width,
51 | height: MediaQuery.of(context).size.height,
52 | decoration: BoxDecoration(
53 | borderRadius: BorderRadius.circular(20),
54 | image: DecorationImage(
55 | image: NetworkImage('${images[index]}'),
56 | fit: BoxFit.cover),
57 | ),
58 | child: Column(
59 | mainAxisAlignment: MainAxisAlignment.end,
60 | crossAxisAlignment: CrossAxisAlignment.start,
61 | children: [
62 | Row(
63 | children: [
64 | Padding(
65 | padding:
66 | const EdgeInsets.only(left: 20.0, bottom: 20),
67 | child: Text(
68 | "${names[index]}",
69 | style: GoogleFonts.ubuntu(
70 | color: Colors.white, fontSize: 20),
71 | ),
72 | ),
73 | Padding(
74 | padding:
75 | const EdgeInsets.only(bottom: 20, left: 10),
76 | child: Icon(
77 | Icons.verified,
78 | color: Colors.blue,
79 | ),
80 | )
81 | ],
82 | )
83 | ],
84 | ),
85 | ),
86 | ),
87 | ]),
88 | )),
89 | cardController: controller = CardController(),
90 | swipeUpdateCallback: (DragUpdateDetails details, Alignment align) {
91 | /// Get swiping card's alignment
92 | if (align.x < 0) {
93 | //Card is LEFT swiping
94 | } else if (align.x > 0) {
95 | //Card is RIGHT swiping
96 | }
97 | },
98 | swipeCompleteCallback: (CardSwipeOrientation orientation, int index) {
99 | counter = index;
100 | print("$counter ${orientation.toString()}");
101 | },
102 | ),
103 | );
104 | }
105 | }
106 |
--------------------------------------------------------------------------------
/lib/tiktok/data.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter_ui/tiktok/videodetail.dart';
2 |
3 | final List