├── .gitignore ├── .metadata ├── README.md ├── android ├── app │ ├── build.gradle │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── componentes │ │ │ │ └── MainActivity.java │ │ └── res │ │ │ ├── drawable │ │ │ └── launch_background.xml │ │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ └── ic_launcher.png │ │ │ └── values │ │ │ └── styles.xml │ │ └── profile │ │ └── AndroidManifest.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── assets └── jar-loading.gif ├── data └── menu_opts.json ├── ios ├── Flutter │ ├── AppFrameworkInfo.plist │ ├── Debug.xcconfig │ └── Release.xcconfig ├── Runner.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── Runner.xcscheme ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── WorkspaceSettings.xcsettings └── Runner │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ ├── Contents.json │ │ ├── Icon-App-1024x1024@1x.png │ │ ├── Icon-App-20x20@1x.png │ │ ├── Icon-App-20x20@2x.png │ │ ├── Icon-App-20x20@3x.png │ │ ├── Icon-App-29x29@1x.png │ │ ├── Icon-App-29x29@2x.png │ │ ├── Icon-App-29x29@3x.png │ │ ├── Icon-App-40x40@1x.png │ │ ├── Icon-App-40x40@2x.png │ │ ├── Icon-App-40x40@3x.png │ │ ├── Icon-App-60x60@2x.png │ │ ├── Icon-App-60x60@3x.png │ │ ├── Icon-App-76x76@1x.png │ │ ├── Icon-App-76x76@2x.png │ │ └── Icon-App-83.5x83.5@2x.png │ └── LaunchImage.imageset │ │ ├── Contents.json │ │ ├── LaunchImage.png │ │ ├── LaunchImage@2x.png │ │ ├── LaunchImage@3x.png │ │ └── README.md │ ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard │ ├── Info.plist │ └── main.m ├── lib ├── main.dart └── src │ ├── pages │ ├── alert_page.dart │ ├── animated_container.dart │ ├── avatar_page.dart │ ├── card_page.dart │ ├── home_page.dart │ ├── home_temp.dart │ ├── input_page.dart │ ├── listview_page.dart │ └── slider_page.dart │ ├── providers │ └── menu_provider.dart │ ├── routes │ └── routes.dart │ └── utils │ └── icono_string_util.dart ├── pubspec.lock └── pubspec.yaml /.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.log 4 | *.pyc 5 | *.swp 6 | .DS_Store 7 | .atom/ 8 | .buildlog/ 9 | .history 10 | .svn/ 11 | 12 | # IntelliJ related 13 | *.iml 14 | *.ipr 15 | *.iws 16 | .idea/ 17 | 18 | # Visual Studio Code related 19 | .vscode/ 20 | 21 | # Flutter/Dart/Pub related 22 | **/doc/api/ 23 | .dart_tool/ 24 | .flutter-plugins 25 | .packages 26 | .pub-cache/ 27 | .pub/ 28 | /build/ 29 | 30 | # Android related 31 | **/android/**/gradle-wrapper.jar 32 | **/android/.gradle 33 | **/android/captures/ 34 | **/android/gradlew 35 | **/android/gradlew.bat 36 | **/android/local.properties 37 | **/android/**/GeneratedPluginRegistrant.java 38 | 39 | # iOS/XCode related 40 | **/ios/**/*.mode1v3 41 | **/ios/**/*.mode2v3 42 | **/ios/**/*.moved-aside 43 | **/ios/**/*.pbxuser 44 | **/ios/**/*.perspectivev3 45 | **/ios/**/*sync/ 46 | **/ios/**/.sconsign.dblite 47 | **/ios/**/.tags* 48 | **/ios/**/.vagrant/ 49 | **/ios/**/DerivedData/ 50 | **/ios/**/Icon? 51 | **/ios/**/Pods/ 52 | **/ios/**/.symlinks/ 53 | **/ios/**/profile 54 | **/ios/**/xcuserdata 55 | **/ios/.generated/ 56 | **/ios/Flutter/App.framework 57 | **/ios/Flutter/Flutter.framework 58 | **/ios/Flutter/Generated.xcconfig 59 | **/ios/Flutter/app.flx 60 | **/ios/Flutter/app.zip 61 | **/ios/Flutter/flutter_assets/ 62 | **/ios/ServiceDefinitions.json 63 | **/ios/Runner/GeneratedPluginRegistrant.* 64 | 65 | # Exceptions to above rules. 66 | !**/ios/**/default.mode1v3 67 | !**/ios/**/default.mode2v3 68 | !**/ios/**/default.pbxuser 69 | !**/ios/**/default.perspectivev3 70 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages 71 | -------------------------------------------------------------------------------- /.metadata: -------------------------------------------------------------------------------- 1 | # This file tracks properties of this Flutter project. 2 | # Used by Flutter tool to assess capabilities and perform upgrades etc. 3 | # 4 | # This file should be version controlled and should not be manually edited. 5 | 6 | version: 7 | revision: 8661d8aecd626f7f57ccbcb735553edc05a2e713 8 | channel: stable 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Proyecto de componentes 2 | 3 | Segundo ejercicio del curso de Flutter 4 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | def localProperties = new Properties() 2 | def localPropertiesFile = rootProject.file('local.properties') 3 | if (localPropertiesFile.exists()) { 4 | localPropertiesFile.withReader('UTF-8') { reader -> 5 | localProperties.load(reader) 6 | } 7 | } 8 | 9 | def flutterRoot = localProperties.getProperty('flutter.sdk') 10 | if (flutterRoot == null) { 11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") 12 | } 13 | 14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode') 15 | if (flutterVersionCode == null) { 16 | flutterVersionCode = '1' 17 | } 18 | 19 | def flutterVersionName = localProperties.getProperty('flutter.versionName') 20 | if (flutterVersionName == null) { 21 | flutterVersionName = '1.0' 22 | } 23 | 24 | apply plugin: 'com.android.application' 25 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 26 | 27 | android { 28 | compileSdkVersion 28 29 | 30 | lintOptions { 31 | disable 'InvalidPackage' 32 | } 33 | 34 | defaultConfig { 35 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 36 | applicationId "com.example.componentes" 37 | minSdkVersion 16 38 | targetSdkVersion 28 39 | versionCode flutterVersionCode.toInteger() 40 | versionName flutterVersionName 41 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 42 | } 43 | 44 | buildTypes { 45 | release { 46 | // TODO: Add your own signing config for the release build. 47 | // Signing with the debug keys for now, so `flutter run --release` works. 48 | signingConfig signingConfigs.debug 49 | } 50 | } 51 | } 52 | 53 | flutter { 54 | source '../..' 55 | } 56 | 57 | dependencies { 58 | testImplementation 'junit:junit:4.12' 59 | androidTestImplementation 'com.android.support.test:runner:1.0.2' 60 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' 61 | } 62 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 9 | 13 | 20 | 24 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/example/componentes/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.componentes; 2 | 3 | import android.os.Bundle; 4 | import io.flutter.app.FlutterActivity; 5 | import io.flutter.plugins.GeneratedPluginRegistrant; 6 | 7 | public class MainActivity extends FlutterActivity { 8 | @Override 9 | protected void onCreate(Bundle savedInstanceState) { 10 | super.onCreate(savedInstanceState); 11 | GeneratedPluginRegistrant.registerWith(this); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Klerith/flutter-componentes/9cc9b15eab4e6aab0b9232374bac5bfa0c67c402/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Klerith/flutter-componentes/9cc9b15eab4e6aab0b9232374bac5bfa0c67c402/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Klerith/flutter-componentes/9cc9b15eab4e6aab0b9232374bac5bfa0c67c402/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Klerith/flutter-componentes/9cc9b15eab4e6aab0b9232374bac5bfa0c67c402/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Klerith/flutter-componentes/9cc9b15eab4e6aab0b9232374bac5bfa0c67c402/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | repositories { 3 | google() 4 | jcenter() 5 | } 6 | 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:3.2.1' 9 | } 10 | } 11 | 12 | allprojects { 13 | repositories { 14 | google() 15 | jcenter() 16 | } 17 | } 18 | 19 | rootProject.buildDir = '../build' 20 | subprojects { 21 | project.buildDir = "${rootProject.buildDir}/${project.name}" 22 | } 23 | subprojects { 24 | project.evaluationDependsOn(':app') 25 | } 26 | 27 | task clean(type: Delete) { 28 | delete rootProject.buildDir 29 | } 30 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jun 23 08:50:38 CEST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip 7 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def flutterProjectRoot = rootProject.projectDir.parentFile.toPath() 4 | 5 | def plugins = new Properties() 6 | def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins') 7 | if (pluginsFile.exists()) { 8 | pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) } 9 | } 10 | 11 | plugins.each { name, path -> 12 | def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile() 13 | include ":$name" 14 | project(":$name").projectDir = pluginDirectory 15 | } 16 | -------------------------------------------------------------------------------- /assets/jar-loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Klerith/flutter-componentes/9cc9b15eab4e6aab0b9232374bac5bfa0c67c402/assets/jar-loading.gif -------------------------------------------------------------------------------- /data/menu_opts.json: -------------------------------------------------------------------------------- 1 | { 2 | "nombreApp" : "Componentes", 3 | "rutas" : [ 4 | { 5 | "ruta" : "alert", 6 | "icon" : "add_alert", 7 | "texto": "Alertas" 8 | }, 9 | { 10 | "ruta" : "avatar", 11 | "icon" : "accessibility", 12 | "texto": "Avatars" 13 | }, 14 | { 15 | "ruta" : "card", 16 | "icon" : "folder_open", 17 | "texto": "Cards - Tarjetas" 18 | }, 19 | { 20 | "ruta" : "animatedContainer", 21 | "icon" : "donut_large", 22 | "texto": "Animated Container" 23 | }, 24 | { 25 | "ruta" : "inputs", 26 | "icon" : "input", 27 | "texto": "Inputs" 28 | }, 29 | { 30 | "ruta" : "slider", 31 | "icon" : "tune", 32 | "texto": "Slider - Checks" 33 | }, 34 | { 35 | "ruta" : "list", 36 | "icon" : "list", 37 | "texto": "Listas y Scroll" 38 | } 39 | ] 40 | } -------------------------------------------------------------------------------- /ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | App 9 | CFBundleIdentifier 10 | io.flutter.flutter.app 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | App 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | MinimumOSVersion 24 | 8.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 12 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; }; 13 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 14 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; }; 15 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 16 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; }; 17 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; }; 18 | 97C146F31CF9000F007C117D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 97C146F21CF9000F007C117D /* main.m */; }; 19 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 20 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 21 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 22 | /* End PBXBuildFile section */ 23 | 24 | /* Begin PBXCopyFilesBuildPhase section */ 25 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 26 | isa = PBXCopyFilesBuildPhase; 27 | buildActionMask = 2147483647; 28 | dstPath = ""; 29 | dstSubfolderSpec = 10; 30 | files = ( 31 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */, 32 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */, 33 | ); 34 | name = "Embed Frameworks"; 35 | runOnlyForDeploymentPostprocessing = 0; 36 | }; 37 | /* End PBXCopyFilesBuildPhase section */ 38 | 39 | /* Begin PBXFileReference section */ 40 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 41 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 42 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 43 | 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; }; 44 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 45 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 46 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 47 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 48 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 49 | 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; }; 50 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 51 | 97C146F21CF9000F007C117D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 52 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 53 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 54 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 55 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 56 | /* End PBXFileReference section */ 57 | 58 | /* Begin PBXFrameworksBuildPhase section */ 59 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 60 | isa = PBXFrameworksBuildPhase; 61 | buildActionMask = 2147483647; 62 | files = ( 63 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */, 64 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */, 65 | ); 66 | runOnlyForDeploymentPostprocessing = 0; 67 | }; 68 | /* End PBXFrameworksBuildPhase section */ 69 | 70 | /* Begin PBXGroup section */ 71 | 9740EEB11CF90186004384FC /* Flutter */ = { 72 | isa = PBXGroup; 73 | children = ( 74 | 3B80C3931E831B6300D905FE /* App.framework */, 75 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 76 | 9740EEBA1CF902C7004384FC /* Flutter.framework */, 77 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 78 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 79 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 80 | ); 81 | name = Flutter; 82 | sourceTree = ""; 83 | }; 84 | 97C146E51CF9000F007C117D = { 85 | isa = PBXGroup; 86 | children = ( 87 | 9740EEB11CF90186004384FC /* Flutter */, 88 | 97C146F01CF9000F007C117D /* Runner */, 89 | 97C146EF1CF9000F007C117D /* Products */, 90 | CF3B75C9A7D2FA2A4C99F110 /* Frameworks */, 91 | ); 92 | sourceTree = ""; 93 | }; 94 | 97C146EF1CF9000F007C117D /* Products */ = { 95 | isa = PBXGroup; 96 | children = ( 97 | 97C146EE1CF9000F007C117D /* Runner.app */, 98 | ); 99 | name = Products; 100 | sourceTree = ""; 101 | }; 102 | 97C146F01CF9000F007C117D /* Runner */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */, 106 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */, 107 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 108 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 109 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 110 | 97C147021CF9000F007C117D /* Info.plist */, 111 | 97C146F11CF9000F007C117D /* Supporting Files */, 112 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 113 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 114 | ); 115 | path = Runner; 116 | sourceTree = ""; 117 | }; 118 | 97C146F11CF9000F007C117D /* Supporting Files */ = { 119 | isa = PBXGroup; 120 | children = ( 121 | 97C146F21CF9000F007C117D /* main.m */, 122 | ); 123 | name = "Supporting Files"; 124 | sourceTree = ""; 125 | }; 126 | /* End PBXGroup section */ 127 | 128 | /* Begin PBXNativeTarget section */ 129 | 97C146ED1CF9000F007C117D /* Runner */ = { 130 | isa = PBXNativeTarget; 131 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 132 | buildPhases = ( 133 | 9740EEB61CF901F6004384FC /* Run Script */, 134 | 97C146EA1CF9000F007C117D /* Sources */, 135 | 97C146EB1CF9000F007C117D /* Frameworks */, 136 | 97C146EC1CF9000F007C117D /* Resources */, 137 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 138 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 139 | ); 140 | buildRules = ( 141 | ); 142 | dependencies = ( 143 | ); 144 | name = Runner; 145 | productName = Runner; 146 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 147 | productType = "com.apple.product-type.application"; 148 | }; 149 | /* End PBXNativeTarget section */ 150 | 151 | /* Begin PBXProject section */ 152 | 97C146E61CF9000F007C117D /* Project object */ = { 153 | isa = PBXProject; 154 | attributes = { 155 | LastUpgradeCheck = 0910; 156 | ORGANIZATIONNAME = "The Chromium Authors"; 157 | TargetAttributes = { 158 | 97C146ED1CF9000F007C117D = { 159 | CreatedOnToolsVersion = 7.3.1; 160 | }; 161 | }; 162 | }; 163 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 164 | compatibilityVersion = "Xcode 3.2"; 165 | developmentRegion = English; 166 | hasScannedForEncodings = 0; 167 | knownRegions = ( 168 | en, 169 | Base, 170 | ); 171 | mainGroup = 97C146E51CF9000F007C117D; 172 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 173 | projectDirPath = ""; 174 | projectRoot = ""; 175 | targets = ( 176 | 97C146ED1CF9000F007C117D /* Runner */, 177 | ); 178 | }; 179 | /* End PBXProject section */ 180 | 181 | /* Begin PBXResourcesBuildPhase section */ 182 | 97C146EC1CF9000F007C117D /* Resources */ = { 183 | isa = PBXResourcesBuildPhase; 184 | buildActionMask = 2147483647; 185 | files = ( 186 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 187 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 188 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */, 189 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 190 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 191 | ); 192 | runOnlyForDeploymentPostprocessing = 0; 193 | }; 194 | /* End PBXResourcesBuildPhase section */ 195 | 196 | /* Begin PBXShellScriptBuildPhase section */ 197 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 198 | isa = PBXShellScriptBuildPhase; 199 | buildActionMask = 2147483647; 200 | files = ( 201 | ); 202 | inputPaths = ( 203 | ); 204 | name = "Thin Binary"; 205 | outputPaths = ( 206 | ); 207 | runOnlyForDeploymentPostprocessing = 0; 208 | shellPath = /bin/sh; 209 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin"; 210 | }; 211 | 9740EEB61CF901F6004384FC /* Run Script */ = { 212 | isa = PBXShellScriptBuildPhase; 213 | buildActionMask = 2147483647; 214 | files = ( 215 | ); 216 | inputPaths = ( 217 | ); 218 | name = "Run Script"; 219 | outputPaths = ( 220 | ); 221 | runOnlyForDeploymentPostprocessing = 0; 222 | shellPath = /bin/sh; 223 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 224 | }; 225 | /* End PBXShellScriptBuildPhase section */ 226 | 227 | /* Begin PBXSourcesBuildPhase section */ 228 | 97C146EA1CF9000F007C117D /* Sources */ = { 229 | isa = PBXSourcesBuildPhase; 230 | buildActionMask = 2147483647; 231 | files = ( 232 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */, 233 | 97C146F31CF9000F007C117D /* main.m in Sources */, 234 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 235 | ); 236 | runOnlyForDeploymentPostprocessing = 0; 237 | }; 238 | /* End PBXSourcesBuildPhase section */ 239 | 240 | /* Begin PBXVariantGroup section */ 241 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 242 | isa = PBXVariantGroup; 243 | children = ( 244 | 97C146FB1CF9000F007C117D /* Base */, 245 | ); 246 | name = Main.storyboard; 247 | sourceTree = ""; 248 | }; 249 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 250 | isa = PBXVariantGroup; 251 | children = ( 252 | 97C147001CF9000F007C117D /* Base */, 253 | ); 254 | name = LaunchScreen.storyboard; 255 | sourceTree = ""; 256 | }; 257 | /* End PBXVariantGroup section */ 258 | 259 | /* Begin XCBuildConfiguration section */ 260 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 261 | isa = XCBuildConfiguration; 262 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 263 | buildSettings = { 264 | ALWAYS_SEARCH_USER_PATHS = NO; 265 | CLANG_ANALYZER_NONNULL = YES; 266 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 267 | CLANG_CXX_LIBRARY = "libc++"; 268 | CLANG_ENABLE_MODULES = YES; 269 | CLANG_ENABLE_OBJC_ARC = YES; 270 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 271 | CLANG_WARN_BOOL_CONVERSION = YES; 272 | CLANG_WARN_COMMA = YES; 273 | CLANG_WARN_CONSTANT_CONVERSION = YES; 274 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 275 | CLANG_WARN_EMPTY_BODY = YES; 276 | CLANG_WARN_ENUM_CONVERSION = YES; 277 | CLANG_WARN_INFINITE_RECURSION = YES; 278 | CLANG_WARN_INT_CONVERSION = YES; 279 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 280 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 281 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 282 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 283 | CLANG_WARN_STRICT_PROTOTYPES = YES; 284 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 285 | CLANG_WARN_UNREACHABLE_CODE = YES; 286 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 287 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 288 | COPY_PHASE_STRIP = NO; 289 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 290 | ENABLE_NS_ASSERTIONS = NO; 291 | ENABLE_STRICT_OBJC_MSGSEND = YES; 292 | GCC_C_LANGUAGE_STANDARD = gnu99; 293 | GCC_NO_COMMON_BLOCKS = YES; 294 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 295 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 296 | GCC_WARN_UNDECLARED_SELECTOR = YES; 297 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 298 | GCC_WARN_UNUSED_FUNCTION = YES; 299 | GCC_WARN_UNUSED_VARIABLE = YES; 300 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 301 | MTL_ENABLE_DEBUG_INFO = NO; 302 | SDKROOT = iphoneos; 303 | TARGETED_DEVICE_FAMILY = "1,2"; 304 | VALIDATE_PRODUCT = YES; 305 | }; 306 | name = Profile; 307 | }; 308 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 309 | isa = XCBuildConfiguration; 310 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 311 | buildSettings = { 312 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 313 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 314 | DEVELOPMENT_TEAM = S8QB4VV633; 315 | ENABLE_BITCODE = NO; 316 | FRAMEWORK_SEARCH_PATHS = ( 317 | "$(inherited)", 318 | "$(PROJECT_DIR)/Flutter", 319 | ); 320 | INFOPLIST_FILE = Runner/Info.plist; 321 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 322 | LIBRARY_SEARCH_PATHS = ( 323 | "$(inherited)", 324 | "$(PROJECT_DIR)/Flutter", 325 | ); 326 | PRODUCT_BUNDLE_IDENTIFIER = com.example.componentes; 327 | PRODUCT_NAME = "$(TARGET_NAME)"; 328 | VERSIONING_SYSTEM = "apple-generic"; 329 | }; 330 | name = Profile; 331 | }; 332 | 97C147031CF9000F007C117D /* Debug */ = { 333 | isa = XCBuildConfiguration; 334 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 335 | buildSettings = { 336 | ALWAYS_SEARCH_USER_PATHS = NO; 337 | CLANG_ANALYZER_NONNULL = YES; 338 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 339 | CLANG_CXX_LIBRARY = "libc++"; 340 | CLANG_ENABLE_MODULES = YES; 341 | CLANG_ENABLE_OBJC_ARC = YES; 342 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 343 | CLANG_WARN_BOOL_CONVERSION = YES; 344 | CLANG_WARN_COMMA = YES; 345 | CLANG_WARN_CONSTANT_CONVERSION = YES; 346 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 347 | CLANG_WARN_EMPTY_BODY = YES; 348 | CLANG_WARN_ENUM_CONVERSION = YES; 349 | CLANG_WARN_INFINITE_RECURSION = YES; 350 | CLANG_WARN_INT_CONVERSION = YES; 351 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 352 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 353 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 354 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 355 | CLANG_WARN_STRICT_PROTOTYPES = YES; 356 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 357 | CLANG_WARN_UNREACHABLE_CODE = YES; 358 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 359 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 360 | COPY_PHASE_STRIP = NO; 361 | DEBUG_INFORMATION_FORMAT = dwarf; 362 | ENABLE_STRICT_OBJC_MSGSEND = YES; 363 | ENABLE_TESTABILITY = YES; 364 | GCC_C_LANGUAGE_STANDARD = gnu99; 365 | GCC_DYNAMIC_NO_PIC = NO; 366 | GCC_NO_COMMON_BLOCKS = YES; 367 | GCC_OPTIMIZATION_LEVEL = 0; 368 | GCC_PREPROCESSOR_DEFINITIONS = ( 369 | "DEBUG=1", 370 | "$(inherited)", 371 | ); 372 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 373 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 374 | GCC_WARN_UNDECLARED_SELECTOR = YES; 375 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 376 | GCC_WARN_UNUSED_FUNCTION = YES; 377 | GCC_WARN_UNUSED_VARIABLE = YES; 378 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 379 | MTL_ENABLE_DEBUG_INFO = YES; 380 | ONLY_ACTIVE_ARCH = YES; 381 | SDKROOT = iphoneos; 382 | TARGETED_DEVICE_FAMILY = "1,2"; 383 | }; 384 | name = Debug; 385 | }; 386 | 97C147041CF9000F007C117D /* Release */ = { 387 | isa = XCBuildConfiguration; 388 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 389 | buildSettings = { 390 | ALWAYS_SEARCH_USER_PATHS = NO; 391 | CLANG_ANALYZER_NONNULL = YES; 392 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 393 | CLANG_CXX_LIBRARY = "libc++"; 394 | CLANG_ENABLE_MODULES = YES; 395 | CLANG_ENABLE_OBJC_ARC = YES; 396 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 397 | CLANG_WARN_BOOL_CONVERSION = YES; 398 | CLANG_WARN_COMMA = YES; 399 | CLANG_WARN_CONSTANT_CONVERSION = YES; 400 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 401 | CLANG_WARN_EMPTY_BODY = YES; 402 | CLANG_WARN_ENUM_CONVERSION = YES; 403 | CLANG_WARN_INFINITE_RECURSION = YES; 404 | CLANG_WARN_INT_CONVERSION = YES; 405 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 406 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 407 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 408 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 409 | CLANG_WARN_STRICT_PROTOTYPES = YES; 410 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 411 | CLANG_WARN_UNREACHABLE_CODE = YES; 412 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 413 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 414 | COPY_PHASE_STRIP = NO; 415 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 416 | ENABLE_NS_ASSERTIONS = NO; 417 | ENABLE_STRICT_OBJC_MSGSEND = YES; 418 | GCC_C_LANGUAGE_STANDARD = gnu99; 419 | GCC_NO_COMMON_BLOCKS = YES; 420 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 421 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 422 | GCC_WARN_UNDECLARED_SELECTOR = YES; 423 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 424 | GCC_WARN_UNUSED_FUNCTION = YES; 425 | GCC_WARN_UNUSED_VARIABLE = YES; 426 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 427 | MTL_ENABLE_DEBUG_INFO = NO; 428 | SDKROOT = iphoneos; 429 | TARGETED_DEVICE_FAMILY = "1,2"; 430 | VALIDATE_PRODUCT = YES; 431 | }; 432 | name = Release; 433 | }; 434 | 97C147061CF9000F007C117D /* Debug */ = { 435 | isa = XCBuildConfiguration; 436 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 437 | buildSettings = { 438 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 439 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 440 | ENABLE_BITCODE = NO; 441 | FRAMEWORK_SEARCH_PATHS = ( 442 | "$(inherited)", 443 | "$(PROJECT_DIR)/Flutter", 444 | ); 445 | INFOPLIST_FILE = Runner/Info.plist; 446 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 447 | LIBRARY_SEARCH_PATHS = ( 448 | "$(inherited)", 449 | "$(PROJECT_DIR)/Flutter", 450 | ); 451 | PRODUCT_BUNDLE_IDENTIFIER = com.example.componentes; 452 | PRODUCT_NAME = "$(TARGET_NAME)"; 453 | VERSIONING_SYSTEM = "apple-generic"; 454 | }; 455 | name = Debug; 456 | }; 457 | 97C147071CF9000F007C117D /* Release */ = { 458 | isa = XCBuildConfiguration; 459 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 460 | buildSettings = { 461 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 462 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 463 | ENABLE_BITCODE = NO; 464 | FRAMEWORK_SEARCH_PATHS = ( 465 | "$(inherited)", 466 | "$(PROJECT_DIR)/Flutter", 467 | ); 468 | INFOPLIST_FILE = Runner/Info.plist; 469 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 470 | LIBRARY_SEARCH_PATHS = ( 471 | "$(inherited)", 472 | "$(PROJECT_DIR)/Flutter", 473 | ); 474 | PRODUCT_BUNDLE_IDENTIFIER = com.example.componentes; 475 | PRODUCT_NAME = "$(TARGET_NAME)"; 476 | VERSIONING_SYSTEM = "apple-generic"; 477 | }; 478 | name = Release; 479 | }; 480 | /* End XCBuildConfiguration section */ 481 | 482 | /* Begin XCConfigurationList section */ 483 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 484 | isa = XCConfigurationList; 485 | buildConfigurations = ( 486 | 97C147031CF9000F007C117D /* Debug */, 487 | 97C147041CF9000F007C117D /* Release */, 488 | 249021D3217E4FDB00AE95B9 /* Profile */, 489 | ); 490 | defaultConfigurationIsVisible = 0; 491 | defaultConfigurationName = Release; 492 | }; 493 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 494 | isa = XCConfigurationList; 495 | buildConfigurations = ( 496 | 97C147061CF9000F007C117D /* Debug */, 497 | 97C147071CF9000F007C117D /* Release */, 498 | 249021D4217E4FDB00AE95B9 /* Profile */, 499 | ); 500 | defaultConfigurationIsVisible = 0; 501 | defaultConfigurationName = Release; 502 | }; 503 | /* End XCConfigurationList section */ 504 | }; 505 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 506 | } 507 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 31 | 32 | 33 | 34 | 40 | 41 | 42 | 43 | 44 | 45 | 56 | 58 | 64 | 65 | 66 | 67 | 68 | 69 | 75 | 77 | 83 | 84 | 85 | 86 | 88 | 89 | 92 | 93 | 94 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildSystemType 6 | Original 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | @interface AppDelegate : FlutterAppDelegate 5 | 6 | @end 7 | -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.m: -------------------------------------------------------------------------------- 1 | #include "AppDelegate.h" 2 | #include "GeneratedPluginRegistrant.h" 3 | 4 | @implementation AppDelegate 5 | 6 | - (BOOL)application:(UIApplication *)application 7 | didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 8 | [GeneratedPluginRegistrant registerWithRegistry:self]; 9 | // Override point for customization after application launch. 10 | return [super application:application didFinishLaunchingWithOptions:launchOptions]; 11 | } 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "20x20", 5 | "idiom" : "iphone", 6 | "filename" : "Icon-App-20x20@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "20x20", 11 | "idiom" : "iphone", 12 | "filename" : "Icon-App-20x20@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "29x29", 17 | "idiom" : "iphone", 18 | "filename" : "Icon-App-29x29@1x.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "29x29", 23 | "idiom" : "iphone", 24 | "filename" : "Icon-App-29x29@2x.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "29x29", 29 | "idiom" : "iphone", 30 | "filename" : "Icon-App-29x29@3x.png", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "size" : "40x40", 35 | "idiom" : "iphone", 36 | "filename" : "Icon-App-40x40@2x.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "40x40", 41 | "idiom" : "iphone", 42 | "filename" : "Icon-App-40x40@3x.png", 43 | "scale" : "3x" 44 | }, 45 | { 46 | "size" : "60x60", 47 | "idiom" : "iphone", 48 | "filename" : "Icon-App-60x60@2x.png", 49 | "scale" : "2x" 50 | }, 51 | { 52 | "size" : "60x60", 53 | "idiom" : "iphone", 54 | "filename" : "Icon-App-60x60@3x.png", 55 | "scale" : "3x" 56 | }, 57 | { 58 | "size" : "20x20", 59 | "idiom" : "ipad", 60 | "filename" : "Icon-App-20x20@1x.png", 61 | "scale" : "1x" 62 | }, 63 | { 64 | "size" : "20x20", 65 | "idiom" : "ipad", 66 | "filename" : "Icon-App-20x20@2x.png", 67 | "scale" : "2x" 68 | }, 69 | { 70 | "size" : "29x29", 71 | "idiom" : "ipad", 72 | "filename" : "Icon-App-29x29@1x.png", 73 | "scale" : "1x" 74 | }, 75 | { 76 | "size" : "29x29", 77 | "idiom" : "ipad", 78 | "filename" : "Icon-App-29x29@2x.png", 79 | "scale" : "2x" 80 | }, 81 | { 82 | "size" : "40x40", 83 | "idiom" : "ipad", 84 | "filename" : "Icon-App-40x40@1x.png", 85 | "scale" : "1x" 86 | }, 87 | { 88 | "size" : "40x40", 89 | "idiom" : "ipad", 90 | "filename" : "Icon-App-40x40@2x.png", 91 | "scale" : "2x" 92 | }, 93 | { 94 | "size" : "76x76", 95 | "idiom" : "ipad", 96 | "filename" : "Icon-App-76x76@1x.png", 97 | "scale" : "1x" 98 | }, 99 | { 100 | "size" : "76x76", 101 | "idiom" : "ipad", 102 | "filename" : "Icon-App-76x76@2x.png", 103 | "scale" : "2x" 104 | }, 105 | { 106 | "size" : "83.5x83.5", 107 | "idiom" : "ipad", 108 | "filename" : "Icon-App-83.5x83.5@2x.png", 109 | "scale" : "2x" 110 | }, 111 | { 112 | "size" : "1024x1024", 113 | "idiom" : "ios-marketing", 114 | "filename" : "Icon-App-1024x1024@1x.png", 115 | "scale" : "1x" 116 | } 117 | ], 118 | "info" : { 119 | "version" : 1, 120 | "author" : "xcode" 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Klerith/flutter-componentes/9cc9b15eab4e6aab0b9232374bac5bfa0c67c402/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Klerith/flutter-componentes/9cc9b15eab4e6aab0b9232374bac5bfa0c67c402/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Klerith/flutter-componentes/9cc9b15eab4e6aab0b9232374bac5bfa0c67c402/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Klerith/flutter-componentes/9cc9b15eab4e6aab0b9232374bac5bfa0c67c402/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Klerith/flutter-componentes/9cc9b15eab4e6aab0b9232374bac5bfa0c67c402/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Klerith/flutter-componentes/9cc9b15eab4e6aab0b9232374bac5bfa0c67c402/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Klerith/flutter-componentes/9cc9b15eab4e6aab0b9232374bac5bfa0c67c402/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Klerith/flutter-componentes/9cc9b15eab4e6aab0b9232374bac5bfa0c67c402/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Klerith/flutter-componentes/9cc9b15eab4e6aab0b9232374bac5bfa0c67c402/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Klerith/flutter-componentes/9cc9b15eab4e6aab0b9232374bac5bfa0c67c402/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Klerith/flutter-componentes/9cc9b15eab4e6aab0b9232374bac5bfa0c67c402/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Klerith/flutter-componentes/9cc9b15eab4e6aab0b9232374bac5bfa0c67c402/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Klerith/flutter-componentes/9cc9b15eab4e6aab0b9232374bac5bfa0c67c402/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Klerith/flutter-componentes/9cc9b15eab4e6aab0b9232374bac5bfa0c67c402/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Klerith/flutter-componentes/9cc9b15eab4e6aab0b9232374bac5bfa0c67c402/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchImage.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchImage@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "LaunchImage@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Klerith/flutter-componentes/9cc9b15eab4e6aab0b9232374bac5bfa0c67c402/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Klerith/flutter-componentes/9cc9b15eab4e6aab0b9232374bac5bfa0c67c402/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Klerith/flutter-componentes/9cc9b15eab4e6aab0b9232374bac5bfa0c67c402/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- 1 | # Launch Screen Assets 2 | 3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory. 4 | 5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | componentes 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | $(FLUTTER_BUILD_NAME) 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UISupportedInterfaceOrientations 30 | 31 | UIInterfaceOrientationPortrait 32 | UIInterfaceOrientationLandscapeLeft 33 | UIInterfaceOrientationLandscapeRight 34 | 35 | UISupportedInterfaceOrientations~ipad 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationPortraitUpsideDown 39 | UIInterfaceOrientationLandscapeLeft 40 | UIInterfaceOrientationLandscapeRight 41 | 42 | UIViewControllerBasedStatusBarAppearance 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /ios/Runner/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | #import "AppDelegate.h" 4 | 5 | int main(int argc, char* argv[]) { 6 | @autoreleasepool { 7 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_localizations/flutter_localizations.dart'; 3 | 4 | import 'package:componentes/src/routes/routes.dart'; 5 | import 'package:componentes/src/pages/alert_page.dart'; 6 | 7 | 8 | 9 | void main() => runApp(MyApp()); 10 | 11 | class MyApp extends StatelessWidget { 12 | @override 13 | Widget build(BuildContext context) { 14 | return MaterialApp( 15 | title: 'Componentes APP', 16 | debugShowCheckedModeBanner: false, 17 | localizationsDelegates: [ 18 | GlobalMaterialLocalizations.delegate, 19 | GlobalWidgetsLocalizations.delegate, 20 | ], 21 | supportedLocales: [ 22 | const Locale('en', 'US'), // English 23 | const Locale('es', 'ES'), 24 | ], 25 | // home: HomePage(), 26 | initialRoute: '/', 27 | routes: getApplicationRoutes(), 28 | onGenerateRoute: ( RouteSettings settings ){ 29 | 30 | print( 'Ruta llamda: ${ settings.name }' ); 31 | 32 | return MaterialPageRoute( 33 | builder: ( BuildContext context ) => AlertPage() 34 | ); 35 | 36 | 37 | }, 38 | 39 | ); 40 | } 41 | } 42 | 43 | 44 | -------------------------------------------------------------------------------- /lib/src/pages/alert_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | 4 | class AlertPage extends StatelessWidget { 5 | 6 | @override 7 | Widget build(BuildContext context) { 8 | 9 | return Scaffold( 10 | appBar: AppBar( 11 | title: Text('Alert Page'), 12 | ), 13 | body: Center( 14 | child: RaisedButton( 15 | child: Text('Mostrar Alerta'), 16 | color: Colors.blue, 17 | textColor: Colors.white, 18 | shape: StadiumBorder(), 19 | onPressed: () => _mostrarAlert(context), 20 | ), 21 | ), 22 | floatingActionButton: FloatingActionButton( 23 | child: Icon( Icons.add_location ), 24 | onPressed: () { 25 | Navigator.pop(context); 26 | }, 27 | ), 28 | ); 29 | 30 | } 31 | 32 | 33 | void _mostrarAlert(BuildContext context) { 34 | 35 | showDialog( 36 | context: context, 37 | barrierDismissible: true, 38 | builder: (context) { 39 | 40 | return AlertDialog( 41 | shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(20.0) ), 42 | title: Text('Titulo'), 43 | content: Column( 44 | mainAxisSize: MainAxisSize.min, 45 | children: [ 46 | Text('Este es el contenido de la caja de la alerta'), 47 | FlutterLogo( size: 100.0 ) 48 | ], 49 | ), 50 | actions: [ 51 | FlatButton( 52 | child: Text('Cancelar'), 53 | onPressed: ()=> Navigator.of(context).pop(), 54 | ), 55 | FlatButton( 56 | child: Text('Ok'), 57 | onPressed: (){ 58 | Navigator.of(context).pop(); 59 | }, 60 | ), 61 | ], 62 | ); 63 | 64 | } 65 | 66 | ); 67 | 68 | 69 | } 70 | 71 | } 72 | 73 | -------------------------------------------------------------------------------- /lib/src/pages/animated_container.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import 'dart:math'; 4 | 5 | class AnimatedContainerPage extends StatefulWidget { 6 | @override 7 | _AnimatedContainerPageState createState() => _AnimatedContainerPageState(); 8 | } 9 | 10 | class _AnimatedContainerPageState extends State { 11 | 12 | double _width = 50.0; 13 | double _height = 50.0; 14 | Color _color = Colors.pink; 15 | 16 | BorderRadiusGeometry _borderRadius = BorderRadius.circular(8.0); 17 | 18 | @override 19 | Widget build(BuildContext context) { 20 | return Scaffold( 21 | appBar: AppBar( 22 | title: Text('Animated Container'), 23 | ), 24 | body: Center( 25 | child: AnimatedContainer( 26 | duration: Duration( seconds: 1 ), 27 | curve: Curves.fastOutSlowIn, 28 | width: _width, 29 | height: _height, 30 | decoration: BoxDecoration( 31 | borderRadius: _borderRadius, 32 | color: _color 33 | ), 34 | ) 35 | ), 36 | 37 | floatingActionButton: FloatingActionButton( 38 | child: Icon( Icons.play_arrow ), 39 | onPressed: _cambiarForma, 40 | ), 41 | 42 | ); 43 | } 44 | 45 | void _cambiarForma() { 46 | 47 | final random = Random(); 48 | 49 | setState(() { 50 | 51 | _width = random.nextInt(300).toDouble(); 52 | _height = random.nextInt(300).toDouble(); 53 | _color = Color.fromRGBO( 54 | random.nextInt(255), 55 | random.nextInt(255), 56 | random.nextInt(255), 57 | 1); 58 | 59 | _borderRadius = BorderRadius.circular( random.nextInt(100).toDouble() ); 60 | 61 | }); 62 | 63 | } 64 | 65 | } -------------------------------------------------------------------------------- /lib/src/pages/avatar_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | 4 | class AvatarPage extends StatelessWidget { 5 | 6 | static final pageName = 'avatar'; 7 | 8 | 9 | @override 10 | Widget build(BuildContext context) { 11 | 12 | return Scaffold( 13 | appBar: AppBar( 14 | title: Text('Avatar Page'), 15 | actions: [ 16 | 17 | Container( 18 | padding: EdgeInsets.all(5.0), 19 | child: CircleAvatar( 20 | backgroundImage: NetworkImage('https://pbs.twimg.com/profile_images/1018943227791982592/URnaMrya.jpg'), 21 | radius: 25.0, 22 | ), 23 | ), 24 | 25 | Container( 26 | margin: EdgeInsets.only(right: 10.0), 27 | child: CircleAvatar( 28 | child: Text('SL'), 29 | backgroundColor: Colors.brown, 30 | ), 31 | ) 32 | ], 33 | ), 34 | body: Center( 35 | child: FadeInImage( 36 | image: NetworkImage('https://media.wired.com/photos/5be9d68a5d7c6a7b81d79e25/master/pass/StanLee-610719480.jpg'), 37 | placeholder: AssetImage('assets/jar-loading.gif'), 38 | fadeInDuration: Duration( milliseconds: 200 ), 39 | ), 40 | ), 41 | ); 42 | 43 | } 44 | } 45 | 46 | -------------------------------------------------------------------------------- /lib/src/pages/card_page.dart: -------------------------------------------------------------------------------- 1 | 2 | import 'package:flutter/material.dart'; 3 | 4 | class CardPage extends StatelessWidget { 5 | 6 | 7 | @override 8 | Widget build(BuildContext context) { 9 | return Scaffold( 10 | appBar: AppBar( 11 | title: Text('Cards'), 12 | ), 13 | body: ListView( 14 | padding: EdgeInsets.all(10.0), 15 | children: [ 16 | _cardTipo1(), 17 | SizedBox(height: 30.0), 18 | _cardTipo2(), 19 | SizedBox(height: 30.0), 20 | _cardTipo1(), 21 | SizedBox(height: 30.0), 22 | _cardTipo2(), 23 | SizedBox(height: 30.0), 24 | _cardTipo1(), 25 | SizedBox(height: 30.0), 26 | _cardTipo2(), 27 | SizedBox(height: 30.0), 28 | _cardTipo1(), 29 | SizedBox(height: 30.0), 30 | _cardTipo2(), 31 | SizedBox(height: 30.0), 32 | _cardTipo1(), 33 | SizedBox(height: 30.0), 34 | _cardTipo2(), 35 | SizedBox(height: 30.0), 36 | ], 37 | ), 38 | ); 39 | } 40 | 41 | Widget _cardTipo1() { 42 | 43 | return Card( 44 | elevation: 10.0, 45 | shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(20.0) ), 46 | child: Column( 47 | children: [ 48 | ListTile( 49 | leading: Icon( Icons.photo_album, color: Colors.blue ), 50 | title: Text('Soy el titulo de esta tarjeta'), 51 | subtitle: Text('Aquí estamos con la descripción de la tajera que quiero que ustedes vean para tener una idea de lo que quiero mostrarles'), 52 | ), 53 | Row( 54 | mainAxisAlignment: MainAxisAlignment.end, 55 | children: [ 56 | FlatButton( 57 | child: Text('Cancelar'), 58 | onPressed: () {}, 59 | ), 60 | FlatButton( 61 | child: Text('Ok'), 62 | onPressed: () {}, 63 | ) 64 | ], 65 | ) 66 | ], 67 | ), 68 | ); 69 | 70 | } 71 | 72 | Widget _cardTipo2() { 73 | 74 | final card = Container( 75 | // clipBehavior: Clip.antiAlias, 76 | child: Column( 77 | children: [ 78 | 79 | FadeInImage( 80 | image: NetworkImage('https://static.photocdn.pt/images/articles/2017_1/iStock-545347988.jpg'), 81 | placeholder: AssetImage('assets/jar-loading.gif'), 82 | fadeInDuration: Duration( milliseconds: 200 ), 83 | height: 300.0, 84 | fit: BoxFit.cover, 85 | ), 86 | 87 | // Image( 88 | // image: NetworkImage('https://static.photocdn.pt/images/articles/2017_1/iStock-545347988.jpg'), 89 | // ), 90 | Container( 91 | padding: EdgeInsets.all(10.0), 92 | child: Text('No tengo idea de que poner') 93 | ) 94 | ], 95 | ), 96 | ); 97 | 98 | 99 | return Container( 100 | decoration: BoxDecoration( 101 | borderRadius: BorderRadius.circular(30.0), 102 | color: Colors.white, 103 | boxShadow: [ 104 | BoxShadow( 105 | color: Colors.black26, 106 | blurRadius: 10.0, 107 | spreadRadius: 2.0, 108 | offset: Offset(2.0, 10.0) 109 | ) 110 | ] 111 | ), 112 | child: ClipRRect( 113 | borderRadius: BorderRadius.circular(30.0), 114 | child: card, 115 | ), 116 | ); 117 | 118 | } 119 | 120 | } -------------------------------------------------------------------------------- /lib/src/pages/home_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import 'package:componentes/src/providers/menu_provider.dart'; 4 | 5 | import 'package:componentes/src/utils/icono_string_util.dart'; 6 | 7 | import 'package:componentes/src/pages/alert_page.dart'; 8 | 9 | 10 | class HomePage extends StatelessWidget { 11 | 12 | @override 13 | Widget build(BuildContext context) { 14 | return Scaffold( 15 | appBar: AppBar( 16 | title: Text('Componentes'), 17 | ), 18 | body: _lista(), 19 | ); 20 | } 21 | 22 | Widget _lista() { 23 | 24 | // menuProvider.cargarData() 25 | return FutureBuilder( 26 | future: menuProvider.cargarData(), 27 | initialData: [], 28 | builder: ( context, AsyncSnapshot> snapshot ){ 29 | 30 | return ListView( 31 | children: _listaItems( snapshot.data, context ), 32 | ); 33 | 34 | }, 35 | ); 36 | 37 | 38 | 39 | 40 | 41 | } 42 | 43 | List _listaItems( List data, BuildContext context ) { 44 | 45 | final List opciones = []; 46 | 47 | 48 | data.forEach( (opt) { 49 | 50 | final widgetTemp = ListTile( 51 | title: Text( opt['texto'] ), 52 | leading: getIcon( opt['icon'] ) , 53 | trailing: Icon ( Icons.keyboard_arrow_right, color: Colors.blue ), 54 | onTap: () { 55 | 56 | Navigator.pushNamed(context, opt['ruta'] ); 57 | 58 | // final route = MaterialPageRoute( 59 | // builder: ( context )=> AlertPage() 60 | // ); 61 | 62 | // Navigator.push(context, route); 63 | 64 | }, 65 | ); 66 | 67 | opciones..add( widgetTemp ) 68 | ..add( Divider() ); 69 | 70 | }); 71 | 72 | return opciones; 73 | 74 | } 75 | 76 | } 77 | 78 | 79 | -------------------------------------------------------------------------------- /lib/src/pages/home_temp.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | 4 | class HomePageTemp extends StatelessWidget { 5 | 6 | final opciones = ['Uno', 'Dos', 'Tres', 'Cuatro', 'Cinco']; 7 | 8 | 9 | @override 10 | Widget build(BuildContext context) { 11 | return Scaffold( 12 | appBar: AppBar( 13 | title: Text('Componentes Temp'), 14 | ), 15 | body: ListView( 16 | // children: _crearItems() 17 | children: _crearItemsCorta() 18 | ), 19 | ); 20 | } 21 | 22 | 23 | List _crearItems() { 24 | 25 | 26 | List lista = new List(); 27 | 28 | for (String opt in opciones) { 29 | 30 | final tempWidget = ListTile( 31 | title: Text( opt ), 32 | ); 33 | 34 | lista..add( tempWidget ) 35 | ..add( Divider() ); 36 | 37 | 38 | } 39 | 40 | return lista; 41 | } 42 | 43 | List _crearItemsCorta() { 44 | 45 | return opciones.map( ( item ){ 46 | 47 | return Column( 48 | children: [ 49 | ListTile( 50 | title: Text( item + '!' ), 51 | subtitle: Text('Cualquier cosa'), 52 | leading: Icon( Icons.account_balance_wallet ), 53 | trailing: Icon( Icons.keyboard_arrow_right ), 54 | onTap: (){ }, 55 | ), 56 | Divider() 57 | ], 58 | ); 59 | 60 | }).toList(); 61 | 62 | 63 | } 64 | 65 | 66 | } -------------------------------------------------------------------------------- /lib/src/pages/input_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | 4 | 5 | class InputPage extends StatefulWidget { 6 | @override 7 | _InputPageState createState() => _InputPageState(); 8 | } 9 | 10 | class _InputPageState extends State { 11 | 12 | String _nombre = ''; 13 | String _email = ''; 14 | String _fecha = ''; 15 | 16 | String _opcionSeleccionada = 'Volar'; 17 | 18 | List _poderes = ['Volar', 'Rayos X', 'Super Aliento', 'Super Fuerza']; 19 | 20 | TextEditingController _inputFieldDateController = new TextEditingController(); 21 | 22 | @override 23 | Widget build(BuildContext context) { 24 | return Scaffold( 25 | appBar: AppBar( 26 | title: Text('Inputs de texto'), 27 | ), 28 | body: ListView( 29 | padding: EdgeInsets.symmetric(horizontal: 10.0, vertical: 20.0), 30 | children: [ 31 | _crearInput(), 32 | Divider(), 33 | _crearEmail(), 34 | Divider(), 35 | _crearPassword(), 36 | Divider(), 37 | _crearFecha( context ), 38 | Divider(), 39 | _crearDropdown(), 40 | Divider(), 41 | _crearPersona() 42 | ], 43 | ), 44 | ); 45 | } 46 | 47 | Widget _crearInput() { 48 | 49 | return TextField( 50 | // autofocus: true, 51 | textCapitalization: TextCapitalization.sentences, 52 | decoration: InputDecoration( 53 | border: OutlineInputBorder( 54 | borderRadius: BorderRadius.circular(20.0) 55 | ), 56 | counter: Text('Letras ${ _nombre.length }'), 57 | hintText: 'Nombre de la persona', 58 | labelText: 'Nombre', 59 | helperText: 'Sólo es el nombre', 60 | suffixIcon: Icon( Icons.accessibility ), 61 | icon: Icon( Icons.account_circle ) 62 | ), 63 | onChanged: (valor){ 64 | setState(() { 65 | _nombre = valor; 66 | }); 67 | }, 68 | ); 69 | 70 | } 71 | 72 | Widget _crearEmail() { 73 | 74 | return TextField( 75 | keyboardType: TextInputType.emailAddress, 76 | decoration: InputDecoration( 77 | border: OutlineInputBorder( 78 | borderRadius: BorderRadius.circular(20.0) 79 | ), 80 | hintText: 'Email', 81 | labelText: 'Email', 82 | suffixIcon: Icon( Icons.alternate_email ), 83 | icon: Icon( Icons.email ) 84 | ), 85 | onChanged: (valor) =>setState(() { 86 | _email = valor; 87 | }) 88 | ); 89 | 90 | } 91 | 92 | Widget _crearPassword(){ 93 | 94 | return TextField( 95 | obscureText: true, 96 | decoration: InputDecoration( 97 | border: OutlineInputBorder( 98 | borderRadius: BorderRadius.circular(20.0) 99 | ), 100 | hintText: 'Password', 101 | labelText: 'Password', 102 | suffixIcon: Icon( Icons.lock_open ), 103 | icon: Icon( Icons.lock ) 104 | ), 105 | onChanged: (valor) =>setState(() { 106 | _email = valor; 107 | }) 108 | ); 109 | 110 | } 111 | 112 | 113 | Widget _crearFecha( BuildContext context ) { 114 | 115 | return TextField( 116 | enableInteractiveSelection: false, 117 | controller: _inputFieldDateController, 118 | decoration: InputDecoration( 119 | border: OutlineInputBorder( 120 | borderRadius: BorderRadius.circular(20.0) 121 | ), 122 | hintText: 'Fecha de nacimiento', 123 | labelText: 'Fecha de nacimiento', 124 | suffixIcon: Icon( Icons.perm_contact_calendar ), 125 | icon: Icon( Icons.calendar_today ) 126 | ), 127 | onTap: (){ 128 | 129 | FocusScope.of(context).requestFocus(new FocusNode()); 130 | _selectDate( context ); 131 | 132 | }, 133 | ); 134 | 135 | } 136 | 137 | _selectDate(BuildContext context) async { 138 | 139 | DateTime picked = await showDatePicker( 140 | context: context, 141 | initialDate: new DateTime.now(), 142 | firstDate: new DateTime(2018), 143 | lastDate: new DateTime(2025), 144 | locale: Locale('es', 'ES') 145 | ); 146 | 147 | if ( picked != null ) { 148 | setState(() { 149 | _fecha = picked.toString(); 150 | _inputFieldDateController.text = _fecha; 151 | }); 152 | } 153 | 154 | } 155 | 156 | List> getOpcionesDropdown() { 157 | 158 | List> lista = new List(); 159 | 160 | _poderes.forEach( (poder){ 161 | 162 | lista.add( DropdownMenuItem( 163 | child: Text(poder), 164 | value: poder, 165 | )); 166 | 167 | }); 168 | 169 | return lista; 170 | 171 | } 172 | 173 | Widget _crearDropdown() { 174 | 175 | return Row( 176 | children: [ 177 | Icon(Icons.select_all), 178 | SizedBox(width: 30.0), 179 | Expanded( 180 | child: DropdownButton( 181 | value: _opcionSeleccionada, 182 | items: getOpcionesDropdown(), 183 | onChanged: (opt) { 184 | setState(() { 185 | _opcionSeleccionada = opt; 186 | }); 187 | }, 188 | ), 189 | ) 190 | 191 | ], 192 | ); 193 | 194 | 195 | 196 | 197 | 198 | } 199 | 200 | 201 | 202 | Widget _crearPersona() { 203 | 204 | return ListTile( 205 | title: Text('Nombre es: $_nombre'), 206 | subtitle: Text('Email: $_email'), 207 | trailing: Text(_opcionSeleccionada), 208 | ); 209 | 210 | } 211 | 212 | } -------------------------------------------------------------------------------- /lib/src/pages/listview_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import 'dart:async'; 4 | 5 | 6 | class ListaPage extends StatefulWidget { 7 | @override 8 | _ListaPageState createState() => _ListaPageState(); 9 | } 10 | 11 | class _ListaPageState extends State { 12 | 13 | ScrollController _scrollController = new ScrollController(); 14 | 15 | List _listaNumeros = new List(); 16 | int _ultimoItem = 0; 17 | bool _isLoading = false; 18 | 19 | @override 20 | void initState() { 21 | super.initState(); 22 | _agregar10(); 23 | 24 | 25 | _scrollController.addListener(() { 26 | 27 | if( _scrollController.position.pixels == _scrollController.position.maxScrollExtent ) { 28 | // _agregar10(); 29 | fetchData(); 30 | } 31 | 32 | }); 33 | 34 | } 35 | 36 | @override 37 | void dispose() { 38 | super.dispose(); 39 | _scrollController.dispose(); 40 | } 41 | 42 | 43 | 44 | @override 45 | Widget build(BuildContext context) { 46 | return Scaffold( 47 | appBar: AppBar( 48 | title: Text('Listas'), 49 | ), 50 | body: Stack( 51 | children: [ 52 | _crearLista(), 53 | _crearLoading() 54 | ], 55 | ) 56 | 57 | 58 | ); 59 | } 60 | 61 | Widget _crearLista() { 62 | 63 | return RefreshIndicator( 64 | 65 | onRefresh: obtenerPagina1, 66 | 67 | child: ListView.builder( 68 | controller: _scrollController, 69 | itemCount: _listaNumeros.length, 70 | itemBuilder: (BuildContext context, int index ){ 71 | 72 | final imagen = _listaNumeros[index]; 73 | 74 | return FadeInImage( 75 | image: NetworkImage('https://picsum.photos/500/300/?image=$imagen'), 76 | placeholder: AssetImage('assets/jar-loading.gif'), 77 | ); 78 | }, 79 | ), 80 | ); 81 | 82 | } 83 | 84 | Future obtenerPagina1() async { 85 | 86 | final duration = new Duration( seconds: 2 ); 87 | new Timer( duration, () { 88 | 89 | _listaNumeros.clear(); 90 | _ultimoItem++; 91 | _agregar10(); 92 | 93 | }); 94 | 95 | return Future.delayed(duration); 96 | 97 | } 98 | 99 | 100 | 101 | void _agregar10() { 102 | 103 | for (var i = 1; i < 10; i++) { 104 | _ultimoItem++; 105 | _listaNumeros.add( _ultimoItem ); 106 | } 107 | 108 | setState(() {}); 109 | 110 | } 111 | 112 | 113 | 114 | Future fetchData() async { 115 | 116 | _isLoading = true; 117 | setState(() {}); 118 | 119 | final duration = new Duration( seconds: 2 ); 120 | return new Timer( duration, respuestaHTTP ); 121 | 122 | } 123 | 124 | void respuestaHTTP() { 125 | 126 | _isLoading = false; 127 | 128 | _scrollController.animateTo( 129 | _scrollController.position.pixels + 100, 130 | curve: Curves.fastOutSlowIn, 131 | duration: Duration( milliseconds: 250) 132 | ); 133 | 134 | 135 | 136 | _agregar10(); 137 | 138 | } 139 | 140 | Widget _crearLoading() { 141 | 142 | if ( _isLoading ) { 143 | return Column( 144 | mainAxisSize: MainAxisSize.max, 145 | mainAxisAlignment: MainAxisAlignment.end, 146 | children: [ 147 | Row( 148 | mainAxisAlignment: MainAxisAlignment.center, 149 | children: [ 150 | CircularProgressIndicator() 151 | ], 152 | ), 153 | SizedBox( height: 15.0) 154 | ], 155 | ); 156 | 157 | 158 | 159 | } else { 160 | return Container(); 161 | } 162 | 163 | } 164 | 165 | } -------------------------------------------------------------------------------- /lib/src/pages/slider_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | 4 | class SliderPage extends StatefulWidget { 5 | @override 6 | _SliderPageState createState() => _SliderPageState(); 7 | } 8 | 9 | class _SliderPageState extends State { 10 | 11 | double _valorSlider = 100.0; 12 | bool _bloquearCheck = false; 13 | 14 | @override 15 | Widget build(BuildContext context) { 16 | return Scaffold( 17 | appBar: AppBar( 18 | title: Text('Slider'), 19 | ), 20 | body: Container( 21 | padding: EdgeInsets.only(top: 50.0), 22 | child: Column( 23 | children: [ 24 | _crearSlider(), 25 | _checkBox(), 26 | _crearSwitch(), 27 | Expanded( 28 | child: _crearImagen() 29 | ), 30 | ], 31 | ), 32 | ), 33 | ); 34 | } 35 | 36 | 37 | Widget _crearSlider() { 38 | 39 | return Slider( 40 | activeColor: Colors.indigoAccent, 41 | label: 'Tamaño de la imagen', 42 | // divisions: 20, 43 | value: _valorSlider, 44 | min: 10.0, 45 | max: 400.0, 46 | onChanged: ( _bloquearCheck ) ? null : ( valor ){ 47 | 48 | setState(() { 49 | _valorSlider = valor; 50 | }); 51 | 52 | }, 53 | ); 54 | 55 | } 56 | 57 | Widget _checkBox() { 58 | 59 | // return Checkbox( 60 | // value: _bloquearCheck, 61 | // onChanged: (valor){ 62 | // setState(() { 63 | // _bloquearCheck = valor; 64 | // }); 65 | // }, 66 | // ); 67 | 68 | return CheckboxListTile( 69 | title: Text('Bloquear slider'), 70 | value: _bloquearCheck, 71 | onChanged: (valor){ 72 | setState(() { 73 | _bloquearCheck = valor; 74 | }); 75 | }, 76 | 77 | ); 78 | 79 | 80 | } 81 | 82 | Widget _crearSwitch() { 83 | return SwitchListTile( 84 | title: Text('Bloquear slider'), 85 | value: _bloquearCheck, 86 | onChanged: (valor){ 87 | setState(() { 88 | _bloquearCheck = valor; 89 | }); 90 | }, 91 | 92 | ); 93 | } 94 | 95 | 96 | Widget _crearImagen() { 97 | 98 | return Image( 99 | image: NetworkImage('http://pngimg.com/uploads/batman/batman_PNG111.png'), 100 | width: _valorSlider, 101 | fit: BoxFit.contain, 102 | ); 103 | 104 | } 105 | 106 | } -------------------------------------------------------------------------------- /lib/src/providers/menu_provider.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/services.dart' show rootBundle; 2 | 3 | import 'dart:convert'; 4 | 5 | 6 | class _MenuProvider { 7 | 8 | List opciones = []; 9 | 10 | _MenuProvider() { 11 | // cargarData(); 12 | } 13 | 14 | Future> cargarData() async { 15 | 16 | final resp = await rootBundle.loadString('data/menu_opts.json'); 17 | 18 | Map dataMap = json.decode( resp ); 19 | opciones = dataMap['rutas']; 20 | 21 | 22 | return opciones; 23 | } 24 | 25 | } 26 | 27 | 28 | final menuProvider = new _MenuProvider(); -------------------------------------------------------------------------------- /lib/src/routes/routes.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import 'package:componentes/src/pages/alert_page.dart'; 4 | import 'package:componentes/src/pages/avatar_page.dart'; 5 | import 'package:componentes/src/pages/home_page.dart'; 6 | import 'package:componentes/src/pages/card_page.dart'; 7 | import 'package:componentes/src/pages/animated_container.dart'; 8 | import 'package:componentes/src/pages/input_page.dart'; 9 | import 'package:componentes/src/pages/slider_page.dart'; 10 | import 'package:componentes/src/pages/listview_page.dart'; 11 | 12 | 13 | Map getApplicationRoutes() { 14 | 15 | return { 16 | '/' : ( BuildContext context ) => HomePage(), 17 | 'alert' : ( BuildContext context ) => AlertPage(), 18 | AvatarPage.pageName : ( BuildContext context ) => AvatarPage(), 19 | 'card' : ( BuildContext context ) => CardPage(), 20 | 'animatedContainer' : ( BuildContext context ) => AnimatedContainerPage(), 21 | 'inputs' : ( BuildContext context ) => InputPage(), 22 | 'slider' : ( BuildContext context ) => SliderPage(), 23 | 'list' : ( BuildContext context ) => ListaPage(), 24 | }; 25 | 26 | } 27 | -------------------------------------------------------------------------------- /lib/src/utils/icono_string_util.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | final _icons = { 4 | 5 | 'add_alert' : Icons.add_alert, 6 | 'accessibility' : Icons.accessibility, 7 | 'folder_open' : Icons.folder_open, 8 | 'donut_large' : Icons.donut_large, 9 | 'input' : Icons.input, 10 | 'list' : Icons.list, 11 | 'tune' : Icons.tune, 12 | }; 13 | 14 | 15 | 16 | 17 | Icon getIcon( String nombreIcono ) { 18 | 19 | return Icon( _icons[nombreIcono], color: Colors.blue ); 20 | 21 | } -------------------------------------------------------------------------------- /pubspec.lock: -------------------------------------------------------------------------------- 1 | # Generated by pub 2 | # See https://www.dartlang.org/tools/pub/glossary#lockfile 3 | packages: 4 | async: 5 | dependency: transitive 6 | description: 7 | name: async 8 | url: "https://pub.dartlang.org" 9 | source: hosted 10 | version: "2.0.8" 11 | boolean_selector: 12 | dependency: transitive 13 | description: 14 | name: boolean_selector 15 | url: "https://pub.dartlang.org" 16 | source: hosted 17 | version: "1.0.4" 18 | charcode: 19 | dependency: transitive 20 | description: 21 | name: charcode 22 | url: "https://pub.dartlang.org" 23 | source: hosted 24 | version: "1.1.2" 25 | collection: 26 | dependency: transitive 27 | description: 28 | name: collection 29 | url: "https://pub.dartlang.org" 30 | source: hosted 31 | version: "1.14.11" 32 | cupertino_icons: 33 | dependency: "direct main" 34 | description: 35 | name: cupertino_icons 36 | url: "https://pub.dartlang.org" 37 | source: hosted 38 | version: "0.1.2" 39 | flutter: 40 | dependency: "direct main" 41 | description: flutter 42 | source: sdk 43 | version: "0.0.0" 44 | flutter_localizations: 45 | dependency: "direct main" 46 | description: flutter 47 | source: sdk 48 | version: "0.0.0" 49 | flutter_test: 50 | dependency: "direct dev" 51 | description: flutter 52 | source: sdk 53 | version: "0.0.0" 54 | intl: 55 | dependency: transitive 56 | description: 57 | name: intl 58 | url: "https://pub.dartlang.org" 59 | source: hosted 60 | version: "0.15.7" 61 | matcher: 62 | dependency: transitive 63 | description: 64 | name: matcher 65 | url: "https://pub.dartlang.org" 66 | source: hosted 67 | version: "0.12.3+1" 68 | meta: 69 | dependency: transitive 70 | description: 71 | name: meta 72 | url: "https://pub.dartlang.org" 73 | source: hosted 74 | version: "1.1.6" 75 | path: 76 | dependency: transitive 77 | description: 78 | name: path 79 | url: "https://pub.dartlang.org" 80 | source: hosted 81 | version: "1.6.2" 82 | pedantic: 83 | dependency: transitive 84 | description: 85 | name: pedantic 86 | url: "https://pub.dartlang.org" 87 | source: hosted 88 | version: "1.4.0" 89 | quiver: 90 | dependency: transitive 91 | description: 92 | name: quiver 93 | url: "https://pub.dartlang.org" 94 | source: hosted 95 | version: "2.0.1" 96 | sky_engine: 97 | dependency: transitive 98 | description: flutter 99 | source: sdk 100 | version: "0.0.99" 101 | source_span: 102 | dependency: transitive 103 | description: 104 | name: source_span 105 | url: "https://pub.dartlang.org" 106 | source: hosted 107 | version: "1.5.4" 108 | stack_trace: 109 | dependency: transitive 110 | description: 111 | name: stack_trace 112 | url: "https://pub.dartlang.org" 113 | source: hosted 114 | version: "1.9.3" 115 | stream_channel: 116 | dependency: transitive 117 | description: 118 | name: stream_channel 119 | url: "https://pub.dartlang.org" 120 | source: hosted 121 | version: "1.6.8" 122 | string_scanner: 123 | dependency: transitive 124 | description: 125 | name: string_scanner 126 | url: "https://pub.dartlang.org" 127 | source: hosted 128 | version: "1.0.4" 129 | term_glyph: 130 | dependency: transitive 131 | description: 132 | name: term_glyph 133 | url: "https://pub.dartlang.org" 134 | source: hosted 135 | version: "1.1.0" 136 | test_api: 137 | dependency: transitive 138 | description: 139 | name: test_api 140 | url: "https://pub.dartlang.org" 141 | source: hosted 142 | version: "0.2.2" 143 | typed_data: 144 | dependency: transitive 145 | description: 146 | name: typed_data 147 | url: "https://pub.dartlang.org" 148 | source: hosted 149 | version: "1.1.6" 150 | vector_math: 151 | dependency: transitive 152 | description: 153 | name: vector_math 154 | url: "https://pub.dartlang.org" 155 | source: hosted 156 | version: "2.0.8" 157 | sdks: 158 | dart: ">=2.1.0 <3.0.0" 159 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: componentes 2 | description: A new Flutter project. 3 | 4 | # The following defines the version and build number for your application. 5 | # A version number is three numbers separated by dots, like 1.2.43 6 | # followed by an optional build number separated by a +. 7 | # Both the version and the builder number may be overridden in flutter 8 | # build by specifying --build-name and --build-number, respectively. 9 | # In Android, build-name is used as versionName while build-number used as versionCode. 10 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning 11 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. 12 | # Read more about iOS versioning at 13 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html 14 | version: 1.0.0+1 15 | 16 | environment: 17 | sdk: ">=2.1.0 <3.0.0" 18 | 19 | dependencies: 20 | flutter: 21 | sdk: flutter 22 | 23 | flutter_localizations: 24 | sdk: flutter 25 | 26 | # The following adds the Cupertino Icons font to your application. 27 | # Use with the CupertinoIcons class for iOS style icons. 28 | cupertino_icons: ^0.1.2 29 | 30 | dev_dependencies: 31 | flutter_test: 32 | sdk: flutter 33 | 34 | 35 | # For information on the generic Dart part of this file, see the 36 | # following page: https://www.dartlang.org/tools/pub/pubspec 37 | 38 | # The following section is specific to Flutter. 39 | flutter: 40 | 41 | # The following line ensures that the Material Icons font is 42 | # included with your application, so that you can use the icons in 43 | # the material Icons class. 44 | uses-material-design: true 45 | 46 | # To add assets to your application, add an assets section, like this: 47 | assets: 48 | - data/menu_opts.json 49 | - assets/ 50 | 51 | # An image asset can refer to one or more resolution-specific "variants", see 52 | # https://flutter.io/assets-and-images/#resolution-aware. 53 | 54 | # For details regarding adding assets from package dependencies, see 55 | # https://flutter.io/assets-and-images/#from-packages 56 | 57 | # To add custom fonts to your application, add a fonts section here, 58 | # in this "flutter" section. Each entry in this list should have a 59 | # "family" key with the font family name, and a "fonts" key with a 60 | # list giving the asset and other descriptors for the font. For 61 | # example: 62 | # fonts: 63 | # - family: Schyler 64 | # fonts: 65 | # - asset: fonts/Schyler-Regular.ttf 66 | # - asset: fonts/Schyler-Italic.ttf 67 | # style: italic 68 | # - family: Trajan Pro 69 | # fonts: 70 | # - asset: fonts/TrajanPro.ttf 71 | # - asset: fonts/TrajanPro_Bold.ttf 72 | # weight: 700 73 | # 74 | # For details regarding fonts from package dependencies, 75 | # see https://flutter.io/custom-fonts/#from-packages 76 | --------------------------------------------------------------------------------