diff --git a/CHANGELOG.md b/CHANGELOG.md
index ac071598..06cf4071 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,17 @@
-## [0.0.1] - TODO: Add release date.
+# Changelog
-* TODO: Describe initial release.
+## 0.0.1-pre.3 - 2014-01-14
+
+### Fixed
+
+* Corrected warnings and hits
+
+### Added
+
+* Changelog and description
+
+## 14.0.0 - 2042-10-06
+
+### Added
+
+* Introduced animals into the world, we believe they're going to be a neat addition.
\ No newline at end of file
diff --git a/LICENSE b/LICENSE
index ba75c69f..b0042c59 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1 +1,5 @@
-TODO: Add your license here.
+The MIT License (MIT)
+Copyright (c) 2020 GetFlutter.dev
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
diff --git a/README.md b/README.md
index f77c16f7..ab1fe3fc 100644
--- a/README.md
+++ b/README.md
@@ -1,14 +1,76 @@
-# ui_kit
+
+
+
+
+
-A new Flutter package project.
+[**GetFlutter**](https://www.getflutter.dev) is 100% open source UI library build to make flutter development easier than ever and reuse 1000+ pre-build widget in any Flutter Web or Mobile app development.
-## Getting Started
+[**NOTE**] Our library will also work on flutter web but still flutter web is in Beta release so some rendering problem may occur and hence we will update our library as flutter comes with stable release on Web.
-This project is a starting point for a Dart
-[package](https://flutter.dev/developing-packages/),
-a library module containing code that can be shared easily across
-multiple Flutter or Dart projects.
+## Table of contents
-For help getting started with Flutter, view our
-[online documentation](https://flutter.dev/docs), which offers tutorials,
-samples, guidance on mobile development, and a full API reference.
+- [Quick start](#quick-start)
+- [Features](#features)
+- [Screenshot](#screenshot)
+- [Demo](#demo)
+- [Contributing](#contributing)
+- [Bugs and feature requests](#bugs-and-feature-requests)
+- [Documentation](#documentation)
+- [Copyright and license](#copyright-and-license)
+
+## Quick start
+
+Read the [Getting started page](https://docs.getflutter.dev)
+Forum [Support and discussion ](https://forum.getflutter.dev)
+
+## Features
+In this beta release we are going to launch the library with following components :
+
+ #### Button | Badge | Avatar | Image | Card | Carousel | Tile | Tab | Typography
+
+
+ ## Screenshot
+
+
+
+
+
+
+
+
+
+ ## Demo
+
+
+ ## Contributing
+
+ GetFlutter is **100% free** and **open source**. We encourage and support an active, healthy community that accepts contributions from the public – including you!
+
+ * If you are a developer, feel free to check out the source and submit pull requests.
+ * Dig into [**CONTRIBUTING.MD**](CONTRIBUTING.md), which covers submitting bugs, requesting new features, preparing your code for a pull request, etc.
+ * Please don't forget to **like**, **follow**, and **star our repo**! Join our growing [community](http://forum.getflutter.dev) to keep up to date with the latest Get Flutter development.
+ * Not sure what to work on? [**We've got lots ideas.**](https://roadmap.getflutter.dev)
+
+
+ ## Bugs-and-feature-requests
+
+
+ ## Documentation
+
+ [**Installation Guide**](https://docs.getflutter.dev)
+
+
+### Social Media
+
+Twitter:
+
+Facebook:
+
+Linkedin:
+
+Instagram:
+
+
+ ## Copyright-and-license
+ Code and documentation copyright 2017-2020 the [GETFLUTTER Authors](https://www.getflutter.dev) and [PIETECH SOLUTION PVT LTD.](https://pietechsolution.com) Code released under the [MIT License]. Docs released under [Creative Commons](https://creativecommons.org/licenses/by/3.0/).
diff --git a/demo_app/.gitignore b/demo_app/.gitignore
deleted file mode 100644
index ae1f1838..00000000
--- a/demo_app/.gitignore
+++ /dev/null
@@ -1,37 +0,0 @@
-# Miscellaneous
-*.class
-*.log
-*.pyc
-*.swp
-.DS_Store
-.atom/
-.buildlog/
-.history
-.svn/
-
-# IntelliJ related
-*.iml
-*.ipr
-*.iws
-.idea/
-
-# The .vscode folder contains launch configuration and tasks you configure in
-# VS Code which you may wish to be included in version control, so this line
-# is commented out by default.
-#.vscode/
-
-# Flutter/Dart/Pub related
-**/doc/api/
-.dart_tool/
-.flutter-plugins
-.flutter-plugins-dependencies
-.packages
-.pub-cache/
-.pub/
-/build/
-
-# Web related
-lib/generated_plugin_registrant.dart
-
-# Exceptions to above rules.
-!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
diff --git a/demo_app/.metadata b/demo_app/.metadata
deleted file mode 100644
index 361e1e4c..00000000
--- a/demo_app/.metadata
+++ /dev/null
@@ -1,10 +0,0 @@
-# This file tracks properties of this Flutter project.
-# Used by Flutter tool to assess capabilities and perform upgrades etc.
-#
-# This file should be version controlled and should not be manually edited.
-
-version:
- revision: 18cd7a3601bcffb36fdf2f679f763b5e827c2e8e
- channel: beta
-
-project_type: app
diff --git a/demo_app/README.md b/demo_app/README.md
deleted file mode 100644
index ebae316f..00000000
--- a/demo_app/README.md
+++ /dev/null
@@ -1,16 +0,0 @@
-# demo_app
-
-A new Flutter project.
-
-## Getting Started
-
-This project is a starting point for a Flutter application.
-
-A few resources to get you started if this is your first Flutter project:
-
-- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
-- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
-
-For help getting started with Flutter, view our
-[online documentation](https://flutter.dev/docs), which offers tutorials,
-samples, guidance on mobile development, and a full API reference.
diff --git a/demo_app/android/.gitignore b/demo_app/android/.gitignore
deleted file mode 100644
index bc2100d8..00000000
--- a/demo_app/android/.gitignore
+++ /dev/null
@@ -1,7 +0,0 @@
-gradle-wrapper.jar
-/.gradle
-/captures/
-/gradlew
-/gradlew.bat
-/local.properties
-GeneratedPluginRegistrant.java
diff --git a/demo_app/android/app/build.gradle b/demo_app/android/app/build.gradle
deleted file mode 100644
index 471f73aa..00000000
--- a/demo_app/android/app/build.gradle
+++ /dev/null
@@ -1,67 +0,0 @@
-def localProperties = new Properties()
-def localPropertiesFile = rootProject.file('local.properties')
-if (localPropertiesFile.exists()) {
- localPropertiesFile.withReader('UTF-8') { reader ->
- localProperties.load(reader)
- }
-}
-
-def flutterRoot = localProperties.getProperty('flutter.sdk')
-if (flutterRoot == null) {
- throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
-}
-
-def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
-if (flutterVersionCode == null) {
- flutterVersionCode = '1'
-}
-
-def flutterVersionName = localProperties.getProperty('flutter.versionName')
-if (flutterVersionName == null) {
- flutterVersionName = '1.0'
-}
-
-apply plugin: 'com.android.application'
-apply plugin: 'kotlin-android'
-apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
-
-android {
- compileSdkVersion 28
-
- sourceSets {
- main.java.srcDirs += 'src/main/kotlin'
- }
-
- lintOptions {
- disable 'InvalidPackage'
- }
-
- defaultConfig {
- // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
- applicationId "com.example.demo_app"
- minSdkVersion 16
- targetSdkVersion 28
- versionCode flutterVersionCode.toInteger()
- versionName flutterVersionName
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
-
- buildTypes {
- release {
- // TODO: Add your own signing config for the release build.
- // Signing with the debug keys for now, so `flutter run --release` works.
- signingConfig signingConfigs.debug
- }
- }
-}
-
-flutter {
- source '../..'
-}
-
-dependencies {
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test:runner:1.1.1'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
-}
diff --git a/demo_app/android/app/src/debug/AndroidManifest.xml b/demo_app/android/app/src/debug/AndroidManifest.xml
deleted file mode 100644
index cef74c20..00000000
--- a/demo_app/android/app/src/debug/AndroidManifest.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
diff --git a/demo_app/android/app/src/main/AndroidManifest.xml b/demo_app/android/app/src/main/AndroidManifest.xml
deleted file mode 100644
index 27b7e17a..00000000
--- a/demo_app/android/app/src/main/AndroidManifest.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/demo_app/android/app/src/main/kotlin/com/example/demo_app/MainActivity.kt b/demo_app/android/app/src/main/kotlin/com/example/demo_app/MainActivity.kt
deleted file mode 100644
index c25730bf..00000000
--- a/demo_app/android/app/src/main/kotlin/com/example/demo_app/MainActivity.kt
+++ /dev/null
@@ -1,12 +0,0 @@
-package com.example.demo_app
-
-import androidx.annotation.NonNull;
-import io.flutter.embedding.android.FlutterActivity
-import io.flutter.embedding.engine.FlutterEngine
-import io.flutter.plugins.GeneratedPluginRegistrant
-
-class MainActivity: FlutterActivity() {
- override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) {
- GeneratedPluginRegistrant.registerWith(flutterEngine);
- }
-}
diff --git a/demo_app/android/app/src/main/res/drawable/launch_background.xml b/demo_app/android/app/src/main/res/drawable/launch_background.xml
deleted file mode 100644
index 304732f8..00000000
--- a/demo_app/android/app/src/main/res/drawable/launch_background.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/demo_app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/demo_app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
deleted file mode 100644
index db77bb4b..00000000
Binary files a/demo_app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and /dev/null differ
diff --git a/demo_app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/demo_app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
deleted file mode 100644
index 17987b79..00000000
Binary files a/demo_app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and /dev/null differ
diff --git a/demo_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/demo_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
deleted file mode 100644
index 09d43914..00000000
Binary files a/demo_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and /dev/null differ
diff --git a/demo_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/demo_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
deleted file mode 100644
index d5f1c8d3..00000000
Binary files a/demo_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differ
diff --git a/demo_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/demo_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
deleted file mode 100644
index 4d6372ee..00000000
Binary files a/demo_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ
diff --git a/demo_app/android/app/src/main/res/values/styles.xml b/demo_app/android/app/src/main/res/values/styles.xml
deleted file mode 100644
index 00fa4417..00000000
--- a/demo_app/android/app/src/main/res/values/styles.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
diff --git a/demo_app/android/app/src/profile/AndroidManifest.xml b/demo_app/android/app/src/profile/AndroidManifest.xml
deleted file mode 100644
index cef74c20..00000000
--- a/demo_app/android/app/src/profile/AndroidManifest.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
diff --git a/demo_app/android/build.gradle b/demo_app/android/build.gradle
deleted file mode 100644
index 3100ad2d..00000000
--- a/demo_app/android/build.gradle
+++ /dev/null
@@ -1,31 +0,0 @@
-buildscript {
- ext.kotlin_version = '1.3.50'
- repositories {
- google()
- jcenter()
- }
-
- dependencies {
- classpath 'com.android.tools.build:gradle:3.5.0'
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
- }
-}
-
-allprojects {
- repositories {
- google()
- jcenter()
- }
-}
-
-rootProject.buildDir = '../build'
-subprojects {
- project.buildDir = "${rootProject.buildDir}/${project.name}"
-}
-subprojects {
- project.evaluationDependsOn(':app')
-}
-
-task clean(type: Delete) {
- delete rootProject.buildDir
-}
diff --git a/demo_app/android/gradle.properties b/demo_app/android/gradle.properties
deleted file mode 100644
index 38c8d454..00000000
--- a/demo_app/android/gradle.properties
+++ /dev/null
@@ -1,4 +0,0 @@
-org.gradle.jvmargs=-Xmx1536M
-android.enableR8=true
-android.useAndroidX=true
-android.enableJetifier=true
diff --git a/demo_app/android/gradle/wrapper/gradle-wrapper.properties b/demo_app/android/gradle/wrapper/gradle-wrapper.properties
deleted file mode 100644
index 296b146b..00000000
--- a/demo_app/android/gradle/wrapper/gradle-wrapper.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-#Fri Jun 23 08:50:38 CEST 2017
-distributionBase=GRADLE_USER_HOME
-distributionPath=wrapper/dists
-zipStoreBase=GRADLE_USER_HOME
-zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip
diff --git a/demo_app/android/settings.gradle b/demo_app/android/settings.gradle
deleted file mode 100644
index 5a2f14fb..00000000
--- a/demo_app/android/settings.gradle
+++ /dev/null
@@ -1,15 +0,0 @@
-include ':app'
-
-def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()
-
-def plugins = new Properties()
-def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
-if (pluginsFile.exists()) {
- pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) }
-}
-
-plugins.each { name, path ->
- def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
- include ":$name"
- project(":$name").projectDir = pluginDirectory
-}
diff --git a/demo_app/ios/.gitignore b/demo_app/ios/.gitignore
deleted file mode 100644
index e96ef602..00000000
--- a/demo_app/ios/.gitignore
+++ /dev/null
@@ -1,32 +0,0 @@
-*.mode1v3
-*.mode2v3
-*.moved-aside
-*.pbxuser
-*.perspectivev3
-**/*sync/
-.sconsign.dblite
-.tags*
-**/.vagrant/
-**/DerivedData/
-Icon?
-**/Pods/
-**/.symlinks/
-profile
-xcuserdata
-**/.generated/
-Flutter/App.framework
-Flutter/Flutter.framework
-Flutter/Flutter.podspec
-Flutter/Generated.xcconfig
-Flutter/app.flx
-Flutter/app.zip
-Flutter/flutter_assets/
-Flutter/flutter_export_environment.sh
-ServiceDefinitions.json
-Runner/GeneratedPluginRegistrant.*
-
-# Exceptions to above rules.
-!default.mode1v3
-!default.mode2v3
-!default.pbxuser
-!default.perspectivev3
diff --git a/demo_app/ios/Flutter/AppFrameworkInfo.plist b/demo_app/ios/Flutter/AppFrameworkInfo.plist
deleted file mode 100644
index 6b4c0f78..00000000
--- a/demo_app/ios/Flutter/AppFrameworkInfo.plist
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
- CFBundleDevelopmentRegion
- $(DEVELOPMENT_LANGUAGE)
- CFBundleExecutable
- App
- CFBundleIdentifier
- io.flutter.flutter.app
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- App
- CFBundlePackageType
- FMWK
- CFBundleShortVersionString
- 1.0
- CFBundleSignature
- ????
- CFBundleVersion
- 1.0
- MinimumOSVersion
- 8.0
-
-
diff --git a/demo_app/ios/Flutter/Debug.xcconfig b/demo_app/ios/Flutter/Debug.xcconfig
deleted file mode 100644
index 592ceee8..00000000
--- a/demo_app/ios/Flutter/Debug.xcconfig
+++ /dev/null
@@ -1 +0,0 @@
-#include "Generated.xcconfig"
diff --git a/demo_app/ios/Flutter/Release.xcconfig b/demo_app/ios/Flutter/Release.xcconfig
deleted file mode 100644
index 592ceee8..00000000
--- a/demo_app/ios/Flutter/Release.xcconfig
+++ /dev/null
@@ -1 +0,0 @@
-#include "Generated.xcconfig"
diff --git a/demo_app/ios/Runner.xcodeproj/project.pbxproj b/demo_app/ios/Runner.xcodeproj/project.pbxproj
deleted file mode 100644
index af5c5ea0..00000000
--- a/demo_app/ios/Runner.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,518 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
- 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
- 3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; };
- 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
- 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
- 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; };
- 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
- 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
- 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
- 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXCopyFilesBuildPhase section */
- 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
- isa = PBXCopyFilesBuildPhase;
- buildActionMask = 2147483647;
- dstPath = "";
- dstSubfolderSpec = 10;
- files = (
- 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */,
- 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */,
- );
- name = "Embed Frameworks";
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXCopyFilesBuildPhase section */
-
-/* Begin PBXFileReference section */
- 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
- 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
- 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
- 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; };
- 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
- 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
- 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
- 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
- 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
- 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; };
- 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
- 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
- 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
- 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
- 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- 97C146EB1CF9000F007C117D /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */,
- 3B80C3941E831B6300D905FE /* App.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 9740EEB11CF90186004384FC /* Flutter */ = {
- isa = PBXGroup;
- children = (
- 3B80C3931E831B6300D905FE /* App.framework */,
- 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
- 9740EEBA1CF902C7004384FC /* Flutter.framework */,
- 9740EEB21CF90195004384FC /* Debug.xcconfig */,
- 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
- 9740EEB31CF90195004384FC /* Generated.xcconfig */,
- );
- name = Flutter;
- sourceTree = "";
- };
- 97C146E51CF9000F007C117D = {
- isa = PBXGroup;
- children = (
- 9740EEB11CF90186004384FC /* Flutter */,
- 97C146F01CF9000F007C117D /* Runner */,
- 97C146EF1CF9000F007C117D /* Products */,
- );
- sourceTree = "";
- };
- 97C146EF1CF9000F007C117D /* Products */ = {
- isa = PBXGroup;
- children = (
- 97C146EE1CF9000F007C117D /* Runner.app */,
- );
- name = Products;
- sourceTree = "";
- };
- 97C146F01CF9000F007C117D /* Runner */ = {
- isa = PBXGroup;
- children = (
- 97C146FA1CF9000F007C117D /* Main.storyboard */,
- 97C146FD1CF9000F007C117D /* Assets.xcassets */,
- 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
- 97C147021CF9000F007C117D /* Info.plist */,
- 97C146F11CF9000F007C117D /* Supporting Files */,
- 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
- 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
- 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
- 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
- );
- path = Runner;
- sourceTree = "";
- };
- 97C146F11CF9000F007C117D /* Supporting Files */ = {
- isa = PBXGroup;
- children = (
- );
- name = "Supporting Files";
- sourceTree = "";
- };
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
- 97C146ED1CF9000F007C117D /* Runner */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
- buildPhases = (
- 9740EEB61CF901F6004384FC /* Run Script */,
- 97C146EA1CF9000F007C117D /* Sources */,
- 97C146EB1CF9000F007C117D /* Frameworks */,
- 97C146EC1CF9000F007C117D /* Resources */,
- 9705A1C41CF9048500538489 /* Embed Frameworks */,
- 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = Runner;
- productName = Runner;
- productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
- productType = "com.apple.product-type.application";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- 97C146E61CF9000F007C117D /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastUpgradeCheck = 1020;
- ORGANIZATIONNAME = "The Chromium Authors";
- TargetAttributes = {
- 97C146ED1CF9000F007C117D = {
- CreatedOnToolsVersion = 7.3.1;
- LastSwiftMigration = 1100;
- };
- };
- };
- buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = en;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- Base,
- );
- mainGroup = 97C146E51CF9000F007C117D;
- productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- 97C146ED1CF9000F007C117D /* Runner */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
- 97C146EC1CF9000F007C117D /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
- 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
- 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
- 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXShellScriptBuildPhase section */
- 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- name = "Thin Binary";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin";
- };
- 9740EEB61CF901F6004384FC /* Run Script */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- name = "Run Script";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
- };
-/* End PBXShellScriptBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
- 97C146EA1CF9000F007C117D /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
- 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXVariantGroup section */
- 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
- isa = PBXVariantGroup;
- children = (
- 97C146FB1CF9000F007C117D /* Base */,
- );
- name = Main.storyboard;
- sourceTree = "";
- };
- 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
- isa = PBXVariantGroup;
- children = (
- 97C147001CF9000F007C117D /* Base */,
- );
- name = LaunchScreen.storyboard;
- sourceTree = "";
- };
-/* End PBXVariantGroup section */
-
-/* Begin XCBuildConfiguration section */
- 249021D3217E4FDB00AE95B9 /* Profile */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_COMMA = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
- CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
- CLANG_WARN_STRICT_PROTOTYPES = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- SDKROOT = iphoneos;
- SUPPORTED_PLATFORMS = iphoneos;
- TARGETED_DEVICE_FAMILY = "1,2";
- VALIDATE_PRODUCT = YES;
- };
- name = Profile;
- };
- 249021D4217E4FDB00AE95B9 /* Profile */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CLANG_ENABLE_MODULES = YES;
- CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
- ENABLE_BITCODE = NO;
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(PROJECT_DIR)/Flutter",
- );
- INFOPLIST_FILE = Runner/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
- LIBRARY_SEARCH_PATHS = (
- "$(inherited)",
- "$(PROJECT_DIR)/Flutter",
- );
- PRODUCT_BUNDLE_IDENTIFIER = com.example.demoApp;
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
- SWIFT_VERSION = 5.0;
- VERSIONING_SYSTEM = "apple-generic";
- };
- name = Profile;
- };
- 97C147031CF9000F007C117D /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_COMMA = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
- CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
- CLANG_WARN_STRICT_PROTOTYPES = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = dwarf;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- ENABLE_TESTABILITY = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- MTL_ENABLE_DEBUG_INFO = YES;
- ONLY_ACTIVE_ARCH = YES;
- SDKROOT = iphoneos;
- TARGETED_DEVICE_FAMILY = "1,2";
- };
- name = Debug;
- };
- 97C147041CF9000F007C117D /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_COMMA = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
- CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
- CLANG_WARN_STRICT_PROTOTYPES = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- SDKROOT = iphoneos;
- SUPPORTED_PLATFORMS = iphoneos;
- SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
- TARGETED_DEVICE_FAMILY = "1,2";
- VALIDATE_PRODUCT = YES;
- };
- name = Release;
- };
- 97C147061CF9000F007C117D /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CLANG_ENABLE_MODULES = YES;
- CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
- ENABLE_BITCODE = NO;
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(PROJECT_DIR)/Flutter",
- );
- INFOPLIST_FILE = Runner/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
- LIBRARY_SEARCH_PATHS = (
- "$(inherited)",
- "$(PROJECT_DIR)/Flutter",
- );
- PRODUCT_BUNDLE_IDENTIFIER = com.example.demoApp;
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- SWIFT_VERSION = 5.0;
- VERSIONING_SYSTEM = "apple-generic";
- };
- name = Debug;
- };
- 97C147071CF9000F007C117D /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CLANG_ENABLE_MODULES = YES;
- CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
- ENABLE_BITCODE = NO;
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(PROJECT_DIR)/Flutter",
- );
- INFOPLIST_FILE = Runner/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
- LIBRARY_SEARCH_PATHS = (
- "$(inherited)",
- "$(PROJECT_DIR)/Flutter",
- );
- PRODUCT_BUNDLE_IDENTIFIER = com.example.demoApp;
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
- SWIFT_VERSION = 5.0;
- VERSIONING_SYSTEM = "apple-generic";
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 97C147031CF9000F007C117D /* Debug */,
- 97C147041CF9000F007C117D /* Release */,
- 249021D3217E4FDB00AE95B9 /* Profile */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 97C147061CF9000F007C117D /* Debug */,
- 97C147071CF9000F007C117D /* Release */,
- 249021D4217E4FDB00AE95B9 /* Profile */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = 97C146E61CF9000F007C117D /* Project object */;
-}
diff --git a/demo_app/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/demo_app/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 1d526a16..00000000
--- a/demo_app/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
diff --git a/demo_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/demo_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
deleted file mode 100644
index a28140cf..00000000
--- a/demo_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
+++ /dev/null
@@ -1,91 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/demo_app/ios/Runner.xcworkspace/contents.xcworkspacedata b/demo_app/ios/Runner.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 1d526a16..00000000
--- a/demo_app/ios/Runner.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
diff --git a/demo_app/ios/Runner/AppDelegate.swift b/demo_app/ios/Runner/AppDelegate.swift
deleted file mode 100644
index 70693e4a..00000000
--- a/demo_app/ios/Runner/AppDelegate.swift
+++ /dev/null
@@ -1,13 +0,0 @@
-import UIKit
-import Flutter
-
-@UIApplicationMain
-@objc class AppDelegate: FlutterAppDelegate {
- override func application(
- _ application: UIApplication,
- didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
- ) -> Bool {
- GeneratedPluginRegistrant.register(with: self)
- return super.application(application, didFinishLaunchingWithOptions: launchOptions)
- }
-}
diff --git a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
deleted file mode 100644
index d36b1fab..00000000
--- a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
+++ /dev/null
@@ -1,122 +0,0 @@
-{
- "images" : [
- {
- "size" : "20x20",
- "idiom" : "iphone",
- "filename" : "Icon-App-20x20@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "20x20",
- "idiom" : "iphone",
- "filename" : "Icon-App-20x20@3x.png",
- "scale" : "3x"
- },
- {
- "size" : "29x29",
- "idiom" : "iphone",
- "filename" : "Icon-App-29x29@1x.png",
- "scale" : "1x"
- },
- {
- "size" : "29x29",
- "idiom" : "iphone",
- "filename" : "Icon-App-29x29@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "29x29",
- "idiom" : "iphone",
- "filename" : "Icon-App-29x29@3x.png",
- "scale" : "3x"
- },
- {
- "size" : "40x40",
- "idiom" : "iphone",
- "filename" : "Icon-App-40x40@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "40x40",
- "idiom" : "iphone",
- "filename" : "Icon-App-40x40@3x.png",
- "scale" : "3x"
- },
- {
- "size" : "60x60",
- "idiom" : "iphone",
- "filename" : "Icon-App-60x60@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "60x60",
- "idiom" : "iphone",
- "filename" : "Icon-App-60x60@3x.png",
- "scale" : "3x"
- },
- {
- "size" : "20x20",
- "idiom" : "ipad",
- "filename" : "Icon-App-20x20@1x.png",
- "scale" : "1x"
- },
- {
- "size" : "20x20",
- "idiom" : "ipad",
- "filename" : "Icon-App-20x20@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "29x29",
- "idiom" : "ipad",
- "filename" : "Icon-App-29x29@1x.png",
- "scale" : "1x"
- },
- {
- "size" : "29x29",
- "idiom" : "ipad",
- "filename" : "Icon-App-29x29@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "40x40",
- "idiom" : "ipad",
- "filename" : "Icon-App-40x40@1x.png",
- "scale" : "1x"
- },
- {
- "size" : "40x40",
- "idiom" : "ipad",
- "filename" : "Icon-App-40x40@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "76x76",
- "idiom" : "ipad",
- "filename" : "Icon-App-76x76@1x.png",
- "scale" : "1x"
- },
- {
- "size" : "76x76",
- "idiom" : "ipad",
- "filename" : "Icon-App-76x76@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "83.5x83.5",
- "idiom" : "ipad",
- "filename" : "Icon-App-83.5x83.5@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "1024x1024",
- "idiom" : "ios-marketing",
- "filename" : "Icon-App-1024x1024@1x.png",
- "scale" : "1x"
- }
- ],
- "info" : {
- "version" : 1,
- "author" : "xcode"
- }
-}
diff --git a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
deleted file mode 100644
index dc9ada47..00000000
Binary files a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png and /dev/null differ
diff --git a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
deleted file mode 100644
index 28c6bf03..00000000
Binary files a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png and /dev/null differ
diff --git a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
deleted file mode 100644
index 2ccbfd96..00000000
Binary files a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png and /dev/null differ
diff --git a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
deleted file mode 100644
index f091b6b0..00000000
Binary files a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png and /dev/null differ
diff --git a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
deleted file mode 100644
index 4cde1211..00000000
Binary files a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png and /dev/null differ
diff --git a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
deleted file mode 100644
index d0ef06e7..00000000
Binary files a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png and /dev/null differ
diff --git a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
deleted file mode 100644
index dcdc2306..00000000
Binary files a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png and /dev/null differ
diff --git a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
deleted file mode 100644
index 2ccbfd96..00000000
Binary files a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png and /dev/null differ
diff --git a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
deleted file mode 100644
index c8f9ed8f..00000000
Binary files a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png and /dev/null differ
diff --git a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
deleted file mode 100644
index a6d6b860..00000000
Binary files a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png and /dev/null differ
diff --git a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
deleted file mode 100644
index a6d6b860..00000000
Binary files a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png and /dev/null differ
diff --git a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
deleted file mode 100644
index 75b2d164..00000000
Binary files a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png and /dev/null differ
diff --git a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
deleted file mode 100644
index c4df70d3..00000000
Binary files a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png and /dev/null differ
diff --git a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
deleted file mode 100644
index 6a84f41e..00000000
Binary files a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png and /dev/null differ
diff --git a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
deleted file mode 100644
index d0e1f585..00000000
Binary files a/demo_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png and /dev/null differ
diff --git a/demo_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/demo_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
deleted file mode 100644
index 0bedcf2f..00000000
--- a/demo_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "images" : [
- {
- "idiom" : "universal",
- "filename" : "LaunchImage.png",
- "scale" : "1x"
- },
- {
- "idiom" : "universal",
- "filename" : "LaunchImage@2x.png",
- "scale" : "2x"
- },
- {
- "idiom" : "universal",
- "filename" : "LaunchImage@3x.png",
- "scale" : "3x"
- }
- ],
- "info" : {
- "version" : 1,
- "author" : "xcode"
- }
-}
diff --git a/demo_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/demo_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
deleted file mode 100644
index 9da19eac..00000000
Binary files a/demo_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png and /dev/null differ
diff --git a/demo_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/demo_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
deleted file mode 100644
index 9da19eac..00000000
Binary files a/demo_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png and /dev/null differ
diff --git a/demo_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/demo_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
deleted file mode 100644
index 9da19eac..00000000
Binary files a/demo_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png and /dev/null differ
diff --git a/demo_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/demo_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
deleted file mode 100644
index 89c2725b..00000000
--- a/demo_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# Launch Screen Assets
-
-You can customize the launch screen with your own desired assets by replacing the image files in this directory.
-
-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.
\ No newline at end of file
diff --git a/demo_app/ios/Runner/Base.lproj/LaunchScreen.storyboard b/demo_app/ios/Runner/Base.lproj/LaunchScreen.storyboard
deleted file mode 100644
index f2e259c7..00000000
--- a/demo_app/ios/Runner/Base.lproj/LaunchScreen.storyboard
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/demo_app/ios/Runner/Base.lproj/Main.storyboard b/demo_app/ios/Runner/Base.lproj/Main.storyboard
deleted file mode 100644
index f3c28516..00000000
--- a/demo_app/ios/Runner/Base.lproj/Main.storyboard
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/demo_app/ios/Runner/Info.plist b/demo_app/ios/Runner/Info.plist
deleted file mode 100644
index 5d77f707..00000000
--- a/demo_app/ios/Runner/Info.plist
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- CFBundleDevelopmentRegion
- $(DEVELOPMENT_LANGUAGE)
- CFBundleExecutable
- $(EXECUTABLE_NAME)
- CFBundleIdentifier
- $(PRODUCT_BUNDLE_IDENTIFIER)
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- demo_app
- CFBundlePackageType
- APPL
- CFBundleShortVersionString
- $(FLUTTER_BUILD_NAME)
- CFBundleSignature
- ????
- CFBundleVersion
- $(FLUTTER_BUILD_NUMBER)
- LSRequiresIPhoneOS
-
- UILaunchStoryboardName
- LaunchScreen
- UIMainStoryboardFile
- Main
- UISupportedInterfaceOrientations
-
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
-
- UISupportedInterfaceOrientations~ipad
-
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationPortraitUpsideDown
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
-
- UIViewControllerBasedStatusBarAppearance
-
-
-
diff --git a/demo_app/ios/Runner/Runner-Bridging-Header.h b/demo_app/ios/Runner/Runner-Bridging-Header.h
deleted file mode 100644
index 7335fdf9..00000000
--- a/demo_app/ios/Runner/Runner-Bridging-Header.h
+++ /dev/null
@@ -1 +0,0 @@
-#import "GeneratedPluginRegistrant.h"
\ No newline at end of file
diff --git a/demo_app/lib/assets/icons/avatar.png b/demo_app/lib/assets/icons/avatar.png
deleted file mode 100644
index 685ad1a3..00000000
Binary files a/demo_app/lib/assets/icons/avatar.png and /dev/null differ
diff --git a/demo_app/lib/assets/icons/back.png b/demo_app/lib/assets/icons/back.png
deleted file mode 100644
index 6c90e89b..00000000
Binary files a/demo_app/lib/assets/icons/back.png and /dev/null differ
diff --git a/demo_app/lib/assets/icons/badge.png b/demo_app/lib/assets/icons/badge.png
deleted file mode 100644
index 5d233517..00000000
Binary files a/demo_app/lib/assets/icons/badge.png and /dev/null differ
diff --git a/demo_app/lib/assets/icons/buttons.png b/demo_app/lib/assets/icons/buttons.png
deleted file mode 100644
index d7cf8870..00000000
Binary files a/demo_app/lib/assets/icons/buttons.png and /dev/null differ
diff --git a/demo_app/lib/assets/icons/buttons.svg b/demo_app/lib/assets/icons/buttons.svg
deleted file mode 100644
index 415c67d3..00000000
--- a/demo_app/lib/assets/icons/buttons.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/demo_app/lib/assets/icons/card.png b/demo_app/lib/assets/icons/card.png
deleted file mode 100644
index 79543ea6..00000000
Binary files a/demo_app/lib/assets/icons/card.png and /dev/null differ
diff --git a/demo_app/lib/assets/icons/chips.png b/demo_app/lib/assets/icons/chips.png
deleted file mode 100644
index 99b08372..00000000
Binary files a/demo_app/lib/assets/icons/chips.png and /dev/null differ
diff --git a/demo_app/lib/assets/icons/danger.svg b/demo_app/lib/assets/icons/danger.svg
deleted file mode 100644
index dea91e14..00000000
--- a/demo_app/lib/assets/icons/danger.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/demo_app/lib/assets/icons/dark.svg b/demo_app/lib/assets/icons/dark.svg
deleted file mode 100644
index a5e5eb1b..00000000
--- a/demo_app/lib/assets/icons/dark.svg
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/demo_app/lib/assets/icons/dribble.svg b/demo_app/lib/assets/icons/dribble.svg
deleted file mode 100644
index dbaca3b1..00000000
--- a/demo_app/lib/assets/icons/dribble.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/demo_app/lib/assets/icons/fb.svg b/demo_app/lib/assets/icons/fb.svg
deleted file mode 100644
index e6078c98..00000000
--- a/demo_app/lib/assets/icons/fb.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/demo_app/lib/assets/icons/google.svg b/demo_app/lib/assets/icons/google.svg
deleted file mode 100644
index d837859e..00000000
--- a/demo_app/lib/assets/icons/google.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/demo_app/lib/assets/icons/images.png b/demo_app/lib/assets/icons/images.png
deleted file mode 100644
index b5e4cb02..00000000
Binary files a/demo_app/lib/assets/icons/images.png and /dev/null differ
diff --git a/demo_app/lib/assets/icons/info.svg b/demo_app/lib/assets/icons/info.svg
deleted file mode 100644
index 21fd193c..00000000
--- a/demo_app/lib/assets/icons/info.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/demo_app/lib/assets/icons/items.png b/demo_app/lib/assets/icons/items.png
deleted file mode 100644
index 1a495321..00000000
Binary files a/demo_app/lib/assets/icons/items.png and /dev/null differ
diff --git a/demo_app/lib/assets/icons/light.svg b/demo_app/lib/assets/icons/light.svg
deleted file mode 100644
index bf6f73a6..00000000
--- a/demo_app/lib/assets/icons/light.svg
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/demo_app/lib/assets/icons/link.svg b/demo_app/lib/assets/icons/link.svg
deleted file mode 100644
index 9260d523..00000000
--- a/demo_app/lib/assets/icons/link.svg
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/demo_app/lib/assets/icons/linkedin.svg b/demo_app/lib/assets/icons/linkedin.svg
deleted file mode 100644
index 7adb1746..00000000
--- a/demo_app/lib/assets/icons/linkedin.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/demo_app/lib/assets/icons/lists.png b/demo_app/lib/assets/icons/lists.png
deleted file mode 100644
index e3e93174..00000000
Binary files a/demo_app/lib/assets/icons/lists.png and /dev/null differ
diff --git a/demo_app/lib/assets/icons/menu.png b/demo_app/lib/assets/icons/menu.png
deleted file mode 100644
index 0932d5f5..00000000
Binary files a/demo_app/lib/assets/icons/menu.png and /dev/null differ
diff --git a/demo_app/lib/assets/icons/next.png b/demo_app/lib/assets/icons/next.png
deleted file mode 100644
index 8d3c89d9..00000000
Binary files a/demo_app/lib/assets/icons/next.png and /dev/null differ
diff --git a/demo_app/lib/assets/icons/pinterest.svg b/demo_app/lib/assets/icons/pinterest.svg
deleted file mode 100644
index 7aa538e1..00000000
--- a/demo_app/lib/assets/icons/pinterest.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/demo_app/lib/assets/icons/primary.svg b/demo_app/lib/assets/icons/primary.svg
deleted file mode 100644
index c2ad37e4..00000000
--- a/demo_app/lib/assets/icons/primary.svg
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/demo_app/lib/assets/icons/secondary.svg b/demo_app/lib/assets/icons/secondary.svg
deleted file mode 100644
index 56c06ebe..00000000
--- a/demo_app/lib/assets/icons/secondary.svg
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/demo_app/lib/assets/icons/slack.svg b/demo_app/lib/assets/icons/slack.svg
deleted file mode 100644
index ed08c2a0..00000000
--- a/demo_app/lib/assets/icons/slack.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/demo_app/lib/assets/icons/slider.png b/demo_app/lib/assets/icons/slider.png
deleted file mode 100644
index 03fb809b..00000000
Binary files a/demo_app/lib/assets/icons/slider.png and /dev/null differ
diff --git a/demo_app/lib/assets/icons/success.svg b/demo_app/lib/assets/icons/success.svg
deleted file mode 100644
index b06b4ae5..00000000
--- a/demo_app/lib/assets/icons/success.svg
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/demo_app/lib/assets/icons/tabs.png b/demo_app/lib/assets/icons/tabs.png
deleted file mode 100644
index 49678a20..00000000
Binary files a/demo_app/lib/assets/icons/tabs.png and /dev/null differ
diff --git a/demo_app/lib/assets/icons/toast.png b/demo_app/lib/assets/icons/toast.png
deleted file mode 100644
index 44ee2d77..00000000
Binary files a/demo_app/lib/assets/icons/toast.png and /dev/null differ
diff --git a/demo_app/lib/assets/icons/toggle.png b/demo_app/lib/assets/icons/toggle.png
deleted file mode 100644
index f33816f9..00000000
Binary files a/demo_app/lib/assets/icons/toggle.png and /dev/null differ
diff --git a/demo_app/lib/assets/icons/twitter.svg b/demo_app/lib/assets/icons/twitter.svg
deleted file mode 100644
index ac962749..00000000
--- a/demo_app/lib/assets/icons/twitter.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/demo_app/lib/assets/icons/typo.png b/demo_app/lib/assets/icons/typo.png
deleted file mode 100644
index 90592362..00000000
Binary files a/demo_app/lib/assets/icons/typo.png and /dev/null differ
diff --git a/demo_app/lib/assets/icons/warning.svg b/demo_app/lib/assets/icons/warning.svg
deleted file mode 100644
index aae2b731..00000000
--- a/demo_app/lib/assets/icons/warning.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/demo_app/lib/assets/icons/whatsapp.svg b/demo_app/lib/assets/icons/whatsapp.svg
deleted file mode 100644
index 992ff345..00000000
--- a/demo_app/lib/assets/icons/whatsapp.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/demo_app/lib/assets/icons/youtube.svg b/demo_app/lib/assets/icons/youtube.svg
deleted file mode 100644
index b2503883..00000000
--- a/demo_app/lib/assets/icons/youtube.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/demo_app/lib/assets/logo/logo.png b/demo_app/lib/assets/logo/logo.png
deleted file mode 100644
index 27e5cae0..00000000
Binary files a/demo_app/lib/assets/logo/logo.png and /dev/null differ
diff --git a/demo_app/lib/main.dart b/demo_app/lib/main.dart
deleted file mode 100644
index eea11a65..00000000
--- a/demo_app/lib/main.dart
+++ /dev/null
@@ -1,19 +0,0 @@
-import 'package:flutter/material.dart';
-import 'screens/home.dart';
-
-
-void main() => runApp(MyApp());
-
-class MyApp extends StatelessWidget {
- @override
- Widget build(BuildContext context) {
- return MaterialApp(
- title: 'Flutter Demo',
- debugShowCheckedModeBanner: false,
- theme: ThemeData(
- primarySwatch: Colors.blue,
- ),
- home: HomePage(),
- );
- }
-}
diff --git a/demo_app/lib/screens/avatars.dart b/demo_app/lib/screens/avatars.dart
deleted file mode 100644
index fecf6873..00000000
--- a/demo_app/lib/screens/avatars.dart
+++ /dev/null
@@ -1,295 +0,0 @@
-import 'package:flutter/cupertino.dart';
-import 'package:flutter/material.dart';
-import 'package:ui_kit/components/avatar/gf_avatar.dart';
-import 'package:ui_kit/components/card/gf_card.dart';
-import 'package:ui_kit/components/typography/gf_typography.dart';
-import 'package:ui_kit/shape/gf_avatar_shape.dart';
-import 'package:ui_kit/types/gf_typography_type.dart';
-import 'package:ui_kit/colors/gf_color.dart';
-
-class Avatars extends StatefulWidget {
- @override
- _AvatarsState createState() => _AvatarsState();
-}
-
-class _AvatarsState extends State {
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- appBar: AppBar(
- backgroundColor: getGFColor(GFColor.dark),
- title: Text('Avatar', style: TextStyle(fontSize: 14),),
- ),
- body: Container(
- child: Column(
- children: [
- GFCard(
- content: Column(
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- GFTypography(
- text: 'Circle Avatar',
- type: GFTypographyType.typo6,
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFAvatar(
- backgroundColor: getGFColor(GFColor.primary),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- ),
- GFAvatar(
- backgroundColor: getGFColor(GFColor.secondary),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- ),
- GFAvatar(
- backgroundColor: getGFColor(GFColor.success),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- ),
- GFAvatar(
- backgroundColor: getGFColor(GFColor.info),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- ),
- GFAvatar(
- backgroundColor: getGFColor(GFColor.danger),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- ),
-
-
- ],
- ),
-
- SizedBox(
- height: 15,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFAvatar(
- backgroundColor: getGFColor(GFColor.warning),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- ),
- GFAvatar(
- backgroundColor: getGFColor(GFColor.dark),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- ),
- GFAvatar(
- backgroundColor: getGFColor(GFColor.light),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- ),
- GFAvatar(
- backgroundColor: getGFColor(GFColor.alt),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- ),
- GFAvatar(
- backgroundColor: getGFColor(GFColor.transparent),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.dark),
- ),
-
- ],
- ),
-
- ],
- ),
- ),
- GFCard(
- content: Column(
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- GFTypography(
- text: 'Square Avatar',
- type: GFTypographyType.typo6,
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFAvatar(
- backgroundColor: getGFColor(GFColor.primary),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- shape: GFAvatarShape.square,
- ),
- GFAvatar(
- backgroundColor: getGFColor(GFColor.secondary),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- shape: GFAvatarShape.square,
- ),
- GFAvatar(
- backgroundColor: getGFColor(GFColor.success),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- shape: GFAvatarShape.square,
- ),
- GFAvatar(
- backgroundColor: getGFColor(GFColor.info),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- shape: GFAvatarShape.square,
- ),
- GFAvatar(
- backgroundColor: getGFColor(GFColor.danger),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- shape: GFAvatarShape.square,
- ),
-
-
- ],
- ),
-
- SizedBox(
- height: 15,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFAvatar(
- backgroundColor: getGFColor(GFColor.warning),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- shape: GFAvatarShape.square,
- ),
- GFAvatar(
- backgroundColor: getGFColor(GFColor.dark),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- shape: GFAvatarShape.square,
- ),
- GFAvatar(
- backgroundColor: getGFColor(GFColor.light),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- shape: GFAvatarShape.square,
- ),
- GFAvatar(
- backgroundColor: getGFColor(GFColor.alt),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- shape: GFAvatarShape.square,
- ),
- GFAvatar(
- backgroundColor: getGFColor(GFColor.transparent),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.dark),
-
- ),
-
- ],
- ),
- ],
- ),
- ),
- GFCard(
- content: Column(
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- GFTypography(
- text: 'Standard Avatar',
- type: GFTypographyType.typo6,
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFAvatar(
- backgroundColor: getGFColor(GFColor.primary),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- shape: GFAvatarShape.standard,
- ),
- GFAvatar(
- backgroundColor: getGFColor(GFColor.secondary),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- shape: GFAvatarShape.standard,
- ),
- GFAvatar(
- backgroundColor: getGFColor(GFColor.success),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- shape: GFAvatarShape.standard,
- ),
- GFAvatar(
- backgroundColor: getGFColor(GFColor.info),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- shape: GFAvatarShape.standard,
- ),
- GFAvatar(
- backgroundColor: getGFColor(GFColor.danger),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- shape: GFAvatarShape.standard,
- ),
-
-
- ],
- ),
-
- SizedBox(
- height: 15,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFAvatar(
- backgroundColor: getGFColor(GFColor.warning),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- shape: GFAvatarShape.standard,
- ),
- GFAvatar(
- backgroundColor: getGFColor(GFColor.dark),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- shape: GFAvatarShape.standard,
- ),
- GFAvatar(
- backgroundColor: getGFColor(GFColor.light),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- shape: GFAvatarShape.standard,
- ),
- GFAvatar(
- backgroundColor: getGFColor(GFColor.alt),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.white),
- shape: GFAvatarShape.standard,
- ),
- GFAvatar(
- backgroundColor: getGFColor(GFColor.transparent),
- child: Icon(Icons.face),
- foregroundColor: getGFColor(GFColor.dark),
-
- ),
-
- ],
- ),
- ],
- ),
- ),
- ],
- ),
- )
- );
- }
-}
diff --git a/demo_app/lib/screens/badges.dart b/demo_app/lib/screens/badges.dart
deleted file mode 100644
index 5beb7ca3..00000000
--- a/demo_app/lib/screens/badges.dart
+++ /dev/null
@@ -1,760 +0,0 @@
-import 'package:flutter/material.dart';
-import 'package:ui_kit/colors/gf_color.dart';
-import 'package:ui_kit/components/badge/gf_badge.dart';
-import 'package:ui_kit/components/badge/gf_button_badge.dart';
-import 'package:ui_kit/components/badge/gf_icon_badge.dart';
-import 'package:ui_kit/components/card/gf_card.dart';
-import 'package:ui_kit/components/typography/gf_typography.dart';
-import 'package:ui_kit/components/tabs/gf_tabs.dart';
-import 'package:ui_kit/components/button/gf_icon_button.dart';
-import 'package:ui_kit/position/gf_position.dart';
-import 'package:ui_kit/shape/gf_badge_shape.dart';
-import 'package:ui_kit/shape/gf_button_shape.dart';
-import 'package:ui_kit/shape/gf_icon_button_shape.dart';
-import 'package:ui_kit/size/gf_size.dart';
-import 'package:ui_kit/types/gf_typography_type.dart';
-import 'package:ui_kit/types/gf_type.dart';
-import 'package:ui_kit/components/tabs/gf_tabBarView.dart';
-
-class Badges extends StatefulWidget {
- @override
- _BadgesState createState() => _BadgesState();
-}
-
-class _BadgesState extends State {
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- appBar: AppBar(
- backgroundColor: getGFColor(GFColor.dark),
- title: Text(
- 'Badges',
- style: TextStyle(fontSize: 14),
- ),
- ),
- body: GFTabs(
- height: MediaQuery.of(context).size.height,
- tabBarColor: Color(0xFFD3E9ED),
- initialIndex: 0,
- length: 3,
- tabs: [
- Padding(
- padding: EdgeInsets.only(top: 15, bottom: 15),
- child: Text('Badge'),
- ),
- Text('Button Badge'),
- Text('Icon Badge'),
- ],
- tabBarView: GFTabBarView(
- children: [
- ListView(
- children: [
- GFCard(
- content: Column(
- children: [
- GFTypography(
- text: 'Types of Badges',
- type: GFTypographyType.typo6,
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFBadge(
- text: '1',
- shape: GFBadgeShape.circle,
- color: GFColor.success,
- ),
- GFBadge(
- text: '1',
- shape: GFBadgeShape.square,
- color: GFColor.primary,
- ),
- GFBadge(
- text: '1',
- shape: GFBadgeShape.pills,
- color: GFColor.danger,
- textColor: GFColor.white,
- ),
- GFBadge(
- text: '1',
- shape: GFBadgeShape.standard,
- color: GFColor.warning,
- ),
- ],
- ),
- ],
- ),
- ),
- GFCard(
- content: Column(
- children: [
- GFTypography(
- text: 'Circled Badges with different Sizes',
- type: GFTypographyType.typo6,
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFBadge(
- text: '1',
- shape: GFBadgeShape.circle,
- size: GFSize.large,
- color: GFColor.success,
- ),
- GFBadge(
- text: '1',
- shape: GFBadgeShape.circle,
- size: GFSize.medium,
- color: GFColor.success,
- ),
- GFBadge(
- text: '1',
- shape: GFBadgeShape.circle,
- size: GFSize.small,
- color: GFColor.success,
- ),
- ],
- ),
- ],
- ),
- ),
- GFCard(
- content: Column(
- children: [
- GFTypography(
- text: 'Squared Badges with different sizes',
- type: GFTypographyType.typo6,
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFBadge(
- text: '1',
- shape: GFBadgeShape.square,
- size: GFSize.large,
- color: GFColor.primary,
- ),
- GFBadge(
- text: '1',
- shape: GFBadgeShape.square,
- size: GFSize.medium,
- color: GFColor.primary,
- ),
- GFBadge(
- text: '1',
- shape: GFBadgeShape.square,
- size: GFSize.small,
- color: GFColor.primary,
- ),
- ],
- ),
- ],
- ),
- ),
- GFCard(
- content: Column(
- children: [
- GFTypography(
- text: 'Pills with different sizes',
- type: GFTypographyType.typo6,
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFBadge(
- text: '1',
- shape: GFBadgeShape.pills,
- size: GFSize.large,
- color: GFColor.danger,
- textColor: GFColor.white,
- ),
- GFBadge(
- text: '1',
- shape: GFBadgeShape.pills,
- size: GFSize.medium,
- textColor: GFColor.white,
- color: GFColor.danger,
- ),
- GFBadge(
- text: '1',
- shape: GFBadgeShape.pills,
- size: GFSize.small,
- textColor: GFColor.white,
- color: GFColor.danger,
- ),
- ],
- ),
- ],
- ),
- ),
- GFCard(
- content: Column(
- children: [
- GFTypography(
- text: 'Standard Badges with different sizes',
- type: GFTypographyType.typo6,
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFBadge(
- text: '1',
- shape: GFBadgeShape.standard,
- size: GFSize.large,
- color: GFColor.warning,
- ),
- GFBadge(
- text: '1',
- shape: GFBadgeShape.standard,
- size: GFSize.medium,
- color: GFColor.warning,
- ),
- GFBadge(
- text: '1',
- shape: GFBadgeShape.standard,
- size: GFSize.small,
- color: GFColor.warning,
- ),
- ],
- ),
- ],
- ),
- )
- ],
- ),
- ListView(
- children: [
- GFCard(
- content: Column(
- children: [
- GFTypography(
- text: 'Types of Button Badges',
- type: GFTypographyType.typo6,
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButtonBadge(
- shape: GFButtonShape.pills,
- type: GFType.solid,
- color: GFColor.info,
- icon: GFBadge(
- text: '12',
- color: GFColor.warning,
- shape: GFBadgeShape.circle,
- ),
- onPressed: null,
- text: 'Pills',
- position: GFPosition.end,
- ),
- GFButtonBadge(
- shape: GFButtonShape.square,
- type: GFType.solid,
- color: GFColor.warning,
- icon: GFBadge(
- text: '12',
- shape: GFBadgeShape.circle,
- color: GFColor.info,
- ),
- onPressed: null,
- text: 'Square',
- ),
- GFButtonBadge(
- color: GFColor.success,
- shape: GFButtonShape.standard,
- type: GFType.solid,
- icon: GFBadge(
- text: '12',
- textColor: GFColor.white,
- color: GFColor.danger,
- shape: GFBadgeShape.circle,
- ),
- onPressed: null,
- text: 'Standard',
- ),
- ],
- ),
- ],
- ),
- ),
- GFCard(
- content: Column(
- children: [
- GFTypography(
- text: 'Positions of Button Badges',
- type: GFTypographyType.typo6,
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButtonBadge(
- shape: GFButtonShape.pills,
- type: GFType.solid,
- color: GFColor.info,
- icon: GFBadge(
- text: '12',
- color: GFColor.warning,
- shape: GFBadgeShape.circle,
- ),
- onPressed: null,
- text: 'Pills',
- position: GFPosition.start,
- ),
- GFButtonBadge(
- shape: GFButtonShape.square,
- type: GFType.solid,
- color: GFColor.warning,
- icon: GFBadge(
- text: '12',
- shape: GFBadgeShape.circle,
- color: GFColor.info,
- ),
- onPressed: null,
- text: 'Square',
- position: GFPosition.start,
- ),
- GFButtonBadge(
- color: GFColor.success,
- shape: GFButtonShape.standard,
- type: GFType.solid,
- icon: GFBadge(
- text: '12',
- textColor: GFColor.white,
- color: GFColor.danger,
- shape: GFBadgeShape.circle,
- ),
- onPressed: null,
- text: 'Standard',
- position: GFPosition.start,
- ),
- ],
- ),
- ],
- ),
- ),
- GFCard(
- content: Column(
- children: [
- GFTypography(
- text: 'Pilled shape Button Badges with sizes',
- type: GFTypographyType.typo6,
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButtonBadge(
- shape: GFButtonShape.pills,
- size: GFSize.large,
- type: GFType.solid,
- color: GFColor.info,
- icon: GFBadge(
- text: '12',
- color: GFColor.warning,
- size: GFSize.large,
- shape: GFBadgeShape.circle,
- ),
- onPressed: null,
- text: 'Solid',
- position: GFPosition.end,
- ),
- GFButtonBadge(
- shape: GFButtonShape.pills,
- size: GFSize.medium,
- type: GFType.outline,
- color: GFColor.info,
- icon: GFBadge(
- text: '12',
- color: GFColor.warning,
- size: GFSize.medium,
- shape: GFBadgeShape.circle,
- ),
- onPressed: null,
- text: 'Outline',
- position: GFPosition.end,
- ),
- GFButtonBadge(
- shape: GFButtonShape.pills,
- size: GFSize.small,
- type: GFType.transparent,
- color: GFColor.info,
- icon: GFBadge(
- text: '12',
- color: GFColor.warning,
- size: GFSize.small,
- shape: GFBadgeShape.circle,
- ),
- onPressed: null,
- text: 'Transp',
- position: GFPosition.end,
- ),
- ],
- ),
- ],
- ),
- ),
- GFCard(
- content: Column(
- children: [
- GFTypography(
- text: 'Squared shape Button Badges with sizes',
- type: GFTypographyType.typo6,
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButtonBadge(
- shape: GFButtonShape.square,
- size: GFSize.large,
- type: GFType.solid,
- color: GFColor.warning,
- icon: GFBadge(
- text: '12',
- color: GFColor.info,
- size: GFSize.large,
- shape: GFBadgeShape.circle,
- ),
- onPressed: null,
- text: 'Solid',
- position: GFPosition.end,
- ),
- GFButtonBadge(
- shape: GFButtonShape.square,
- size: GFSize.medium,
- type: GFType.outline,
- color: GFColor.warning,
- icon: GFBadge(
- text: '12',
- color: GFColor.info,
- size: GFSize.medium,
- shape: GFBadgeShape.circle,
- ),
- onPressed: null,
- text: 'Outline',
- position: GFPosition.end,
- ),
- GFButtonBadge(
- shape: GFButtonShape.square,
- size: GFSize.small,
- type: GFType.transparent,
- color: GFColor.warning,
- icon: GFBadge(
- text: '12',
- color: GFColor.info,
- size: GFSize.small,
- shape: GFBadgeShape.circle,
- ),
- onPressed: null,
- text: 'Transp',
- position: GFPosition.end,
- ),
- ],
- ),
- ],
- ),
- ),
- GFCard(
- content: Column(
- children: [
- GFTypography(
- text: 'Standard Button Badges with sizes',
- type: GFTypographyType.typo6,
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButtonBadge(
- shape: GFButtonShape.standard,
- size: GFSize.large,
- type: GFType.solid,
- color: GFColor.primary,
- icon: GFBadge(
- text: '12',
- color: GFColor.danger,
- size: GFSize.large,
- textColor: GFColor.white,
- shape: GFBadgeShape.circle,
- ),
- onPressed: null,
- text: 'Solid',
- position: GFPosition.end,
- ),
- GFButtonBadge(
- shape: GFButtonShape.standard,
- size: GFSize.medium,
- type: GFType.outline,
- color: GFColor.primary,
- icon: GFBadge(
- text: '12',
- color: GFColor.danger,
- textColor: GFColor.white,
- size: GFSize.medium,
- shape: GFBadgeShape.circle,
- ),
- onPressed: null,
- text: 'Outline',
- position: GFPosition.end,
- ),
- GFButtonBadge(
- shape: GFButtonShape.standard,
- size: GFSize.small,
- type: GFType.transparent,
- color: GFColor.primary,
- icon: GFBadge(
- text: '12',
- color: GFColor.danger,
- textColor: GFColor.white,
- size: GFSize.small,
- shape: GFBadgeShape.circle,
- ),
- onPressed: null,
- text: 'Transp',
- position: GFPosition.end,
- ),
- ],
- ),
- ],
- ),
- )
- ],
- ),
- ListView(
- children: [
- GFCard(
- content: Column(
- children: [
- GFTypography(
- text: 'Types of Icon Badges',
- type: GFTypographyType.typo6,
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFIconBadge(
- child: GFIconButton(
- shape: GFIconButtonShape.pills,
- color: GFColor.success,
- type: GFType.solid,
- onPressed: null,
- icon: Icon(Icons.mail),
- ),
- counterChild: GFBadge(
- text: '12',
- shape: GFBadgeShape.circle,
- size: GFSize.small,
- )),
- GFIconBadge(
- child: GFIconButton(
- shape: GFIconButtonShape.square,
- color: GFColor.primary,
- type: GFType.solid,
- onPressed: null,
- icon: Icon(Icons.mail),
- ),
- counterChild: GFBadge(
- text: '12',
- shape: GFBadgeShape.circle,
- size: GFSize.small,
- )),
- GFIconBadge(
- child: GFIconButton(
- shape: GFIconButtonShape.pills,
- color: GFColor.danger,
- type: GFType.solid,
- onPressed: null,
- icon: Icon(Icons.mail),
- ),
- counterChild: GFBadge(
- text: '12',
- shape: GFBadgeShape.circle,
- size: GFSize.small,
- )),
- GFIconBadge(
- child: GFIconButton(
- shape: GFIconButtonShape.standard,
- type: GFType.solid,
- color: GFColor.warning,
- onPressed: null,
- icon: Icon(Icons.mail),
- ),
- counterChild: GFBadge(
- text: '12',
- shape: GFBadgeShape.circle,
- size: GFSize.small,
- )),
- ],
- )
- ],
- ),
- ),
- GFCard(
- content: Column(
- children: [
- GFTypography(
- text: 'Shapes of Icon Badges',
- type: GFTypographyType.typo6,
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFIconBadge(
- child: GFIconButton(
- shape: GFIconButtonShape.pills,
- onPressed: null,
- icon: Icon(Icons.mail),
- ),
- counterChild: GFBadge(
- text: '12',
- shape: GFBadgeShape.circle,
- size: GFSize.small,
- )),
- GFIconBadge(
- child: GFIconButton(
- shape: GFIconButtonShape.square,
- onPressed: null,
- icon: Icon(Icons.mail),
- ),
- counterChild: GFBadge(
- text: '12',
- color: GFColor.dark,
- shape: GFBadgeShape.circle,
- size: GFSize.small,
- )),
- GFIconBadge(
- child: GFIconButton(
- shape: GFIconButtonShape.pills,
- onPressed: null,
- icon: Icon(Icons.mail),
- ),
- counterChild: GFBadge(
- text: '12',
- shape: GFBadgeShape.circle,
- size: GFSize.small,
- )),
- GFIconBadge(
- child: GFIconButton(
- shape: GFIconButtonShape.standard,
- onPressed: null,
- icon: Icon(Icons.mail),
- ),
- counterChild: GFBadge(
- text: '12',
- shape: GFBadgeShape.circle,
- size: GFSize.small,
- ),
- ),
- ],
- )
- ],
- ),
- ),
- GFCard(
- content: Column(
- children: [
- GFTypography(
- text: 'Sizes of Icon Badges',
- type: GFTypographyType.typo6,
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFIconBadge(
- child: GFIconButton(
- size: GFSize.large,
- onPressed: null,
- icon: Icon(Icons.mail),
- ),
- counterChild: GFBadge(
- text: '12',
- shape: GFBadgeShape.circle,
- size: GFSize.small,
- )),
- GFIconBadge(
- child: GFIconButton(
- size: GFSize.medium,
- onPressed: null,
- icon: Icon(Icons.mail),
- ),
- counterChild: GFBadge(
- text: '12',
- shape: GFBadgeShape.circle,
- size: GFSize.small,
- )),
- GFIconBadge(
- child: GFIconButton(
- size: GFSize.small,
- onPressed: null,
- icon: Icon(Icons.mail),
- ),
- counterChild: GFBadge(
- text: '12',
- shape: GFBadgeShape.circle,
- size: GFSize.small,
- )),
- ],
- )
- ],
- ),
- )
- ],
- )
- ],
- ),
- indicatorColor: getGFColor(GFColor.dark),
- indicatorSize: TabBarIndicatorSize.label,
- labelColor: getGFColor(GFColor.success),
- unselectedLabelColor: Colors.black,
- labelStyle: TextStyle(
- fontWeight: FontWeight.w500,
- fontSize: 13.0,
- color: Colors.deepOrange,
- fontFamily: 'OpenSansBold',
- ),
- unselectedLabelStyle: TextStyle(
- fontWeight: FontWeight.w500,
- fontSize: 13.0,
- color: Colors.black,
- fontFamily: 'OpenSansBold',
- ),
- ),
- );
- }
-}
diff --git a/demo_app/lib/screens/badges/badges.dart b/demo_app/lib/screens/badges/badges.dart
deleted file mode 100644
index 34ff7a15..00000000
--- a/demo_app/lib/screens/badges/badges.dart
+++ /dev/null
@@ -1,295 +0,0 @@
-import 'package:flutter/material.dart';
-import 'package:flutter_svg/flutter_svg.dart';
-import 'package:ui_kit/colors/gf_color.dart';
-import 'package:ui_kit/components/badge/gf_badge.dart';
-import 'package:ui_kit/components/badge/gf_button_badge.dart';
-import 'package:ui_kit/components/badge/gf_icon_badge.dart';
-import 'package:ui_kit/components/card/gf_card.dart';
-import 'package:ui_kit/components/typography/gf_typography.dart';
-import 'package:ui_kit/components/tabs/gf_tabs.dart';
-import 'package:ui_kit/components/button/gf_icon_button.dart';
-import 'package:ui_kit/position/gf_position.dart';
-import 'package:ui_kit/shape/gf_badge_shape.dart';
-import 'package:ui_kit/shape/gf_button_shape.dart';
-import 'package:ui_kit/size/gf_size.dart';
-import 'package:ui_kit/types/gf_typography_type.dart';
-import 'package:ui_kit/types/gf_type.dart';
-import 'package:ui_kit/components/tabs/gf_tabBarView.dart';
-
-class Badges extends StatefulWidget {
- @override
- _BadgesState createState() => _BadgesState();
-}
-
-class _BadgesState extends State {
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- appBar: AppBar(
- backgroundColor: getGFColor(GFColor.dark),
- title: Text(
- 'Badges',
- style: TextStyle(fontSize: 17),
- ),
- centerTitle: true,
- ),
- body: ListView(
- children: [
- Padding(
- padding: EdgeInsets.only(left: 15, top: 20),
- child: GFTypography(
- text: 'With Buttons',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButtonBadge(
- icon: GFBadge(
- text: '6',
- shape: GFBadgeShape.pills,
- ),
- onPressed: () {},
- text: 'Primary',
- ),
- GFButtonBadge(
- icon: GFBadge(
- text: '6',
- shape: GFBadgeShape.pills,
- ),
- onPressed: () {},
- text: 'Second',
- color: GFColor.secondary,
- ),
- GFButtonBadge(
- icon: GFBadge(
- text: '6',
- shape: GFBadgeShape.pills,
- ),
- onPressed: () {},
- text: 'Success',
- color: GFColor.success,
- ),
- ],
- ),
- SizedBox(
- height: 20,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButtonBadge(
- icon: GFBadge(
- text: '6',
- shape: GFBadgeShape.pills,
- ),
- onPressed: () {},
- text: 'Warning',
- color: GFColor.warning,
- ),
- GFButtonBadge(
- icon: GFBadge(
- text: '6',
- shape: GFBadgeShape.pills,
- ),
- onPressed: () {},
- text: 'Danger',
- color: GFColor.danger,
- ),
- GFButtonBadge(
- icon: GFBadge(
- text: '6',
- shape: GFBadgeShape.pills,
- ),
- onPressed: () {},
- text: 'Info',
- color: GFColor.info,
- ),
- ],
- ),
- SizedBox(
- height: 20,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButtonBadge(
- icon: GFBadge(
- text: '6',
- shape: GFBadgeShape.pills,
- ),
- onPressed: () {},
- text: 'Light',
- color: GFColor.light,
- ),
- GFButtonBadge(
- icon: GFBadge(
- text: '6',
- shape: GFBadgeShape.pills,
- ),
- onPressed: () {},
- text: 'Dark',
- textStyle: TextStyle(color: getGFColor(GFColor.white)),
- color: GFColor.dark,
- ),
- GFButtonBadge(
- icon: GFBadge(
- text: '6',
- shape: GFBadgeShape.pills,
- ),
- onPressed: () {},
- text: 'Link',
- color: GFColor.transparent,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- Padding(
- padding: EdgeInsets.only(left: 15, top: 20),
- child: GFTypography(
- text: 'Icon with Badges',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- children: [
- SizedBox(
- height: 20,
- ),
- Row(
- children: [
- GFIconBadge(
- child: GFIconButton(
- type: GFType.transparent,
- onPressed: () {},
- icon: SvgPicture.asset(
- 'lib/assets/icons/primary.svg',
- color: getGFColor(GFColor.primary),
- )),
- counterChild: GFBadge(
- text: '12',
- shape: GFBadgeShape.circle,
- size: GFSize.small,
- )),
- GFIconBadge(
- child: GFIconButton(
- type: GFType.transparent,
- onPressed: () {},
- icon: SvgPicture.asset(
- 'lib/assets/icons/secondary.svg',
- color: getGFColor(GFColor.secondary),
- )),
- counterChild: GFBadge(
- text: '12',
- shape: GFBadgeShape.circle,
- size: GFSize.small,
- )),
- GFIconBadge(
- child: GFIconButton(
- type: GFType.transparent,
- onPressed: () {},
- icon: SvgPicture.asset(
- 'lib/assets/icons/success.svg',
- color: getGFColor(GFColor.success),
- )),
- counterChild: GFBadge(
- text: '12',
- shape: GFBadgeShape.circle,
- size: GFSize.small,
- )),
- GFIconBadge(
- child: GFIconButton(
- type: GFType.transparent,
- onPressed: () {},
- icon: SvgPicture.asset(
- 'lib/assets/icons/warning.svg',
- color: getGFColor(GFColor.warning),
- )),
- counterChild: GFBadge(
- text: '12',
- shape: GFBadgeShape.circle,
- size: GFSize.small,
- )),
- GFIconBadge(
- child: GFIconButton(
- type: GFType.transparent,
- onPressed: () {},
- icon: SvgPicture.asset(
- 'lib/assets/icons/danger.svg',
- color: getGFColor(GFColor.danger),
- )),
- counterChild: GFBadge(
- text: '12',
- shape: GFBadgeShape.circle,
- size: GFSize.small,
- )),
- ],
- ),
- Row(
- children: [
- GFIconBadge(
- child: GFIconButton(
- type: GFType.transparent,
- onPressed: () {},
- icon: SvgPicture.asset(
- 'lib/assets/icons/info.svg',
- color: getGFColor(GFColor.info),
- )),
- counterChild: GFBadge(
- text: '12',
- shape: GFBadgeShape.standard,
- size: GFSize.small,
- )),
- GFIconBadge(
- child: GFIconButton(
- type: GFType.transparent,
- onPressed: () {},
- icon: SvgPicture.asset(
- 'lib/assets/icons/light.svg',
- color: getGFColor(GFColor.light),
- )),
- counterChild: GFBadge(
- text: '12',
- shape: GFBadgeShape.square,
- size: GFSize.small,
- )),
- GFIconBadge(
- child: GFIconButton(
- type: GFType.transparent,
- onPressed: () {},
- icon: SvgPicture.asset(
- 'lib/assets/icons/dark.svg',
- color: getGFColor(GFColor.dark),
- )),
- counterChild: GFBadge(
- text: '12',
- shape: GFBadgeShape.pills,
- size: GFSize.small,
- )),
- ],
- )
- ],
- ),
- ),
- ],
- ),
- );
- }
-}
diff --git a/demo_app/lib/screens/button/button-types.dart b/demo_app/lib/screens/button/button-types.dart
deleted file mode 100644
index a9ffb0bb..00000000
--- a/demo_app/lib/screens/button/button-types.dart
+++ /dev/null
@@ -1,237 +0,0 @@
-import 'package:demo_app/screens/avatars.dart';
-import 'package:demo_app/screens/button/shadow-buttons.dart';
-import 'package:ui_kit/components/avatar/gf_avatar.dart';
-
-import 'standard-buttons.dart';
-import 'package:flutter/material.dart';
-import 'package:flutter/cupertino.dart';
-import 'package:ui_kit/colors/gf_color.dart';
-import 'package:ui_kit/components/card/gf_card.dart';
-import 'package:ui_kit/components/list_tile/gf_list_tile.dart';
-import 'pill-buttons.dart';
-import 'square-buttons.dart';
-import 'icon-buttons.dart';
-import 'social-buttons.dart';
-
-class ButtonTypes extends StatefulWidget {
- @override
- _ButtonTypesState createState() => _ButtonTypesState();
-}
-
-class _ButtonTypesState extends State {
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- appBar: AppBar(
- backgroundColor: getGFColor(GFColor.dark),
- leading: GestureDetector(
- onTap: (){
- Navigator.pop(context);
- },
- child:Image.asset('lib/assets/icons/back.png')
- ),
- title: Text('Buttons', style: TextStyle(fontSize: 17),),
- centerTitle: true,
- ),
-
- body: ListView(
- children: [
- SizedBox(
- height: 20,
- ),
- GestureDetector(
- onTap: (){
- Navigator.push(
- context,
- MaterialPageRoute(
- builder: (BuildContext context) => StandardButtons()
- ),
- );
- },
- child:Container(
- margin: EdgeInsets.only(left: 15, right: 15, top: 20),
- padding: EdgeInsets.all(5),
- decoration: BoxDecoration(
- borderRadius: BorderRadius.all(Radius.circular(7)),
- color: getGFColor(GFColor.dark),
- boxShadow: [
- BoxShadow(
- color: Colors.black.withOpacity(0.40),
- blurRadius: 5.0
- )
- ]
- ),
- child: GFListTile(
- color: getGFColor(GFColor.dark),
- showDivider: false,
- title: Text('Standard Buttons', style: TextStyle(color: getGFColor(GFColor.white)),),
- icon: Image.asset('lib/assets/icons/next.png'),
-
- ),
- )
- ),
-
- GestureDetector(
- onTap: (){
- Navigator.push(
- context,
- MaterialPageRoute(
- builder: (BuildContext context) => PillsButtons()
- ),
- );
- },
- child:Container(
- margin: EdgeInsets.only(left: 15, right: 15, top: 20),
- padding: EdgeInsets.all(5),
- decoration: BoxDecoration(
- borderRadius: BorderRadius.all(Radius.circular(7)),
- color: getGFColor(GFColor.dark),
- boxShadow: [
- BoxShadow(
- color: Colors.black.withOpacity(0.40),
- blurRadius: 5.0
- )
- ]
- ),
- child: GFListTile(
- color: getGFColor(GFColor.dark),
- showDivider: false,
- title: Text('Pills Buttons', style: TextStyle(color: getGFColor(GFColor.white)),),
- icon: Image.asset('lib/assets/icons/next.png')
- ),
- )
- ),
-
-
- GestureDetector(
- onTap: (){
- Navigator.push(
- context,
- MaterialPageRoute(
- builder: (BuildContext context) => SquareButtons()
- ),
- );
- },
- child:Container(
- margin: EdgeInsets.only(left: 15, right: 15, top: 20),
- padding: EdgeInsets.all(5),
- decoration: BoxDecoration(
- borderRadius: BorderRadius.all(Radius.circular(7)),
- color: getGFColor(GFColor.dark),
- boxShadow: [
- BoxShadow(
- color: Colors.black.withOpacity(0.40),
- blurRadius: 5.0
- )
- ]
- ),
- child: GFListTile(
- color: getGFColor(GFColor.dark),
- showDivider: false,
- title: Text('Square Buttons', style: TextStyle(color: getGFColor(GFColor.white)),),
- icon: Image.asset('lib/assets/icons/next.png')
- ),
- )
- ),
-
- GestureDetector(
- onTap: (){
- Navigator.push(
- context,
- MaterialPageRoute(
- builder: (BuildContext context) => ShadowButtons()
- ),
- );
- },
- child:Container(
- margin: EdgeInsets.only(left: 15, right: 15, top: 20),
- padding: EdgeInsets.all(5),
- decoration: BoxDecoration(
- borderRadius: BorderRadius.all(Radius.circular(7)),
- color: getGFColor(GFColor.dark),
- boxShadow: [
- BoxShadow(
- color: Colors.black.withOpacity(0.40),
- blurRadius: 5.0
- )
- ]
- ),
- child: GFListTile(
- color: getGFColor(GFColor.dark),
- showDivider: false,
- title: Text('Shadow Buttons', style: TextStyle(color: getGFColor(GFColor.white)),),
- icon: Image.asset('lib/assets/icons/next.png')
- ),
- )
- ),
-
- GestureDetector(
- onTap: (){
- Navigator.push(
- context,
- MaterialPageRoute(
- builder: (BuildContext context) => IconButtons()
- ),
- );
- },
- child:Container(
- margin: EdgeInsets.only(left: 15, right: 15, top: 20),
- padding: EdgeInsets.all(5),
- decoration: BoxDecoration(
- borderRadius: BorderRadius.all(Radius.circular(7)),
- color: getGFColor(GFColor.dark),
- boxShadow: [
- BoxShadow(
- color: Colors.black.withOpacity(0.40),
- blurRadius: 5.0
- )
- ]
- ),
- child: GFListTile(
- color: getGFColor(GFColor.dark),
- showDivider: false,
- title: Text('Icons Buttons', style: TextStyle(color: getGFColor(GFColor.white)),),
- icon: Image.asset('lib/assets/icons/next.png')
- ),
- )
- ),
-
- GestureDetector(
- onTap: (){
- Navigator.push(
- context,
- MaterialPageRoute(
- builder: (BuildContext context) => SocialButtons()
- ),
- );
- },
- child:Container(
-
- margin: EdgeInsets.only(left: 15, right: 15, top: 20, bottom: 20),
- padding: EdgeInsets.all(5),
- decoration: BoxDecoration(
- borderRadius: BorderRadius.all(Radius.circular(7)),
- color: getGFColor(GFColor.dark),
- boxShadow: [
- BoxShadow(
- color: Colors.black.withOpacity(0.40),
- blurRadius: 5.0
- )
- ]
- ),
- child: GFListTile(
- color: getGFColor(GFColor.dark),
- showDivider: false,
- title: Text('Social Buttons', style: TextStyle(color: getGFColor(GFColor.white)),),
- icon: Image.asset('lib/assets/icons/next.png')
- ),
- )
- ),
-
-
- ],
- )
-
- );
- }
-}
diff --git a/demo_app/lib/screens/button/icon-buttons.dart b/demo_app/lib/screens/button/icon-buttons.dart
deleted file mode 100644
index 80309f0b..00000000
--- a/demo_app/lib/screens/button/icon-buttons.dart
+++ /dev/null
@@ -1,1185 +0,0 @@
-import 'package:flutter/material.dart';
-import 'package:ui_kit/colors/gf_color.dart';
-import 'package:ui_kit/components/button/gf_button.dart';
-import 'package:ui_kit/components/button/gf_icon_button.dart';
-import 'package:ui_kit/components/card/gf_card.dart';
-import 'package:ui_kit/components/typography/gf_typography.dart';
-import 'package:ui_kit/types/gf_typography_type.dart';
-import 'package:ui_kit/shape/gf_button_shape.dart';
-import 'package:ui_kit/types/gf_type.dart';
-import 'package:ui_kit/size/gf_size.dart';
-import 'package:flutter_svg/flutter_svg.dart';
-
-class IconButtons extends StatefulWidget {
- @override
- _IconButtonsState createState() => _IconButtonsState();
-}
-
-class _IconButtonsState extends State {
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- appBar: AppBar(
- backgroundColor: getGFColor(GFColor.dark),
- leading: GestureDetector(
- onTap: () {
- Navigator.pop(context);
- },
- child: Image.asset('lib/assets/icons/back.png')),
- title: Text(
- 'Icon Buttons',
- style: TextStyle(fontSize: 17),
- ),
- centerTitle: true,
- ),
- body: ListView(
- children: [
- Padding(
- padding: EdgeInsets.only(left: 15, top: 30),
- child: GFTypography(
- text: 'Solid Icons',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
-//
-// GFCard(
-// content: Column(
-// children: [
-// Row(
-// mainAxisAlignment: MainAxisAlignment.spaceBetween,
-// children: [
-//// GFIconButton(
-//// onPressed: (){},
-//// icon: Icon(Icons.ac_unit),
-////// iconSize: 12.0,
-//// type: GFType.solid,
-//// shape: GFButtonShape.pills,
-//// size: GFSize.large,
-////// buttonBoxShadow: true,
-////// color: GFColor.primary,
-////// boxShadow: BoxShadow(
-////// color: Colors.pink,
-////// blurRadius: 2.0,
-////// spreadRadius: 1.0,
-////// offset: Offset.zero,
-////// ),
-////// borderSide: BorderSide(color: Colors.pink, width: 1.0, style: BorderStyle.solid),
-////// borderShape: RoundedRectangleBorder(side: BorderSide(color: Colors.pink, width: 2.0, style: BorderStyle.solid), borderRadius: BorderRadius.zero),
-//// ),
-//
-//
-// ],
-// ),
-// ],
-// )
-// )
-
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- Expanded(
- child: GFButton(
- onPressed: () {},
- child: Text(
- "Primary",
- ),
- icon: SvgPicture.asset(
- 'lib/assets/icons/primary.svg')),
- ),
- SizedBox(
- width: 6,
- ),
- Expanded(
- child: GFButton(
- onPressed: () {},
- child: Text("Second"),
- icon: SvgPicture.asset(
- 'lib/assets/icons/secondary.svg'),
- color: GFColor.secondary,
- ),
- ),
- SizedBox(
- width: 6,
- ),
- Expanded(
- child: GFButton(
- onPressed: () {},
- child: Text(
- "Success",
- ),
- icon:
- SvgPicture.asset('lib/assets/icons/success.svg'),
- color: GFColor.success,
- ),
- )
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Warning",
- ),
- icon: SvgPicture.asset('lib/assets/icons/warning.svg'),
- color: GFColor.warning,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Danger",
- ),
- icon: SvgPicture.asset('lib/assets/icons/danger.svg'),
- color: GFColor.danger,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Info",
- ),
- icon: SvgPicture.asset('lib/assets/icons/info.svg'),
- color: GFColor.info,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Light",
- ),
- icon: SvgPicture.asset('lib/assets/icons/light.svg'),
- type: GFType.solid,
- color: GFColor.light,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Dark",
- style: TextStyle(color: getGFColor(GFColor.white)),
- ),
- icon: SvgPicture.asset('lib/assets/icons/dark.svg'),
- color: GFColor.dark,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Link",
- ),
- icon: SvgPicture.asset('lib/assets/icons/link.svg'),
- color: GFColor.transparent,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
-
- Padding(
- padding: EdgeInsets.only(left: 15, top: 10),
- child: GFTypography(
- text: 'Outline Icons',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
-
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- Expanded(
- child: GFButton(
- onPressed: () {},
- type: GFType.outline,
- child: Text(
- "Primary",
- ),
- icon: SvgPicture.asset(
- 'lib/assets/icons/primary.svg',
- color: getGFColor(GFColor.primary),
- )),
- ),
- SizedBox(
- width: 6,
- ),
- Expanded(
- child: GFButton(
- onPressed: () {},
- child: Text("Second"),
- icon: SvgPicture.asset(
- 'lib/assets/icons/secondary.svg',
- color: getGFColor(GFColor.secondary),
- ),
- color: GFColor.secondary,
- type: GFType.outline,
- ),
- ),
- SizedBox(
- width: 6,
- ),
- Expanded(
- child: GFButton(
- onPressed: () {},
- child: Text(
- "Success",
- ),
- icon: SvgPicture.asset(
- 'lib/assets/icons/success.svg',
- color: getGFColor(GFColor.success),
- ),
- color: GFColor.success,
- type: GFType.outline,
- ),
- )
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Warning",
- ),
- icon: SvgPicture.asset(
- 'lib/assets/icons/warning.svg',
- color: getGFColor(GFColor.warning),
- ),
- color: GFColor.warning,
- type: GFType.outline,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Danger",
- ),
- icon: SvgPicture.asset(
- 'lib/assets/icons/danger.svg',
- color: getGFColor(GFColor.danger),
- ),
- color: GFColor.danger,
- type: GFType.outline,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Info",
- ),
- icon: SvgPicture.asset(
- 'lib/assets/icons/info.svg',
- color: getGFColor(GFColor.info),
- ),
- color: GFColor.info,
- type: GFType.outline,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Light",
- ),
- icon: SvgPicture.asset(
- 'lib/assets/icons/light.svg',
- color: getGFColor(GFColor.light),
- ),
- type: GFType.outline,
- color: GFColor.light,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Dark",
- ),
- icon: SvgPicture.asset(
- 'lib/assets/icons/dark.svg',
- color: getGFColor(GFColor.dark),
- ),
- color: GFColor.dark,
- type: GFType.outline,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Link",
- ),
- icon: SvgPicture.asset(
- 'lib/assets/icons/link.svg',
- color: getGFColor(GFColor.alt),
- ),
- color: GFColor.transparent,
- type: GFType.outline,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
-
- Padding(
- padding: EdgeInsets.only(left: 15, top: 10),
- child: GFTypography(
- text: 'Outline 2x Icons',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
-
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- Expanded(
- child: GFButton(
- onPressed: () {},
- type: GFType.outline2x,
- child: Text(
- "Primary",
- ),
- icon: SvgPicture.asset(
- 'lib/assets/icons/primary.svg',
- color: getGFColor(GFColor.primary),
- )),
- ),
- SizedBox(
- width: 6,
- ),
- Expanded(
- child: GFButton(
- onPressed: () {},
- child: Text("Second"),
- icon: SvgPicture.asset(
- 'lib/assets/icons/secondary.svg',
- color: getGFColor(GFColor.secondary),
- ),
- color: GFColor.secondary,
- type: GFType.outline2x,
- ),
- ),
- SizedBox(
- width: 6,
- ),
- Expanded(
- child: GFButton(
- onPressed: () {},
- child: Text(
- "Success",
- ),
- icon: SvgPicture.asset(
- 'lib/assets/icons/success.svg',
- color: getGFColor(GFColor.success),
- ),
- color: GFColor.success,
- type: GFType.outline2x,
- ),
- )
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Warning",
- ),
- icon: SvgPicture.asset(
- 'lib/assets/icons/warning.svg',
- color: getGFColor(GFColor.warning),
- ),
- color: GFColor.warning,
- type: GFType.outline2x,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Danger",
- ),
- icon: SvgPicture.asset(
- 'lib/assets/icons/danger.svg',
- color: getGFColor(GFColor.danger),
- ),
- color: GFColor.danger,
- type: GFType.outline2x,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Info",
- ),
- icon: SvgPicture.asset(
- 'lib/assets/icons/info.svg',
- color: getGFColor(GFColor.info),
- ),
- color: GFColor.info,
- type: GFType.outline2x,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Light",
- ),
- icon: SvgPicture.asset(
- 'lib/assets/icons/light.svg',
- color: getGFColor(GFColor.light),
- ),
- type: GFType.outline2x,
- color: GFColor.light,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Dark",
- ),
- icon: SvgPicture.asset(
- 'lib/assets/icons/dark.svg',
- color: getGFColor(GFColor.dark),
- ),
- color: GFColor.dark,
- type: GFType.outline2x,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Link",
- ),
- icon: SvgPicture.asset(
- 'lib/assets/icons/link.svg',
- color: getGFColor(GFColor.alt),
- ),
- color: GFColor.transparent,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
-
- Padding(
- padding: EdgeInsets.only(left: 15, top: 10),
- child: GFTypography(
- text: 'Square Icons',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
-
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- Expanded(
- child: GFButton(
- onPressed: () {},
- shape: GFButtonShape.square,
- child: Text(
- "Primary",
- ),
- icon: SvgPicture.asset(
- 'lib/assets/icons/primary.svg')),
- ),
- SizedBox(
- width: 6,
- ),
- Expanded(
- child: GFButton(
- onPressed: () {},
- shape: GFButtonShape.square,
- child: Text("Second"),
- icon: SvgPicture.asset(
- 'lib/assets/icons/secondary.svg'),
- color: GFColor.secondary,
- ),
- ),
- SizedBox(
- width: 6,
- ),
- Expanded(
- child: GFButton(
- shape: GFButtonShape.square,
- onPressed: () {},
- child: Text(
- "Success",
- ),
- icon:
- SvgPicture.asset('lib/assets/icons/success.svg'),
- color: GFColor.success,
- ),
- )
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- shape: GFButtonShape.square,
- child: Text(
- "Warning",
- ),
- icon: SvgPicture.asset('lib/assets/icons/warning.svg'),
- color: GFColor.warning,
- ),
- GFButton(
- onPressed: () {},
- shape: GFButtonShape.square,
- child: Text(
- "Danger",
- ),
- icon: SvgPicture.asset('lib/assets/icons/danger.svg'),
- color: GFColor.danger,
- ),
- GFButton(
- onPressed: () {},
- shape: GFButtonShape.square,
- child: Text(
- "Info",
- ),
- icon: SvgPicture.asset('lib/assets/icons/info.svg'),
- color: GFColor.info,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- shape: GFButtonShape.square,
- child: Text(
- "Light",
- ),
- icon: SvgPicture.asset('lib/assets/icons/light.svg'),
- type: GFType.solid,
- color: GFColor.light,
- ),
- GFButton(
- onPressed: () {},
- shape: GFButtonShape.square,
- child: Text(
- "Dark",
- style: TextStyle(color: getGFColor(GFColor.white)),
- ),
- icon: SvgPicture.asset('lib/assets/icons/dark.svg'),
- color: GFColor.dark,
- ),
- GFButton(
- onPressed: () {},
- shape: GFButtonShape.square,
- child: Text(
- "Link",
- ),
- icon: SvgPicture.asset('lib/assets/icons/link.svg'),
- color: GFColor.transparent,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
-
- Padding(
- padding: EdgeInsets.only(left: 15, top: 10),
- child: GFTypography(
- text: 'Pills Icons',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
-
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- Expanded(
- child: GFButton(
- onPressed: () {},
- shape: GFButtonShape.pills,
- child: Text(
- "Primary",
- ),
- icon: SvgPicture.asset(
- 'lib/assets/icons/primary.svg')),
- ),
- SizedBox(
- width: 6,
- ),
- Expanded(
- child: GFButton(
- onPressed: () {},
- shape: GFButtonShape.pills,
- child: Text("Second"),
- icon: SvgPicture.asset(
- 'lib/assets/icons/secondary.svg'),
- color: GFColor.secondary,
- ),
- ),
- SizedBox(
- width: 6,
- ),
- Expanded(
- child: GFButton(
- shape: GFButtonShape.pills,
- onPressed: () {},
- child: Text(
- "Success",
- ),
- icon:
- SvgPicture.asset('lib/assets/icons/success.svg'),
- color: GFColor.success,
- ),
- )
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- shape: GFButtonShape.pills,
- child: Text(
- "Warning",
- ),
- icon: SvgPicture.asset('lib/assets/icons/warning.svg'),
- color: GFColor.warning,
- ),
- GFButton(
- onPressed: () {},
- shape: GFButtonShape.pills,
- child: Text(
- "Danger",
- ),
- icon: SvgPicture.asset('lib/assets/icons/danger.svg'),
- color: GFColor.danger,
- ),
- GFButton(
- onPressed: () {},
- shape: GFButtonShape.pills,
- child: Text(
- "Info",
- ),
- icon: SvgPicture.asset('lib/assets/icons/info.svg'),
- color: GFColor.info,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- shape: GFButtonShape.pills,
- child: Text(
- "Light",
- ),
- icon: SvgPicture.asset('lib/assets/icons/light.svg'),
- type: GFType.solid,
- color: GFColor.light,
- ),
- GFButton(
- onPressed: () {},
- shape: GFButtonShape.pills,
- child: Text(
- "Dark",
- style: TextStyle(color: getGFColor(GFColor.white)),
- ),
- icon: SvgPicture.asset('lib/assets/icons/dark.svg'),
- color: GFColor.dark,
- ),
- GFButton(
- onPressed: () {},
- shape: GFButtonShape.pills,
- child: Text(
- "Link",
- ),
- icon: SvgPicture.asset('lib/assets/icons/link.svg'),
- color: GFColor.transparent,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
-
- Padding(
- padding: EdgeInsets.only(left: 15, top: 10),
- child: GFTypography(
- text: 'Shadow Buttons',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
-
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- Expanded(
- child: GFButton(
- onPressed: () {},
- child: Text(
- "Primary",
- ),
- icon:
- SvgPicture.asset('lib/assets/icons/primary.svg'),
- buttonBoxShadow: true,
- ),
- ),
- SizedBox(
- width: 6,
- ),
- Expanded(
- child: GFButton(
- onPressed: () {},
- child: Text("Second"),
- icon: SvgPicture.asset(
- 'lib/assets/icons/secondary.svg'),
- color: GFColor.secondary,
- buttonBoxShadow: true,
- ),
- ),
- SizedBox(
- width: 6,
- ),
- Expanded(
- child: GFButton(
- onPressed: () {},
- child: Text(
- "Success",
- ),
- icon:
- SvgPicture.asset('lib/assets/icons/success.svg'),
- color: GFColor.success,
- buttonBoxShadow: true,
- ),
- )
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Warning",
- ),
- icon: SvgPicture.asset('lib/assets/icons/warning.svg'),
- color: GFColor.warning,
- buttonBoxShadow: true,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Danger",
- ),
- icon: SvgPicture.asset('lib/assets/icons/danger.svg'),
- color: GFColor.danger,
- buttonBoxShadow: true,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Info",
- ),
- icon: SvgPicture.asset('lib/assets/icons/info.svg'),
- color: GFColor.info,
- buttonBoxShadow: true,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Light",
- ),
- icon: SvgPicture.asset('lib/assets/icons/light.svg'),
- type: GFType.solid,
- color: GFColor.light,
- buttonBoxShadow: true,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Dark",
- style: TextStyle(color: getGFColor(GFColor.white)),
- ),
- icon: SvgPicture.asset('lib/assets/icons/dark.svg'),
- color: GFColor.dark,
- buttonBoxShadow: true,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Link",
- ),
- icon: SvgPicture.asset('lib/assets/icons/link.svg'),
- color: GFColor.transparent,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
-
- Padding(
- padding: EdgeInsets.only(left: 15, top: 10),
- child: GFTypography(
- text: 'Button Sizes',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
-
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text("Large",
- style: TextStyle(color: getGFColor(GFColor.white))),
- color: GFColor.primary,
- size: GFSize.large,
- icon: SvgPicture.asset('lib/assets/icons/primary.svg'),
- ),
- GFButton(
- onPressed: () {},
- child: Text("Normal",
- style: TextStyle(color: getGFColor(GFColor.white))),
- color: GFColor.primary,
- size: GFSize.medium,
- icon:
- SvgPicture.asset('lib/assets/icons/secondary.svg'),
- ),
- GFButton(
- onPressed: () {},
- child: Text("Small",
- style: TextStyle(color: getGFColor(GFColor.white))),
- color: GFColor.primary,
- size: GFSize.small,
- icon: SvgPicture.asset('lib/assets/icons/info.svg'),
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
-
- Padding(
- padding: EdgeInsets.only(left: 15, top: 10),
- child: GFTypography(
- text: 'Block Buttons',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- GFButton(
- onPressed: () {},
- blockButton: true,
- child: Text(
- "Large",
- ),
- size: GFSize.large,
- icon: SvgPicture.asset('lib/assets/icons/primary.svg'),
- ),
- SizedBox(
- height: 10,
- ),
- GFButton(
- onPressed: () {},
- blockButton: true,
- child: Text(
- "Normal",
- ),
- size: GFSize.medium,
- icon: SvgPicture.asset('lib/assets/icons/secondary.svg'),
- ),
- SizedBox(
- height: 10,
- ),
- GFButton(
- onPressed: () {},
- blockButton: true,
- child: Text(
- "Small",
- ),
- size: GFSize.small,
- icon: SvgPicture.asset('lib/assets/icons/success.svg'),
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
-
- Padding(
- padding: EdgeInsets.only(left: 15, top: 20),
- child: GFTypography(
- text: 'Icons Only',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
-
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFIconButton(
- icon:
- SvgPicture.asset('lib/assets/icons/primary.svg'),
- onPressed: () {}),
- GFIconButton(
- color: GFColor.secondary,
- icon: SvgPicture.asset(
- 'lib/assets/icons/secondary.svg'),
- onPressed: () {}),
- GFIconButton(
- color: GFColor.success,
- icon:
- SvgPicture.asset('lib/assets/icons/success.svg'),
- onPressed: () {}),
- GFIconButton(
- color: GFColor.warning,
- icon:
- SvgPicture.asset('lib/assets/icons/warning.svg'),
- onPressed: () {}),
- ],
- ),
- SizedBox(
- height: 20,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFIconButton(
- color: GFColor.danger,
- icon: SvgPicture.asset('lib/assets/icons/danger.svg'),
- onPressed: () {}),
- GFIconButton(
- color: GFColor.info,
- icon: SvgPicture.asset('lib/assets/icons/info.svg'),
- onPressed: () {}),
- GFIconButton(
- color: GFColor.light,
- icon: SvgPicture.asset('lib/assets/icons/light.svg'),
- onPressed: () {}),
- GFIconButton(
- color: GFColor.dark,
- icon: SvgPicture.asset('lib/assets/icons/dark.svg'),
- onPressed: () {}),
- ],
- ),
- SizedBox(
- height: 20,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFIconButton(
- type: GFType.outline,
- icon: Icon(Icons.settings),
- onPressed: () {}),
- GFIconButton(
- type: GFType.outline,
- color: GFColor.secondary,
- icon: Icon(Icons.send),
- onPressed: () {}),
- GFIconButton(
- type: GFType.outline,
- color: GFColor.success,
- icon: Icon(Icons.file_download),
- onPressed: () {}),
- GFIconButton(
- type: GFType.outline,
- color: GFColor.warning,
- icon: Icon(Icons.warning),
- onPressed: () {}),
- ],
- ),
- SizedBox(
- height: 20,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFIconButton(
- type: GFType.outline,
- color: GFColor.danger,
- icon: Icon(Icons.insert_drive_file),
- onPressed: () {}),
- GFIconButton(
- type: GFType.outline,
- color: GFColor.info,
- icon: Icon(Icons.delete),
- onPressed: () {}),
- GFIconButton(
- type: GFType.outline,
- color: GFColor.light,
- icon: Icon(Icons.info),
- onPressed: () {}),
- GFIconButton(
- type: GFType.outline,
- color: GFColor.dark,
- icon: Icon(Icons.apps),
- onPressed: () {}),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- ],
- ));
- }
-}
diff --git a/demo_app/lib/screens/button/pill-buttons.dart b/demo_app/lib/screens/button/pill-buttons.dart
deleted file mode 100644
index b994ecba..00000000
--- a/demo_app/lib/screens/button/pill-buttons.dart
+++ /dev/null
@@ -1,1189 +0,0 @@
-import 'package:flutter/material.dart';
-import 'package:ui_kit/components/typography/gf_typography.dart';
-import 'package:ui_kit/components/tabs/gf_tabs.dart';
-import 'package:ui_kit/components/button/gf_button.dart';
-import 'package:ui_kit/size/gf_size.dart';
-import 'package:ui_kit/types/gf_typography_type.dart';
-import 'package:ui_kit/types/gf_type.dart';
-import 'package:ui_kit/shape/gf_button_shape.dart';
-import 'package:ui_kit/colors/gf_color.dart';
-import 'package:ui_kit/components/card/gf_card.dart';
-import 'package:ui_kit/components/tabs/gf_tabBarView.dart';
-
-class PillsButtons extends StatefulWidget {
- @override
- _PillsButtonsState createState() => _PillsButtonsState();
-}
-
-class _PillsButtonsState extends State {
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- appBar: AppBar(
- backgroundColor: getGFColor(GFColor.dark),
- leading: GestureDetector(
- onTap: () {
- Navigator.pop(context);
- },
- child: Image.asset('lib/assets/icons/back.png')),
- title: Text(
- 'Pills Buttons',
- style: TextStyle(fontSize: 17),
- ),
- centerTitle: true,
- ),
- body: GFTabs(
- height: MediaQuery.of(context).size.height,
- tabBarColor: Color(0xFFD3E9ED),
- initialIndex: 0,
- length: 3,
- indicatorColor: getGFColor(GFColor.info),
- unselectedLabelColor: getGFColor(GFColor.danger),
- labelColor: getGFColor(GFColor.warning),
- tabs: [
- GFButton(
- onPressed: null,
- child: Text(
- "Solid",
- style: TextStyle(fontSize: 12),
- ),
- type: GFType.solid,
- textColor: GFColor.white,
- shape: GFButtonShape.pills,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Outline",
- style: TextStyle(fontSize: 12),
- ),
- type: GFType.outline,
- shape: GFButtonShape.pills,
- ),
- GFButton(
- onPressed: null,
- text: 'Outline 2x',
- textStyle: TextStyle(fontSize: 12, color: getGFColor(GFColor.dark)),
- type: GFType.outline2x,
- shape: GFButtonShape.pills,
- ),
- ],
- tabBarView: GFTabBarView(
- children: [
- Container(
-// color: Colors.red,
- child: ListView(
- children: [
- Padding(
- padding: EdgeInsets.only(left: 15, top: 30),
- child: GFTypography(
- text: 'Default',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- shape: GFButtonShape.pills,
- child: Text(
- "Primary",
- ),
- color: GFColor.primary,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Secondary",
- ),
- color: GFColor.secondary,
- shape: GFButtonShape.pills,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Success",
- ),
- shape: GFButtonShape.pills,
- color: GFColor.success,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Warning",
- ),
- shape: GFButtonShape.pills,
- color: GFColor.warning,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Danger",
- ),
- shape: GFButtonShape.pills,
- color: GFColor.danger,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Info",
- ),
- shape: GFButtonShape.pills,
- color: GFColor.info,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Light",
- ),
- shape: GFButtonShape.pills,
- color: GFColor.light,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Dark",
- ),
- shape: GFButtonShape.pills,
- color: GFColor.dark,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Link",
- ),
- shape: GFButtonShape.pills,
- color: GFColor.transparent,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- Padding(
- padding: EdgeInsets.only(left: 15, top: 10),
- child: GFTypography(
- text: 'Disabled State',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: null,
- shape: GFButtonShape.pills,
- child: Text(
- "Primary",
- ),
- color: GFColor.primary,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Secondary",
- ),
- color: GFColor.secondary,
- shape: GFButtonShape.pills,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Success",
- ),
- shape: GFButtonShape.pills,
- color: GFColor.success,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: null,
- child: Text(
- "Warning",
- ),
- shape: GFButtonShape.pills,
- color: GFColor.warning,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Danger",
- ),
- shape: GFButtonShape.pills,
- color: GFColor.danger,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Info",
- ),
- shape: GFButtonShape.pills,
- color: GFColor.info,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: null,
- child: Text(
- "Light",
- ),
- shape: GFButtonShape.pills,
- color: GFColor.light,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Dark",
- ),
- shape: GFButtonShape.pills,
- color: GFColor.dark,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Link",
- ),
- shape: GFButtonShape.pills,
- color: GFColor.transparent,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- Padding(
- padding: EdgeInsets.only(left: 15, top: 10),
- child: GFTypography(
- text: 'Button Sizes',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text("Large",
- style: TextStyle(
- color: getGFColor(GFColor.white))),
- color: GFColor.primary,
- size: GFSize.large,
- shape: GFButtonShape.pills,
- ),
- GFButton(
- onPressed: () {},
- child: Text("Normal",
- style: TextStyle(
- color: getGFColor(GFColor.white))),
- color: GFColor.primary,
- size: GFSize.medium,
- shape: GFButtonShape.pills,
- ),
- GFButton(
- onPressed: () {},
- child: Text("Small",
- style: TextStyle(
- color: getGFColor(GFColor.white))),
- color: GFColor.primary,
- size: GFSize.small,
- shape: GFButtonShape.pills,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- Padding(
- padding: EdgeInsets.only(left: 15, top: 10),
- child: GFTypography(
- text: 'Block Buttons',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- GFButton(
- onPressed: () {},
- blockButton: true,
- child: Text("Large",
- style:
- TextStyle(color: getGFColor(GFColor.white))),
- color: GFColor.primary,
- size: GFSize.large,
- shape: GFButtonShape.pills,
- ),
- SizedBox(
- height: 10,
- ),
- GFButton(
- onPressed: () {},
- blockButton: true,
- child: Text("Normal",
- style:
- TextStyle(color: getGFColor(GFColor.white))),
- color: GFColor.primary,
- size: GFSize.medium,
- shape: GFButtonShape.pills,
- ),
- SizedBox(
- height: 10,
- ),
- GFButton(
- onPressed: () {},
- blockButton: true,
- child: Text("Small",
- style:
- TextStyle(color: getGFColor(GFColor.white))),
- color: GFColor.primary,
- size: GFSize.small,
- shape: GFButtonShape.pills,
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- ],
- ),
- ),
-
- //tab 2
- Container(
-// color: Colors.red,
- child: ListView(
- children: [
- Padding(
- padding: EdgeInsets.only(left: 15, top: 30),
- child: GFTypography(
- text: 'Default',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- shape: GFButtonShape.pills,
- child: Text(
- "Primary",
- ),
- type: GFType.outline,
- color: GFColor.primary,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Secondary",
- ),
- color: GFColor.secondary,
- type: GFType.outline,
- shape: GFButtonShape.pills,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Success",
- ),
- type: GFType.outline,
- shape: GFButtonShape.pills,
- color: GFColor.success,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Warning",
- ),
- type: GFType.outline,
- shape: GFButtonShape.pills,
- color: GFColor.warning,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Danger",
- ),
- type: GFType.outline,
- shape: GFButtonShape.pills,
- color: GFColor.danger,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Info",
- ),
- type: GFType.outline,
- shape: GFButtonShape.pills,
- color: GFColor.info,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Light",
- ),
- type: GFType.outline,
- shape: GFButtonShape.pills,
- color: GFColor.light,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Dark",
- ),
- type: GFType.outline,
- shape: GFButtonShape.pills,
- color: GFColor.dark,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Link",
- ),
- type: GFType.outline,
- shape: GFButtonShape.pills,
- color: GFColor.transparent,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- Padding(
- padding: EdgeInsets.only(left: 15, top: 10),
- child: GFTypography(
- text: 'Disabled State',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: null,
- shape: GFButtonShape.pills,
- child: Text(
- "Primary",
- ),
- type: GFType.outline,
- color: GFColor.primary,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Secondary",
- ),
- color: GFColor.secondary,
- type: GFType.outline,
- shape: GFButtonShape.pills,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Success",
- ),
- type: GFType.outline,
- shape: GFButtonShape.pills,
- color: GFColor.success,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: null,
- child: Text(
- "Warning",
- ),
- type: GFType.outline,
- shape: GFButtonShape.pills,
- color: GFColor.warning,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Danger",
- ),
- type: GFType.outline,
- shape: GFButtonShape.pills,
- color: GFColor.danger,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Info",
- ),
- type: GFType.outline,
- shape: GFButtonShape.pills,
- color: GFColor.info,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: null,
- child: Text(
- "Light",
- ),
- type: GFType.outline,
- shape: GFButtonShape.pills,
- color: GFColor.light,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Dark",
- ),
- type: GFType.outline,
- shape: GFButtonShape.pills,
- color: GFColor.dark,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Link",
- ),
- type: GFType.outline,
- shape: GFButtonShape.pills,
- color: GFColor.transparent,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- Padding(
- padding: EdgeInsets.only(left: 15, top: 10),
- child: GFTypography(
- text: 'Button Sizes',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Large",
- ),
- color: GFColor.primary,
- size: GFSize.large,
- type: GFType.outline,
- shape: GFButtonShape.pills,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Normal",
- ),
- color: GFColor.primary,
- size: GFSize.medium,
- type: GFType.outline,
- shape: GFButtonShape.pills,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Small",
- ),
- color: GFColor.primary,
- size: GFSize.small,
- type: GFType.outline,
- shape: GFButtonShape.pills,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- Padding(
- padding: EdgeInsets.only(left: 15, top: 20),
- child: GFTypography(
- text: 'Block Buttons',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- GFButton(
- onPressed: () {},
- blockButton: true,
- child: Text(
- "Large",
- ),
- color: GFColor.primary,
- size: GFSize.large,
- type: GFType.outline,
- shape: GFButtonShape.pills,
- ),
- SizedBox(
- height: 10,
- ),
- GFButton(
- onPressed: () {},
- blockButton: true,
- child: Text(
- "Normal",
- ),
- color: GFColor.primary,
- size: GFSize.medium,
- type: GFType.outline,
- shape: GFButtonShape.pills,
- ),
- SizedBox(
- height: 10,
- ),
- GFButton(
- onPressed: () {},
- blockButton: true,
- child: Text(
- "Small",
- ),
- color: GFColor.primary,
- size: GFSize.small,
- type: GFType.outline,
- shape: GFButtonShape.pills,
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- ],
- ),
- ),
-
- //tab 3
- Container(
-// color: Colors.red,
- child: ListView(
- children: [
- Padding(
- padding: EdgeInsets.only(left: 15, top: 30),
- child: GFTypography(
- text: 'Default',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- shape: GFButtonShape.pills,
- child: Text(
- "Primary",
- ),
- type: GFType.outline2x,
- color: GFColor.primary,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Secondary",
- ),
- color: GFColor.secondary,
- type: GFType.outline2x,
- shape: GFButtonShape.pills,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Success",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.pills,
- color: GFColor.success,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Warning",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.pills,
- color: GFColor.warning,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Danger",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.pills,
- color: GFColor.danger,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Info",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.pills,
- color: GFColor.info,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Light",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.pills,
- color: GFColor.light,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Dark",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.pills,
- color: GFColor.dark,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Link",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.pills,
- color: GFColor.transparent,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- Padding(
- padding: EdgeInsets.only(left: 15, top: 10),
- child: GFTypography(
- text: 'Disabled State',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: null,
- shape: GFButtonShape.pills,
- child: Text(
- "Primary",
- ),
- type: GFType.outline2x,
- color: GFColor.primary,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Secondary",
- ),
- color: GFColor.secondary,
- type: GFType.outline2x,
- shape: GFButtonShape.pills,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Success",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.pills,
- color: GFColor.success,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: null,
- child: Text(
- "Warning",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.pills,
- color: GFColor.warning,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Danger",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.pills,
- color: GFColor.danger,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Info",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.pills,
- color: GFColor.info,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: null,
- child: Text(
- "Light",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.pills,
- color: GFColor.light,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Dark",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.pills,
- color: GFColor.dark,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Link",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.pills,
- color: GFColor.transparent,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- Padding(
- padding: EdgeInsets.only(left: 15, top: 10),
- child: GFTypography(
- text: 'Button Sizes',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Large",
- ),
- color: GFColor.primary,
- size: GFSize.large,
- type: GFType.outline2x,
- shape: GFButtonShape.pills,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Normal",
- ),
- color: GFColor.primary,
- size: GFSize.medium,
- type: GFType.outline2x,
- shape: GFButtonShape.pills,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Small",
- ),
- color: GFColor.primary,
- size: GFSize.small,
- type: GFType.outline2x,
- shape: GFButtonShape.pills,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- Padding(
- padding: EdgeInsets.only(left: 15, top: 20),
- child: GFTypography(
- text: 'Block Buttons',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- GFButton(
- onPressed: () {},
- blockButton: true,
- child: Text(
- "Large",
- ),
- color: GFColor.primary,
- size: GFSize.large,
- type: GFType.outline2x,
- shape: GFButtonShape.pills,
- ),
- SizedBox(
- height: 10,
- ),
- GFButton(
- onPressed: () {},
- blockButton: true,
- child: Text(
- "Normal",
- ),
- color: GFColor.primary,
- size: GFSize.medium,
- type: GFType.outline2x,
- shape: GFButtonShape.pills,
- ),
- SizedBox(
- height: 10,
- ),
- GFButton(
- onPressed: () {},
- blockButton: true,
- child: Text(
- "Small",
- ),
- color: GFColor.primary,
- size: GFSize.small,
- type: GFType.outline2x,
- shape: GFButtonShape.pills,
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- ],
- ),
- ),
- ],
- ),
- ),
- );
- }
-}
diff --git a/demo_app/lib/screens/button/shadow-buttons.dart b/demo_app/lib/screens/button/shadow-buttons.dart
deleted file mode 100644
index 7724c422..00000000
--- a/demo_app/lib/screens/button/shadow-buttons.dart
+++ /dev/null
@@ -1,1048 +0,0 @@
-import 'package:flutter/material.dart';
-import 'package:ui_kit/components/typography/gf_typography.dart';
-import 'package:ui_kit/components/tabs/gf_tabs.dart';
-import 'package:ui_kit/components/button/gf_button.dart';
-import 'package:ui_kit/size/gf_size.dart';
-import 'package:ui_kit/types/gf_typography_type.dart';
-import 'package:ui_kit/types/gf_type.dart';
-import 'package:ui_kit/shape/gf_button_shape.dart';
-import 'package:ui_kit/colors/gf_color.dart';
-import 'package:ui_kit/components/card/gf_card.dart';
-import 'package:ui_kit/components/tabs/gf_tabBarView.dart';
-
-class ShadowButtons extends StatefulWidget {
- @override
- _ShadowButtonsState createState() => _ShadowButtonsState();
-}
-
-class _ShadowButtonsState extends State {
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- appBar: AppBar(
- backgroundColor: getGFColor(GFColor.dark),
- leading: GestureDetector(
- onTap: () {
- Navigator.pop(context);
- },
- child: Image.asset('lib/assets/icons/back.png')),
- title: Text(
- 'Shadow Buttons',
- style: TextStyle(fontSize: 17),
- ),
- centerTitle: true,
- ),
-// body: GFTabs(
-// height: MediaQuery.of(context).size.height,
-// tabBarColor: Color(0xFFD3E9ED),
-// initialIndex: 0,
-// length: 3,
-// indicatorColor: getGFColor(GFColor.info),
-// unselectedLabelColor: getGFColor(GFColor.danger),
-// labelColor: getGFColor(GFColor.warning),
-// tabs: [
-// GFButton(
-// onPressed: (){},
-// child: Text(
-// "Solid",
-// style: TextStyle(fontSize: 12),
-// ),
-// buttonBoxShadow: true,
-// textColor: GFColor.white,
-// ),
-// GFButton(
-// onPressed: null,
-// child: Text(
-// "Outline",
-// style: TextStyle(fontSize: 12),
-// ),
-// type: GFType.outline,
-// ),
-// GFButton(
-// onPressed: null,
-// text: 'Outline 2x',
-// textStyle: TextStyle(fontSize: 12, color: getGFColor(GFColor.dark)),
-// type: GFType.outline2x,
-// ),
-// ],
-// tabBarView: GFTabBarView(
-// children: [
-// Container(
-//// color: Colors.red,
-// child: ListView(
-// children: [
-// Padding(padding: EdgeInsets.only(left:15, top:30),
-// child: GFTypography(
-// text: 'Default',
-// type: GFTypographyType.typo5,
-// dividerWidth: 25,
-// dividerColor: Color(0xFF19CA4B),
-//
-// ),
-// ),
-// GFCard(
-// content: Column(
-// mainAxisAlignment: MainAxisAlignment.start,
-// crossAxisAlignment: CrossAxisAlignment.start,
-// children: [
-//
-// SizedBox(
-// height: 10,
-// ),
-// Row(
-// mainAxisAlignment: MainAxisAlignment.spaceBetween,
-// children: [
-// GFButton(
-// onPressed: (){},
-// shape: GFButtonShape.standard,
-//
-// buttonBoxShadow: true,
-// child: Text("Primary",
-// ),
-//
-// color: GFColor.primary,
-// ),
-// GFButton(
-// onPressed: (){},
-// child: Text("Secondary",
-// ),
-//
-// color: GFColor.secondary,
-// buttonBoxShadow: true,
-// ),
-// GFButton(
-// onPressed: (){},
-// child: Text(
-// "Success",
-// ),
-// buttonBoxShadow: true,
-// color: GFColor.success,
-// ),
-// ],
-// ),
-//
-// SizedBox(
-// height: 10,
-// ),
-// Row(
-// mainAxisAlignment: MainAxisAlignment.spaceBetween,
-// children: [
-// GFButton(
-// onPressed: (){},
-// child: Text(
-// "Warning",
-// ),
-// buttonBoxShadow: true,
-// color: GFColor.warning,
-// ),
-// GFButton(
-// onPressed: (){},
-// child: Text("Danger",
-// ),
-// buttonBoxShadow: true,
-// color: GFColor.danger,
-// ),
-// GFButton(
-// onPressed: (){},
-// child: Text(
-// "Info",
-// ),
-// buttonBoxShadow: true,
-// color: GFColor.info,
-// ),
-// ],
-// ),
-// SizedBox(
-// height: 10,
-// ),
-// Row(
-// mainAxisAlignment: MainAxisAlignment.spaceBetween,
-// children: [
-// GFButton(
-// onPressed: (){},
-// child: Text(
-// "Light",
-// ),
-// buttonBoxShadow: true,
-// color: GFColor.light,
-// ),
-//
-// GFButton(
-// onPressed: (){},
-// child: Text(
-// "Dark",
-// style:
-// TextStyle(color: getGFColor(GFColor.white)),
-// ),
-// buttonBoxShadow: true,
-// color: GFColor.dark,
-// ),
-// GFButton(
-// onPressed: (){},
-// child: Text("Link",
-// ),
-// buttonBoxShadow: false,
-// color: GFColor.transparent,
-// ),
-// ],
-// ),
-//SizedBox(
-// height: 10,
-//)
-//
-// ],
-// ),
-// ),
-//
-//
-//
-//
-// Padding(padding: EdgeInsets.only(left:15, top:10),
-// child: GFTypography(
-// text: 'Button Sizes',
-// type: GFTypographyType.typo5,
-// dividerWidth: 25,
-// dividerColor: Color(0xFF19CA4B),
-//
-// ),
-// ),
-//
-//
-// GFCard(
-// content: Column(
-// mainAxisAlignment: MainAxisAlignment.start,
-// crossAxisAlignment: CrossAxisAlignment.start,
-// children: [
-// SizedBox(
-// height: 10,
-// ),
-// Row(
-// mainAxisAlignment: MainAxisAlignment.spaceBetween,
-// children: [
-// GFButton(
-// onPressed: (){},
-// child: Text("Large",
-// ),
-// color: GFColor.primary,
-// size: GFSize.large,
-// buttonBoxShadow: true,
-// ),
-// GFButton(
-// onPressed: (){},
-// child: Text("Normal",
-// ),
-// color: GFColor.primary,
-// size: GFSize.medium,
-// buttonBoxShadow: true,
-// ),
-// GFButton(
-// onPressed: (){},
-// child: Text("Small",
-// ),
-// color: GFColor.primary,
-// size: GFSize.small,
-// buttonBoxShadow: true,
-// ),
-// ],
-// ),
-// SizedBox(
-// height: 10,
-// ),
-//
-// ],
-// ),
-// ),
-//
-//
-// Padding(padding: EdgeInsets.only(left:15, top:10),
-// child: GFTypography(
-// text: 'Block Buttons',
-// type: GFTypographyType.typo5,
-// dividerWidth: 25,
-// dividerColor: Color(0xFF19CA4B),
-//
-// ),
-// ),
-//
-//
-// GFCard(
-// content: Column(
-// mainAxisAlignment: MainAxisAlignment.start,
-// crossAxisAlignment: CrossAxisAlignment.start,
-// children: [
-// SizedBox(
-// height: 10,
-// ),
-// GFButton(
-// onPressed: (){},
-// blockButton: true,
-// child: Text("Large",
-// style: TextStyle(
-// color: getGFColor(GFColor.white))),
-// color: GFColor.primary,
-// size: GFSize.large,
-// buttonBoxShadow: true,
-// ),
-//
-// SizedBox(
-// height: 10,
-// ),
-//
-// GFButton(
-// onPressed: (){},
-// blockButton: true,
-// child: Text("Normal",
-// style: TextStyle(
-// color: getGFColor(GFColor.white))),
-// color: GFColor.primary,
-// size: GFSize.medium,
-// buttonBoxShadow: true,
-// ),
-//
-// SizedBox(
-// height: 10,
-// ),
-//
-//
-// GFButton(
-// onPressed: (){},
-// blockButton: true,
-// child: Text("Small",
-// style: TextStyle(
-// color: getGFColor(GFColor.white))),
-// color: GFColor.primary,
-// size: GFSize.small,
-// buttonBoxShadow: true,
-// ),
-// SizedBox(
-// height: 10,
-// ),
-//
-// ],
-// ),
-// ),
-// ],
-// ),
-// ),
-//
-//
-// //tab 2
-// Container(
-//// color: Colors.red,
-// child: ListView(
-// children: [
-//
-// Padding(padding: EdgeInsets.only(left:15, top:30),
-// child: GFTypography(
-// text: 'Default',
-// type: GFTypographyType.typo5,
-// dividerWidth: 25,
-// dividerColor: Color(0xFF19CA4B),
-//
-// ),
-// ),
-// GFCard(
-// content: Column(
-// mainAxisAlignment: MainAxisAlignment.start,
-// crossAxisAlignment: CrossAxisAlignment.start,
-// children: [
-// SizedBox(
-// height: 10,
-// ),
-// Row(
-// mainAxisAlignment: MainAxisAlignment.spaceBetween,
-// children: [
-// GFButton(
-// onPressed: (){},
-// child: Text(
-// "Primary",
-//
-// ),
-//
-// type: GFType.outline,
-//
-// ),
-//
-//
-// GFButton(
-// onPressed: (){},
-// child: Text("Secondary"),
-// type: GFType.outline,
-// color: GFColor.secondary,
-// ),
-// GFButton(
-// onPressed: (){},
-// child: Text(
-// "Success",
-// ),
-// type: GFType.outline,
-// color: GFColor.success,
-// ),
-// ],
-// ),
-// Row(
-// mainAxisAlignment: MainAxisAlignment.spaceBetween,
-// children: [
-// GFButton(
-// onPressed: (){},
-// child: Text(
-// "Warning",
-// ),
-// type: GFType.outline,
-// color: GFColor.warning,
-// ),
-// GFButton(
-// onPressed: (){},
-// child: Text(
-// "Danger",
-// ),
-// type: GFType.outline,
-// color: GFColor.danger,
-// ),
-// GFButton(
-// onPressed: (){},
-// child: Text(
-// "Info",
-// ),
-// type: GFType.outline,
-// color: GFColor.info,
-// ),
-// ],
-// ),
-// Row(
-// mainAxisAlignment: MainAxisAlignment.spaceBetween,
-// children: [
-// GFButton(
-// onPressed: (){},
-// child: Text(
-// "Light",
-// ),
-// type: GFType.outline,
-// color: GFColor.light,
-// ),
-//
-// GFButton(
-// onPressed: (){},
-// child: Text(
-// "Dark",
-// ),
-// type: GFType.outline,
-// color: GFColor.dark,
-// ),
-// GFButton(
-// onPressed: (){},
-// child: Text(
-// "Link",
-// ),
-// color: GFColor.transparent,
-// ),
-// ],
-// ),
-// ],
-// ),
-// ),
-//
-//
-//
-// Padding(padding: EdgeInsets.only(left:15, top:10),
-// child: GFTypography(
-// text: 'Button Sizes',
-// type: GFTypographyType.typo5,
-// dividerWidth: 25,
-// dividerColor: Color(0xFF19CA4B),
-//
-// ),
-// ),
-//
-//
-// GFCard(
-// content: Column(
-// mainAxisAlignment: MainAxisAlignment.start,
-// crossAxisAlignment: CrossAxisAlignment.start,
-// children: [
-// SizedBox(
-// height: 10,
-// ),
-// Row(
-// mainAxisAlignment: MainAxisAlignment.spaceBetween,
-// children: [
-// GFButton(
-// onPressed: (){},
-// child: Text("Large",
-// ),
-// color: GFColor.primary,
-// size: GFSize.large,
-// type: GFType.outline,
-// ),
-// GFButton(
-// onPressed: (){},
-// child: Text("Normal",
-// ),
-// color: GFColor.primary,
-// size: GFSize.medium,
-// type: GFType.outline,
-// ),
-// GFButton(
-// onPressed: (){},
-// child: Text("Small",
-// ),
-// color: GFColor.primary,
-// size: GFSize.small,
-// type: GFType.outline,
-// ),
-// ],
-// ),
-//
-// ],
-// ),
-// ),
-//
-//
-// Padding(padding: EdgeInsets.only(left:15, top:10),
-// child: GFTypography(
-// text: 'Block Buttons',
-// type: GFTypographyType.typo5,
-// dividerWidth: 25,
-// dividerColor: Color(0xFF19CA4B),
-//
-// ),
-// ),
-//
-//
-// GFCard(
-// content: Column(
-// mainAxisAlignment: MainAxisAlignment.start,
-// crossAxisAlignment: CrossAxisAlignment.start,
-// children: [
-// SizedBox(
-// height: 10,
-// ),
-// GFButton(
-// onPressed: (){},
-// blockButton: true,
-// child: Text("Large",
-// ),
-// color: GFColor.primary,
-// size: GFSize.large,
-// type: GFType.outline,
-// ),
-//
-// SizedBox(
-// height: 10,
-// ),
-//
-// GFButton(
-// onPressed: (){},
-// blockButton: true,
-// child: Text("Normal",
-// ),
-// color: GFColor.primary,
-// size: GFSize.medium,
-// type: GFType.outline,
-// ),
-//
-// SizedBox(
-// height: 10,
-// ),
-//
-//
-// GFButton(
-// onPressed: (){},
-// blockButton: true,
-// child: Text("Small",
-// ),
-// color: GFColor.primary,
-// size: GFSize.small,
-// type: GFType.outline,
-// ),
-//
-// ],
-// ),
-// ),
-//
-// ],
-// ),
-// ),
-//
-//
-// //tab 3
-// Container(
-//// color: Colors.red,
-// child: ListView(
-// children: [
-//
-// Padding(padding: EdgeInsets.only(left:15, top:30),
-// child: GFTypography(
-// text: 'Default',
-// type: GFTypographyType.typo5,
-// dividerWidth: 25,
-// dividerColor: Color(0xFF19CA4B),
-//
-// ),
-// ),
-// GFCard(
-// content: Column(
-// mainAxisAlignment: MainAxisAlignment.start,
-// crossAxisAlignment: CrossAxisAlignment.start,
-// children: [
-// SizedBox(
-// height: 10,
-// ),
-// Row(
-// mainAxisAlignment: MainAxisAlignment.spaceBetween,
-// children: [
-// GFButton(
-// onPressed: (){},
-// child: Text(
-// "Primary",
-//
-// ),
-//
-// type: GFType.outline2x,
-//
-// ),
-//
-//
-// GFButton(
-// onPressed: (){},
-// child: Text("Secondary"),
-// type: GFType.outline2x,
-// color: GFColor.secondary,
-// ),
-// GFButton(
-// onPressed: (){},
-// child: Text(
-// "Success",
-// ),
-// type: GFType.outline2x,
-// color: GFColor.success,
-// ),
-// ],
-// ),
-// Row(
-// mainAxisAlignment: MainAxisAlignment.spaceBetween,
-// children: [
-// GFButton(
-// onPressed: (){},
-// child: Text(
-// "Warning",
-// ),
-// type: GFType.outline2x,
-// color: GFColor.warning,
-// ),
-// GFButton(
-// onPressed: (){},
-// child: Text(
-// "Danger",
-// ),
-// type: GFType.outline2x,
-// color: GFColor.danger,
-// ),
-// GFButton(
-// onPressed: (){},
-// child: Text(
-// "Info",
-// ),
-// type: GFType.outline2x,
-// color: GFColor.info,
-// ),
-// ],
-// ),
-// Row(
-// mainAxisAlignment: MainAxisAlignment.spaceBetween,
-// children: [
-// GFButton(
-// onPressed: (){},
-// child: Text(
-// "Light",
-// ),
-// type: GFType.outline2x,
-// color: GFColor.light,
-// ),
-//
-// GFButton(
-// onPressed: (){},
-// child: Text(
-// "Dark",
-// ),
-// type: GFType.outline2x,
-// color: GFColor.dark,
-// ),
-// GFButton(
-// onPressed: (){},
-// child: Text(
-// "Link",
-// ),
-//
-// color: GFColor.transparent,
-// ),
-// ],
-// ),
-// ],
-// ),
-// ),
-//
-//
-//
-// Padding(padding: EdgeInsets.only(left:15, top:10),
-// child: GFTypography(
-// text: 'Button Sizes',
-// type: GFTypographyType.typo5,
-// dividerWidth: 25,
-// dividerColor: Color(0xFF19CA4B),
-//
-// ),
-// ),
-//
-//
-// GFCard(
-// content: Column(
-// mainAxisAlignment: MainAxisAlignment.start,
-// crossAxisAlignment: CrossAxisAlignment.start,
-// children: [
-// SizedBox(
-// height: 10,
-// ),
-// Row(
-// mainAxisAlignment: MainAxisAlignment.spaceBetween,
-// children: [
-// GFButton(
-// onPressed: (){},
-// child: Text("Large",
-// ),
-// color: GFColor.primary,
-// size: GFSize.large,
-// type: GFType.outline2x,
-// ),
-// GFButton(
-// onPressed: (){},
-// child: Text("Normal",
-// ),
-// color: GFColor.primary,
-// size: GFSize.medium,
-// type: GFType.outline2x,
-// ),
-// GFButton(
-// onPressed: (){},
-// child: Text("Small",
-// ),
-// color: GFColor.primary,
-// size: GFSize.small,
-// type: GFType.outline2x,
-// ),
-// ],
-// ),
-//
-// ],
-// ),
-// ),
-//
-//
-// Padding(padding: EdgeInsets.only(left:15, top:10),
-// child: GFTypography(
-// text: 'Block Buttons',
-// type: GFTypographyType.typo5,
-// dividerWidth: 25,
-// dividerColor: Color(0xFF19CA4B),
-//
-// ),
-// ),
-//
-//
-// GFCard(
-// content: Column(
-// mainAxisAlignment: MainAxisAlignment.start,
-// crossAxisAlignment: CrossAxisAlignment.start,
-// children: [
-// SizedBox(
-// height: 10,
-// ),
-// GFButton(
-// onPressed: (){},
-// blockButton: true,
-// child: Text("Large",
-// ),
-// color: GFColor.primary,
-// size: GFSize.large,
-// type: GFType.outline2x,
-// ),
-//
-// SizedBox(
-// height: 10,
-// ),
-//
-// GFButton(
-// onPressed: (){},
-// blockButton: true,
-// child: Text("Normal",
-// ),
-// color: GFColor.primary,
-// size: GFSize.medium,
-// type: GFType.outline2x,
-// ),
-//
-// SizedBox(
-// height: 10,
-// ),
-//
-//
-// GFButton(
-// onPressed: (){},
-// blockButton: true,
-// child: Text("Small",
-// ),
-// color: GFColor.primary,
-// size: GFSize.small,
-// type: GFType.outline2x,
-// ),
-//
-// ],
-// ),
-// ),
-//
-// ],
-// ),
-// ),
-// ],
-// ),
-// ),
-
- body: Container(
-// color: Colors.red,
- child: ListView(
- children: [
- Padding(
- padding: EdgeInsets.only(left: 15, top: 30),
- child: GFTypography(
- text: 'Default',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- shape: GFButtonShape.standard,
- buttonBoxShadow: true,
- child: Text(
- "Primary",
- ),
- color: GFColor.primary,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Secondary",
- ),
- color: GFColor.secondary,
- buttonBoxShadow: true,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Success",
- ),
- buttonBoxShadow: true,
- color: GFColor.success,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Warning",
- ),
- buttonBoxShadow: true,
- color: GFColor.warning,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Danger",
- ),
- buttonBoxShadow: true,
- color: GFColor.danger,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Info",
- ),
- buttonBoxShadow: true,
- color: GFColor.info,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Light",
- ),
- buttonBoxShadow: true,
- color: GFColor.light,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Dark",
- style: TextStyle(color: getGFColor(GFColor.white)),
- ),
- buttonBoxShadow: true,
- color: GFColor.dark,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Link",
- ),
- buttonBoxShadow: false,
- color: GFColor.transparent,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- )
- ],
- ),
- ),
- Padding(
- padding: EdgeInsets.only(left: 15, top: 10),
- child: GFTypography(
- text: 'Button Sizes',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Large",
- ),
- color: GFColor.primary,
- size: GFSize.large,
- buttonBoxShadow: true,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Normal",
- ),
- color: GFColor.primary,
- size: GFSize.medium,
- buttonBoxShadow: true,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Small",
- ),
- color: GFColor.primary,
- size: GFSize.small,
- buttonBoxShadow: true,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- Padding(
- padding: EdgeInsets.only(left: 15, top: 10),
- child: GFTypography(
- text: 'Block Buttons',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- GFButton(
- onPressed: () {},
- blockButton: true,
- child: Text("Large",
- style: TextStyle(color: getGFColor(GFColor.white))),
- color: GFColor.primary,
- size: GFSize.large,
- buttonBoxShadow: true,
- ),
- SizedBox(
- height: 10,
- ),
- GFButton(
- onPressed: () {},
- blockButton: true,
- child: Text("Normal",
- style: TextStyle(color: getGFColor(GFColor.white))),
- color: GFColor.primary,
- size: GFSize.medium,
- buttonBoxShadow: true,
- ),
- SizedBox(
- height: 10,
- ),
- GFButton(
- onPressed: () {},
- blockButton: true,
- child: Text("Small",
- style: TextStyle(color: getGFColor(GFColor.white))),
- color: GFColor.primary,
- size: GFSize.small,
- buttonBoxShadow: true,
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- ],
- ),
- ),
- );
- }
-}
diff --git a/demo_app/lib/screens/button/social-buttons.dart b/demo_app/lib/screens/button/social-buttons.dart
deleted file mode 100644
index 0d8bf3ea..00000000
--- a/demo_app/lib/screens/button/social-buttons.dart
+++ /dev/null
@@ -1,331 +0,0 @@
-import 'package:flutter/material.dart';
-import 'package:ui_kit/colors/gf_color.dart';
-import 'package:ui_kit/components/typography/gf_typography.dart';
-import 'package:ui_kit/types/gf_typography_type.dart';
-import 'package:ui_kit/components/button/gf_button.dart';
-import 'package:ui_kit/components/button/gf_icon_button.dart';
-import 'package:ui_kit/components/card/gf_card.dart';
-import 'package:ui_kit/shape/gf_icon_button_shape.dart';
-import 'package:ui_kit/types/gf_type.dart';
-import 'package:ui_kit/size/gf_size.dart';
-import 'package:flutter_svg/flutter_svg.dart';
-
-class SocialButtons extends StatefulWidget {
- @override
- _SocialButtonsState createState() => _SocialButtonsState();
-}
-
-class _SocialButtonsState extends State {
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- appBar: AppBar(
- backgroundColor: getGFColor(GFColor.dark),
- leading: GestureDetector(
- onTap: () {
- Navigator.pop(context);
- },
- child: Image.asset('lib/assets/icons/back.png')),
- title: Text(
- 'Social Buttons',
- style: TextStyle(fontSize: 17),
- ),
- centerTitle: true,
- ),
- body: ListView(
- children: [
- Padding(
- padding: EdgeInsets.only(left: 15, top: 20),
- child: GFTypography(
- text: 'Social Buttons Full',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- Expanded(
- child: GFButton(
- buttonBoxShadow: true,
- color: Color(0xFF3B5998),
- onPressed: () {},
- child: Text(
- "FB",
- ),
- icon: SvgPicture.asset('lib/assets/icons/fb.svg')),
- ),
- SizedBox(
- width: 6,
- ),
- Expanded(
- child: GFButton(
- onPressed: () {},
- child: Text("Twitter"),
- icon: SvgPicture.asset('lib/assets/icons/twitter.svg'),
- color: Color(0xFF00ACEE),
- buttonBoxShadow: true,
- ),
- ),
- SizedBox(
- width: 6,
- ),
- Expanded(
- child: GFButton(
- onPressed: () {},
- child: Text(
- "Whatsap",
- ),
- icon: SvgPicture.asset('lib/assets/icons/whatsapp.svg'),
- color: Color(0xFF25D366),
- buttonBoxShadow: true,
- ),
- )
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Google +",
- ),
- icon: SvgPicture.asset('lib/assets/icons/google.svg'),
- color: Color(0xFFDD4B39),
- buttonBoxShadow: true,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Dribble",
- ),
- icon: SvgPicture.asset('lib/assets/icons/dribble.svg'),
- color: Color(0xFFEA4C89),
- buttonBoxShadow: true,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "LinkedIn",
- ),
- icon: SvgPicture.asset('lib/assets/icons/linkedin.svg'),
- color: Color(0xFF0E76A8),
- buttonBoxShadow: true,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Youtube",
- ),
- icon: SvgPicture.asset('lib/assets/icons/youtube.svg'),
- color: Color(0xFFC4302B),
- buttonBoxShadow: true,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Slack",
- style: TextStyle(color: getGFColor(GFColor.white)),
- ),
- icon: SvgPicture.asset('lib/assets/icons/slack.svg'),
- color: Color(0XFF2EB67D),
- buttonBoxShadow: true,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Pinterest",
- ),
- icon: SvgPicture.asset('lib/assets/icons/pinterest.svg'),
- color: Color(0XFFC8232C),
- buttonBoxShadow: true,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- Padding(
- padding: EdgeInsets.only(left: 15, top: 20),
- child: GFTypography(
- text: 'Social Buttons Icons',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFIconButton(
- color: Color(0xFF3B5998),
- icon: SvgPicture.asset('lib/assets/icons/fb.svg'),
- onPressed: () {}),
- GFIconButton(
- color: Color(0xFF00ACEE),
- icon: SvgPicture.asset('lib/assets/icons/twitter.svg'),
- onPressed: () {}),
- GFIconButton(
- color: Color(0xFF25D366),
- icon: SvgPicture.asset('lib/assets/icons/whatsapp.svg'),
- onPressed: () {}),
- GFIconButton(
- color: Color(0xFFDD4B39),
- icon: SvgPicture.asset('lib/assets/icons/google.svg'),
- onPressed: () {}),
- GFIconButton(
- color: Color(0xFFEA4C89),
- icon: SvgPicture.asset('lib/assets/icons/dribble.svg'),
- onPressed: () {}),
- ],
- ),
- SizedBox(
- height: 20,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFIconButton(
- color: Color(0xFF0E76A8),
- icon: SvgPicture.asset('lib/assets/icons/linkedin.svg'),
- onPressed: () {}),
- GFIconButton(
- color: Color(0xFFC4302B),
- icon: SvgPicture.asset('lib/assets/icons/youtube.svg'),
- onPressed: () {}),
- GFIconButton(
- color: Color(0XFF2EB67D),
- icon: SvgPicture.asset('lib/assets/icons/slack.svg'),
- onPressed: () {}),
- GFIconButton(
- color: Color(0XFFC8232C),
- icon:
- SvgPicture.asset('lib/assets/icons/pinterest.svg'),
- onPressed: () {}),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- Padding(
- padding: EdgeInsets.only(left: 15, top: 20),
- child: GFTypography(
- text: 'Floating Social Buttons',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFIconButton(
- color: Color(0xFF3B5998),
- shape: GFIconButtonShape.pills,
- icon: SvgPicture.asset('lib/assets/icons/fb.svg'),
- onPressed: () {}),
- GFIconButton(
- color: Color(0xFF00ACEE),
- shape: GFIconButtonShape.pills,
- icon: SvgPicture.asset('lib/assets/icons/twitter.svg'),
- onPressed: () {}),
- GFIconButton(
- color: Color(0xFF25D366),
- shape: GFIconButtonShape.pills,
- icon: SvgPicture.asset('lib/assets/icons/whatsapp.svg'),
- onPressed: () {}),
- GFIconButton(
- color: Color(0xFFDD4B39),
- shape: GFIconButtonShape.pills,
- icon: SvgPicture.asset('lib/assets/icons/google.svg'),
- onPressed: () {}),
- GFIconButton(
- color: Color(0xFFEA4C89),
- shape: GFIconButtonShape.pills,
- icon: SvgPicture.asset('lib/assets/icons/dribble.svg'),
- onPressed: () {}),
- ],
- ),
- SizedBox(
- height: 20,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFIconButton(
- color: Color(0xFF0E76A8),
- shape: GFIconButtonShape.pills,
- icon: SvgPicture.asset('lib/assets/icons/linkedin.svg'),
- onPressed: () {}),
- GFIconButton(
- color: Color(0xFFC4302B),
- shape: GFIconButtonShape.pills,
- icon: SvgPicture.asset('lib/assets/icons/youtube.svg'),
- onPressed: () {}),
- GFIconButton(
- color: Color(0XFF2EB67D),
- shape: GFIconButtonShape.pills,
- icon: SvgPicture.asset('lib/assets/icons/slack.svg'),
- onPressed: () {}),
- GFIconButton(
- color: Color(0XFFC8232C),
- shape: GFIconButtonShape.pills,
- icon:
- SvgPicture.asset('lib/assets/icons/pinterest.svg'),
- onPressed: () {}),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- ],
- ),
- );
- }
-}
diff --git a/demo_app/lib/screens/button/square-buttons.dart b/demo_app/lib/screens/button/square-buttons.dart
deleted file mode 100644
index 6c875bd6..00000000
--- a/demo_app/lib/screens/button/square-buttons.dart
+++ /dev/null
@@ -1,1178 +0,0 @@
-import 'package:flutter/material.dart';
-import 'package:ui_kit/components/typography/gf_typography.dart';
-import 'package:ui_kit/components/tabs/gf_tabs.dart';
-import 'package:ui_kit/components/button/gf_button.dart';
-import 'package:ui_kit/size/gf_size.dart';
-import 'package:ui_kit/types/gf_typography_type.dart';
-import 'package:ui_kit/types/gf_type.dart';
-import 'package:ui_kit/shape/gf_button_shape.dart';
-import 'package:ui_kit/colors/gf_color.dart';
-import 'package:ui_kit/components/card/gf_card.dart';
-import 'package:ui_kit/components/tabs/gf_tabBarView.dart';
-
-class SquareButtons extends StatefulWidget {
- @override
- _SquareButtonsState createState() => _SquareButtonsState();
-}
-
-class _SquareButtonsState extends State {
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- appBar: AppBar(
- backgroundColor: getGFColor(GFColor.dark),
- leading: GestureDetector(
- onTap: () {
- Navigator.pop(context);
- },
- child: Image.asset('lib/assets/icons/back.png')),
- title: Text(
- 'Square Buttons',
- style: TextStyle(fontSize: 17),
- ),
- centerTitle: true,
- ),
- body: GFTabs(
- height: MediaQuery.of(context).size.height,
- tabBarColor: Color(0xFFD3E9ED),
- initialIndex: 0,
- length: 3,
- indicatorColor: getGFColor(GFColor.info),
- unselectedLabelColor: getGFColor(GFColor.danger),
- labelColor: getGFColor(GFColor.warning),
- tabs: [
- GFButton(
- onPressed: null,
- child: Text(
- "Solid",
- style: TextStyle(fontSize: 12),
- ),
- textColor: GFColor.white,
- shape: GFButtonShape.square,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Outline",
- style: TextStyle(fontSize: 12),
- ),
- type: GFType.outline,
- shape: GFButtonShape.square,
- ),
- GFButton(
- onPressed: null,
- text: 'Outline 2x',
- textStyle: TextStyle(fontSize: 12, color: getGFColor(GFColor.dark)),
- type: GFType.outline2x,
- shape: GFButtonShape.square,
- ),
- ],
- tabBarView: GFTabBarView(
- children: [
- Container(
-// color: Colors.red,
- child: ListView(
- children: [
- Padding(
- padding: EdgeInsets.only(left: 15, top: 30),
- child: GFTypography(
- text: 'Default',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- shape: GFButtonShape.square,
- child: Text(
- "Primary",
- ),
- color: GFColor.primary,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Secondary",
- ),
- color: GFColor.secondary,
- shape: GFButtonShape.square,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Success",
- ),
- shape: GFButtonShape.square,
- color: GFColor.success,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Warning",
- ),
- shape: GFButtonShape.square,
- color: GFColor.warning,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Danger",
- ),
- shape: GFButtonShape.square,
- color: GFColor.danger,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Info",
- ),
- shape: GFButtonShape.square,
- color: GFColor.info,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Light",
- ),
- shape: GFButtonShape.square,
- color: GFColor.light,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Dark",
- ),
- shape: GFButtonShape.square,
- color: GFColor.dark,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Link",
- ),
- color: GFColor.transparent,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- Padding(
- padding: EdgeInsets.only(left: 15, top: 10),
- child: GFTypography(
- text: 'Disabled State',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: null,
- shape: GFButtonShape.square,
- child: Text(
- "Primary",
- ),
- color: GFColor.primary,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Secondary",
- ),
- color: GFColor.secondary,
- shape: GFButtonShape.square,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Success",
- ),
- shape: GFButtonShape.square,
- color: GFColor.success,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: null,
- child: Text(
- "Warning",
- ),
- shape: GFButtonShape.square,
- color: GFColor.warning,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Danger",
- ),
- shape: GFButtonShape.square,
- color: GFColor.danger,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Info",
- ),
- shape: GFButtonShape.square,
- color: GFColor.info,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: null,
- child: Text(
- "Light",
- ),
- shape: GFButtonShape.square,
- color: GFColor.light,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Dark",
- ),
- shape: GFButtonShape.square,
- color: GFColor.dark,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "link",
- ),
- color: GFColor.transparent,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- Padding(
- padding: EdgeInsets.only(left: 15, top: 20),
- child: GFTypography(
- text: 'Button Sizes',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text("Large",
- style: TextStyle(
- color: getGFColor(GFColor.white))),
- color: GFColor.primary,
- size: GFSize.large,
- shape: GFButtonShape.square,
- ),
- GFButton(
- onPressed: () {},
- child: Text("Normal",
- style: TextStyle(
- color: getGFColor(GFColor.white))),
- color: GFColor.primary,
- size: GFSize.medium,
- shape: GFButtonShape.square,
- ),
- GFButton(
- onPressed: () {},
- child: Text("Small",
- style: TextStyle(
- color: getGFColor(GFColor.white))),
- color: GFColor.primary,
- size: GFSize.small,
- shape: GFButtonShape.square,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- Padding(
- padding: EdgeInsets.only(left: 15, top: 20),
- child: GFTypography(
- text: 'Block Buttons',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- GFButton(
- onPressed: () {},
- blockButton: true,
- child: Text("Large",
- style:
- TextStyle(color: getGFColor(GFColor.white))),
- color: GFColor.primary,
- size: GFSize.large,
- shape: GFButtonShape.square,
- ),
- SizedBox(
- height: 10,
- ),
- GFButton(
- onPressed: () {},
- blockButton: true,
- child: Text("Normal",
- style:
- TextStyle(color: getGFColor(GFColor.white))),
- color: GFColor.primary,
- size: GFSize.medium,
- shape: GFButtonShape.square,
- ),
- SizedBox(
- height: 10,
- ),
- GFButton(
- onPressed: () {},
- blockButton: true,
- child: Text("Small",
- style:
- TextStyle(color: getGFColor(GFColor.white))),
- color: GFColor.primary,
- size: GFSize.small,
- shape: GFButtonShape.square,
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- ],
- ),
- ),
-
- //tab 2
- Container(
-// color: Colors.red,
- child: ListView(
- children: [
- Padding(
- padding: EdgeInsets.only(left: 15, top: 30),
- child: GFTypography(
- text: 'Default',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- shape: GFButtonShape.square,
- child: Text(
- "Primary",
- ),
- type: GFType.outline,
- color: GFColor.primary,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Secondary",
- ),
- color: GFColor.secondary,
- type: GFType.outline,
- shape: GFButtonShape.square,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Success",
- ),
- type: GFType.outline,
- shape: GFButtonShape.square,
- color: GFColor.success,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Warning",
- ),
- type: GFType.outline,
- shape: GFButtonShape.square,
- color: GFColor.warning,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Danger",
- ),
- type: GFType.outline,
- shape: GFButtonShape.square,
- color: GFColor.danger,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Info",
- ),
- type: GFType.outline,
- shape: GFButtonShape.square,
- color: GFColor.info,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Light",
- ),
- type: GFType.outline,
- shape: GFButtonShape.square,
- color: GFColor.light,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Dark",
- ),
- type: GFType.outline,
- shape: GFButtonShape.square,
- color: GFColor.dark,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Link",
- ),
- color: GFColor.transparent,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- Padding(
- padding: EdgeInsets.only(left: 15, top: 10),
- child: GFTypography(
- text: 'Disabled State',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: null,
- shape: GFButtonShape.square,
- child: Text(
- "Primary",
- ),
- type: GFType.outline,
- color: GFColor.primary,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Secondary",
- ),
- color: GFColor.secondary,
- type: GFType.outline,
- shape: GFButtonShape.square,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Success",
- ),
- type: GFType.outline,
- shape: GFButtonShape.square,
- color: GFColor.success,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: null,
- child: Text(
- "Warning",
- ),
- type: GFType.outline,
- shape: GFButtonShape.square,
- color: GFColor.warning,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Danger",
- ),
- type: GFType.outline,
- shape: GFButtonShape.square,
- color: GFColor.danger,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Info",
- ),
- type: GFType.outline,
- shape: GFButtonShape.square,
- color: GFColor.info,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: null,
- child: Text(
- "Light",
- ),
- type: GFType.outline,
- shape: GFButtonShape.square,
- color: GFColor.light,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Dark",
- ),
- type: GFType.outline,
- shape: GFButtonShape.square,
- color: GFColor.dark,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Link",
- ),
- color: GFColor.transparent,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- Padding(
- padding: EdgeInsets.only(left: 15, top: 10),
- child: GFTypography(
- text: 'Button Sizes',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Large",
- ),
- color: GFColor.primary,
- size: GFSize.large,
- type: GFType.outline,
- shape: GFButtonShape.square,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Normal",
- ),
- color: GFColor.primary,
- size: GFSize.medium,
- type: GFType.outline,
- shape: GFButtonShape.square,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Small",
- ),
- color: GFColor.primary,
- size: GFSize.small,
- type: GFType.outline,
- shape: GFButtonShape.square,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- Padding(
- padding: EdgeInsets.only(left: 15, top: 10),
- child: GFTypography(
- text: 'Block Buttons',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- GFButton(
- onPressed: () {},
- blockButton: true,
- child: Text(
- "Large",
- ),
- color: GFColor.primary,
- size: GFSize.large,
- type: GFType.outline,
- shape: GFButtonShape.square,
- ),
- SizedBox(
- height: 10,
- ),
- GFButton(
- onPressed: () {},
- blockButton: true,
- child: Text(
- "Normal",
- ),
- color: GFColor.primary,
- size: GFSize.medium,
- type: GFType.outline,
- shape: GFButtonShape.square,
- ),
- SizedBox(
- height: 10,
- ),
- GFButton(
- onPressed: () {},
- blockButton: true,
- child: Text(
- "Small",
- ),
- color: GFColor.primary,
- size: GFSize.small,
- type: GFType.outline,
- shape: GFButtonShape.square,
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- ],
- ),
- ),
-
- //tab 3
- Container(
-// color: Colors.red,
- child: ListView(
- children: [
- Padding(
- padding: EdgeInsets.only(left: 15, top: 30),
- child: GFTypography(
- text: 'Default',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- shape: GFButtonShape.square,
- child: Text(
- "Primary",
- ),
- type: GFType.outline2x,
- color: GFColor.primary,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Secondary",
- ),
- color: GFColor.secondary,
- type: GFType.outline2x,
- shape: GFButtonShape.square,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Success",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.square,
- color: GFColor.success,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Warning",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.square,
- color: GFColor.warning,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Danger",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.square,
- color: GFColor.danger,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Info",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.square,
- color: GFColor.info,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Light",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.square,
- color: GFColor.light,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Dark",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.square,
- color: GFColor.dark,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Link",
- ),
- color: GFColor.transparent,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- Padding(
- padding: EdgeInsets.only(left: 15, top: 10),
- child: GFTypography(
- text: 'Disabled State',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: null,
- shape: GFButtonShape.square,
- child: Text(
- "Primary",
- ),
- type: GFType.outline2x,
- color: GFColor.primary,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Secondary",
- ),
- color: GFColor.secondary,
- type: GFType.outline2x,
- shape: GFButtonShape.square,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Success",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.square,
- color: GFColor.success,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: null,
- child: Text(
- "Warning",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.square,
- color: GFColor.warning,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Danger",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.square,
- color: GFColor.danger,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Info",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.square,
- color: GFColor.info,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: null,
- child: Text(
- "Light",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.square,
- color: GFColor.light,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Dark",
- ),
- type: GFType.outline2x,
- shape: GFButtonShape.square,
- color: GFColor.dark,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Link",
- ),
- color: GFColor.transparent,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- Padding(
- padding: EdgeInsets.only(left: 15, top: 10),
- child: GFTypography(
- text: 'Button Sizes',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Large",
- ),
- color: GFColor.primary,
- size: GFSize.large,
- type: GFType.outline2x,
- shape: GFButtonShape.square,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Normal",
- ),
- color: GFColor.primary,
- size: GFSize.medium,
- type: GFType.outline2x,
- shape: GFButtonShape.square,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Small",
- ),
- color: GFColor.primary,
- size: GFSize.small,
- type: GFType.outline2x,
- shape: GFButtonShape.square,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- Padding(
- padding: EdgeInsets.only(left: 15, top: 10),
- child: GFTypography(
- text: 'Block Buttons',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- GFButton(
- onPressed: () {},
- blockButton: true,
- child: Text(
- "Large",
- ),
- color: GFColor.primary,
- size: GFSize.large,
- type: GFType.outline2x,
- shape: GFButtonShape.square,
- ),
- SizedBox(
- height: 10,
- ),
- GFButton(
- onPressed: () {},
- blockButton: true,
- child: Text(
- "Normal",
- ),
- color: GFColor.primary,
- size: GFSize.medium,
- type: GFType.outline2x,
- shape: GFButtonShape.square,
- ),
- SizedBox(
- height: 10,
- ),
- GFButton(
- onPressed: () {},
- blockButton: true,
- child: Text(
- "Small",
- ),
- color: GFColor.primary,
- size: GFSize.small,
- type: GFType.outline2x,
- shape: GFButtonShape.square,
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- ],
- ),
- ),
- ],
- ),
- ),
- );
- }
-}
diff --git a/demo_app/lib/screens/button/standard-buttons.dart b/demo_app/lib/screens/button/standard-buttons.dart
deleted file mode 100644
index 0f1e3b70..00000000
--- a/demo_app/lib/screens/button/standard-buttons.dart
+++ /dev/null
@@ -1,1213 +0,0 @@
-import 'package:flutter/material.dart';
-import 'package:ui_kit/components/typography/gf_typography.dart';
-import 'package:ui_kit/components/tabs/gf_tabs.dart';
-import 'package:ui_kit/components/button/gf_button.dart';
-import 'package:ui_kit/size/gf_size.dart';
-import 'package:ui_kit/types/gf_typography_type.dart';
-import 'package:ui_kit/types/gf_toggle_type.dart';
-import 'package:ui_kit/types/gf_type.dart';
-import 'package:ui_kit/shape/gf_button_shape.dart';
-import 'package:ui_kit/colors/gf_color.dart';
-import 'package:ui_kit/components/card/gf_card.dart';
-import 'package:ui_kit/components/tabs/gf_tabBarView.dart';
-
-class StandardButtons extends StatefulWidget {
- @override
- _StandardButtonsState createState() => _StandardButtonsState();
-}
-
-class _StandardButtonsState extends State {
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- appBar: AppBar(
- backgroundColor: getGFColor(GFColor.dark),
- leading: GestureDetector(
- onTap: () {
- Navigator.pop(context);
- },
- child: Image.asset('lib/assets/icons/back.png')),
- title: Text(
- 'Standard Buttons',
- style: TextStyle(fontSize: 17),
- ),
- centerTitle: true,
- ),
- body: GFTabs(
- height: MediaQuery.of(context).size.height,
- tabBarColor: Color(0xFFD3E9ED),
- initialIndex: 0,
- length: 3,
- indicatorColor: getGFColor(GFColor.info),
- unselectedLabelColor: getGFColor(GFColor.danger),
- labelColor: getGFColor(GFColor.warning),
- tabs: [
- GFButton(
- onPressed: null,
- child: Text(
- "Solid",
- style: TextStyle(fontSize: 12),
- ),
- type: GFType.solid,
- textColor: GFColor.white,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Outline",
- style: TextStyle(fontSize: 12),
- ),
- type: GFType.outline,
- ),
- GFButton(
- onPressed: null,
- text: 'Outline 2x',
- textStyle: TextStyle(fontSize: 12, color: getGFColor(GFColor.dark)),
- type: GFType.outline2x,
- ),
- ],
- tabBarView: GFTabBarView(
- children: [
- Container(
-// color: Colors.red,
- child: ListView(
- children: [
- Padding(
- padding: EdgeInsets.only(left: 15, top: 30),
- child: GFTypography(
- text: 'Default',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- shape: GFButtonShape.standard,
- child: Text("Primary",
- style: TextStyle(
- color: getGFColor(GFColor.white))),
- color: GFColor.primary,
- ),
- GFButton(
- onPressed: () {},
- child: Text("Secondary",
- style: TextStyle(
- color: getGFColor(GFColor.white))),
- color: GFColor.secondary,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Success",
- ),
- color: GFColor.success,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Warning",
- ),
- color: GFColor.warning,
- ),
- GFButton(
- onPressed: () {},
- child: Text("Danger",
- style: TextStyle(
- color: getGFColor(GFColor.white))),
- color: GFColor.danger,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Info",
- ),
- color: GFColor.info,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: () {},
- child: Text(
- "Light",
- ),
- color: GFColor.light,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Dark",
- style:
- TextStyle(color: getGFColor(GFColor.white)),
- ),
- color: GFColor.dark,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Link",
- ),
- type: GFType.solid,
- color: GFColor.transparent,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- Padding(
- padding: EdgeInsets.only(left: 15, top: 10),
- child: GFTypography(
- text: 'Disabled State',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: null,
- shape: GFButtonShape.standard,
- child: Text("Primary",
- style: TextStyle(
- color: getGFColor(GFColor.white))),
- color: GFColor.primary,
- ),
- GFButton(
- onPressed: null,
- child: Text("Secondary",
- style: TextStyle(
- color: getGFColor(GFColor.white))),
- color: GFColor.secondary,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Success",
- ),
- color: GFColor.success,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: null,
- child: Text(
- "Warning",
- ),
- color: GFColor.warning,
- ),
- GFButton(
- onPressed: null,
- child: Text("Danger",
- style: TextStyle(
- color: getGFColor(GFColor.white))),
- color: GFColor.danger,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Info",
- ),
- color: GFColor.info,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- GFButton(
- onPressed: null,
- child: Text(
- "Light",
- ),
- color: GFColor.light,
- ),
- GFButton(
- onPressed: null,
- child: Text(
- "Dark",
- style:
- TextStyle(color: getGFColor(GFColor.white)),
- ),
- color: GFColor.dark,
- ),
- GFButton(
- onPressed: () {},
- child: Text(
- "Link",
- ),
- type: GFType.solid,
- color: GFColor.transparent,
- ),
- ],
- ),
- SizedBox(
- height: 10,
- ),
- ],
- ),
- ),
- Padding(
- padding: EdgeInsets.only(left: 15, top: 10),
- child: GFTypography(
- text: 'Transparent Buttons',
- type: GFTypographyType.typo5,
- dividerWidth: 25,
- dividerColor: Color(0xFF19CA4B),
- ),
- ),
- GFCard(
- content: Column(
- mainAxisAlignment: MainAxisAlignment.start,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: