├── .gitattributes ├── .gitignore ├── .metadata ├── README.md ├── android ├── app │ ├── build.gradle │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── github_flutter_ui │ │ │ │ └── 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 ├── 404error.png ├── GitHub-Mark-120px-plus.png ├── GitHub-Mark-64px.png ├── Octocat.png ├── giterror.png ├── logo.png └── powered_by.png ├── ios ├── Flutter │ ├── AppFrameworkInfo.plist │ ├── Debug.xcconfig │ └── Release.xcconfig ├── Podfile ├── Podfile.lock ├── 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 ├── Constant │ └── Constant.dart ├── Model │ ├── GithubUser.dart │ ├── RepoData.dart │ ├── github_starred.dart │ └── listItem.dart ├── main.dart ├── splash │ └── splash_screens.dart └── ui │ ├── HomePage.dart │ └── login_screen.dart ├── pubspec.lock ├── pubspec.yaml ├── screens ├── android1.png ├── demo.gif └── iphone1.png └── test └── widget_test.dart /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.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: 7a4c33425ddd78c54aba07d86f3f9a4a0051769b 8 | channel: stable 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Flutter GitHub Profiler Demo 2 | 3 | A sample application to show GitHub profiles. 4 | 5 | # Demo 6 | 7 | 8 | 9 | 10 | # Android Screen 11 | 12 | 13 | 14 | # iOS Screen 15 | 16 | 17 | 18 | ## Getting Started 19 | 20 | This project is a starting point for a Flutter application. 21 | 22 | A few resources to get you started if this is your first Flutter project: 23 | 24 | - [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab) 25 | - [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook) 26 | 27 | For help getting started with Flutter, view our 28 | [online documentation](https://flutter.dev/docs), which offers tutorials, 29 | samples, guidance on mobile development, and a full API reference. 30 | -------------------------------------------------------------------------------- /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.github_flutter_ui" 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 | 10 | 14 | 21 | 25 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/example/github_flutter_ui/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.github_flutter_ui; 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/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/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/404error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/assets/404error.png -------------------------------------------------------------------------------- /assets/GitHub-Mark-120px-plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/assets/GitHub-Mark-120px-plus.png -------------------------------------------------------------------------------- /assets/GitHub-Mark-64px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/assets/GitHub-Mark-64px.png -------------------------------------------------------------------------------- /assets/Octocat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/assets/Octocat.png -------------------------------------------------------------------------------- /assets/giterror.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/assets/giterror.png -------------------------------------------------------------------------------- /assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/assets/logo.png -------------------------------------------------------------------------------- /assets/powered_by.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/assets/powered_by.png -------------------------------------------------------------------------------- /ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | App 9 | CFBundleIdentifier 10 | io.flutter.flutter.app 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | App 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | MinimumOSVersion 24 | 8.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /ios/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment this line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency. 5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true' 6 | 7 | project 'Runner', { 8 | 'Debug' => :debug, 9 | 'Profile' => :release, 10 | 'Release' => :release, 11 | } 12 | 13 | def parse_KV_file(file, separator='=') 14 | file_abs_path = File.expand_path(file) 15 | if !File.exists? file_abs_path 16 | return []; 17 | end 18 | pods_ary = [] 19 | skip_line_start_symbols = ["#", "/"] 20 | File.foreach(file_abs_path) { |line| 21 | next if skip_line_start_symbols.any? { |symbol| line =~ /^\s*#{symbol}/ } 22 | plugin = line.split(pattern=separator) 23 | if plugin.length == 2 24 | podname = plugin[0].strip() 25 | path = plugin[1].strip() 26 | podpath = File.expand_path("#{path}", file_abs_path) 27 | pods_ary.push({:name => podname, :path => podpath}); 28 | else 29 | puts "Invalid plugin specification: #{line}" 30 | end 31 | } 32 | return pods_ary 33 | end 34 | 35 | target 'Runner' do 36 | # Prepare symlinks folder. We use symlinks to avoid having Podfile.lock 37 | # referring to absolute paths on developers' machines. 38 | system('rm -rf .symlinks') 39 | system('mkdir -p .symlinks/plugins') 40 | 41 | # Flutter Pods 42 | generated_xcode_build_settings = parse_KV_file('./Flutter/Generated.xcconfig') 43 | if generated_xcode_build_settings.empty? 44 | puts "Generated.xcconfig must exist. If you're running pod install manually, make sure flutter packages get is executed first." 45 | end 46 | generated_xcode_build_settings.map { |p| 47 | if p[:name] == 'FLUTTER_FRAMEWORK_DIR' 48 | symlink = File.join('.symlinks', 'flutter') 49 | File.symlink(File.dirname(p[:path]), symlink) 50 | pod 'Flutter', :path => File.join(symlink, File.basename(p[:path])) 51 | end 52 | } 53 | 54 | # Plugin Pods 55 | plugin_pods = parse_KV_file('../.flutter-plugins') 56 | plugin_pods.map { |p| 57 | symlink = File.join('.symlinks', 'plugins', p[:name]) 58 | File.symlink(p[:path], symlink) 59 | pod p[:name], :path => File.join(symlink, 'ios') 60 | } 61 | end 62 | 63 | post_install do |installer| 64 | installer.pods_project.targets.each do |target| 65 | target.build_configurations.each do |config| 66 | config.build_settings['ENABLE_BITCODE'] = 'NO' 67 | end 68 | end 69 | end 70 | -------------------------------------------------------------------------------- /ios/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Flutter (1.0.0) 3 | - url_launcher (0.0.1): 4 | - Flutter 5 | 6 | DEPENDENCIES: 7 | - Flutter (from `.symlinks/flutter/ios`) 8 | - url_launcher (from `.symlinks/plugins/url_launcher/ios`) 9 | 10 | EXTERNAL SOURCES: 11 | Flutter: 12 | :path: ".symlinks/flutter/ios" 13 | url_launcher: 14 | :path: ".symlinks/plugins/url_launcher/ios" 15 | 16 | SPEC CHECKSUMS: 17 | Flutter: 9d0fac939486c9aba2809b7982dfdbb47a7b0296 18 | url_launcher: 92b89c1029a0373879933c21642958c874539095 19 | 20 | PODFILE CHECKSUM: aff02bfeed411c636180d6812254b2daeea14d09 21 | 22 | COCOAPODS: 1.5.3 23 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 12 | 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 | 75F5E2A07DC561C932266B3C /* libPods-Runner.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 25A4EDA4AE3F05F7780C95DC /* libPods-Runner.a */; }; 15 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; }; 16 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 17 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; }; 18 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; }; 19 | 97C146F31CF9000F007C117D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 97C146F21CF9000F007C117D /* main.m */; }; 20 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 21 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 22 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 23 | /* End PBXBuildFile section */ 24 | 25 | /* Begin PBXCopyFilesBuildPhase section */ 26 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 27 | isa = PBXCopyFilesBuildPhase; 28 | buildActionMask = 2147483647; 29 | dstPath = ""; 30 | dstSubfolderSpec = 10; 31 | files = ( 32 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */, 33 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */, 34 | ); 35 | name = "Embed Frameworks"; 36 | runOnlyForDeploymentPostprocessing = 0; 37 | }; 38 | /* End PBXCopyFilesBuildPhase section */ 39 | 40 | /* Begin PBXFileReference section */ 41 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 42 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 43 | 25A4EDA4AE3F05F7780C95DC /* libPods-Runner.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Runner.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 44 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 45 | 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; }; 46 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 47 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 48 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 49 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 50 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 51 | 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; }; 52 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 53 | 97C146F21CF9000F007C117D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 54 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 55 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 56 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 57 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 58 | /* End PBXFileReference section */ 59 | 60 | /* Begin PBXFrameworksBuildPhase section */ 61 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 62 | isa = PBXFrameworksBuildPhase; 63 | buildActionMask = 2147483647; 64 | files = ( 65 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */, 66 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */, 67 | 75F5E2A07DC561C932266B3C /* libPods-Runner.a in Frameworks */, 68 | ); 69 | runOnlyForDeploymentPostprocessing = 0; 70 | }; 71 | /* End PBXFrameworksBuildPhase section */ 72 | 73 | /* Begin PBXGroup section */ 74 | 9740EEB11CF90186004384FC /* Flutter */ = { 75 | isa = PBXGroup; 76 | children = ( 77 | 3B80C3931E831B6300D905FE /* App.framework */, 78 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 79 | 9740EEBA1CF902C7004384FC /* Flutter.framework */, 80 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 81 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 82 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 83 | ); 84 | name = Flutter; 85 | sourceTree = ""; 86 | }; 87 | 974ADA55806390A6375F8F05 /* Frameworks */ = { 88 | isa = PBXGroup; 89 | children = ( 90 | 25A4EDA4AE3F05F7780C95DC /* libPods-Runner.a */, 91 | ); 92 | name = Frameworks; 93 | sourceTree = ""; 94 | }; 95 | 97C146E51CF9000F007C117D = { 96 | isa = PBXGroup; 97 | children = ( 98 | 9740EEB11CF90186004384FC /* Flutter */, 99 | 97C146F01CF9000F007C117D /* Runner */, 100 | 97C146EF1CF9000F007C117D /* Products */, 101 | EC323550E620ED4B0B581DC5 /* Pods */, 102 | 974ADA55806390A6375F8F05 /* Frameworks */, 103 | ); 104 | sourceTree = ""; 105 | }; 106 | 97C146EF1CF9000F007C117D /* Products */ = { 107 | isa = PBXGroup; 108 | children = ( 109 | 97C146EE1CF9000F007C117D /* Runner.app */, 110 | ); 111 | name = Products; 112 | sourceTree = ""; 113 | }; 114 | 97C146F01CF9000F007C117D /* Runner */ = { 115 | isa = PBXGroup; 116 | children = ( 117 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */, 118 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */, 119 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 120 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 121 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 122 | 97C147021CF9000F007C117D /* Info.plist */, 123 | 97C146F11CF9000F007C117D /* Supporting Files */, 124 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 125 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 126 | ); 127 | path = Runner; 128 | sourceTree = ""; 129 | }; 130 | 97C146F11CF9000F007C117D /* Supporting Files */ = { 131 | isa = PBXGroup; 132 | children = ( 133 | 97C146F21CF9000F007C117D /* main.m */, 134 | ); 135 | name = "Supporting Files"; 136 | sourceTree = ""; 137 | }; 138 | EC323550E620ED4B0B581DC5 /* Pods */ = { 139 | isa = PBXGroup; 140 | children = ( 141 | ); 142 | name = Pods; 143 | sourceTree = ""; 144 | }; 145 | /* End PBXGroup section */ 146 | 147 | /* Begin PBXNativeTarget section */ 148 | 97C146ED1CF9000F007C117D /* Runner */ = { 149 | isa = PBXNativeTarget; 150 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 151 | buildPhases = ( 152 | BE93FBA80572B1242DBEFF5B /* [CP] Check Pods Manifest.lock */, 153 | 9740EEB61CF901F6004384FC /* Run Script */, 154 | 97C146EA1CF9000F007C117D /* Sources */, 155 | 97C146EB1CF9000F007C117D /* Frameworks */, 156 | 97C146EC1CF9000F007C117D /* Resources */, 157 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 158 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 159 | C1A5E78B986F87191CE99CC2 /* [CP] Embed Pods Frameworks */, 160 | ); 161 | buildRules = ( 162 | ); 163 | dependencies = ( 164 | ); 165 | name = Runner; 166 | productName = Runner; 167 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 168 | productType = "com.apple.product-type.application"; 169 | }; 170 | /* End PBXNativeTarget section */ 171 | 172 | /* Begin PBXProject section */ 173 | 97C146E61CF9000F007C117D /* Project object */ = { 174 | isa = PBXProject; 175 | attributes = { 176 | LastUpgradeCheck = 0910; 177 | ORGANIZATIONNAME = "The Chromium Authors"; 178 | TargetAttributes = { 179 | 97C146ED1CF9000F007C117D = { 180 | CreatedOnToolsVersion = 7.3.1; 181 | }; 182 | }; 183 | }; 184 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 185 | compatibilityVersion = "Xcode 3.2"; 186 | developmentRegion = English; 187 | hasScannedForEncodings = 0; 188 | knownRegions = ( 189 | en, 190 | Base, 191 | ); 192 | mainGroup = 97C146E51CF9000F007C117D; 193 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 194 | projectDirPath = ""; 195 | projectRoot = ""; 196 | targets = ( 197 | 97C146ED1CF9000F007C117D /* Runner */, 198 | ); 199 | }; 200 | /* End PBXProject section */ 201 | 202 | /* Begin PBXResourcesBuildPhase section */ 203 | 97C146EC1CF9000F007C117D /* Resources */ = { 204 | isa = PBXResourcesBuildPhase; 205 | buildActionMask = 2147483647; 206 | files = ( 207 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 208 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 209 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */, 210 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 211 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 212 | ); 213 | runOnlyForDeploymentPostprocessing = 0; 214 | }; 215 | /* End PBXResourcesBuildPhase section */ 216 | 217 | /* Begin PBXShellScriptBuildPhase section */ 218 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 219 | isa = PBXShellScriptBuildPhase; 220 | buildActionMask = 2147483647; 221 | files = ( 222 | ); 223 | inputPaths = ( 224 | ); 225 | name = "Thin Binary"; 226 | outputPaths = ( 227 | ); 228 | runOnlyForDeploymentPostprocessing = 0; 229 | shellPath = /bin/sh; 230 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin"; 231 | }; 232 | 9740EEB61CF901F6004384FC /* Run Script */ = { 233 | isa = PBXShellScriptBuildPhase; 234 | buildActionMask = 2147483647; 235 | files = ( 236 | ); 237 | inputPaths = ( 238 | ); 239 | name = "Run Script"; 240 | outputPaths = ( 241 | ); 242 | runOnlyForDeploymentPostprocessing = 0; 243 | shellPath = /bin/sh; 244 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 245 | }; 246 | BE93FBA80572B1242DBEFF5B /* [CP] Check Pods Manifest.lock */ = { 247 | isa = PBXShellScriptBuildPhase; 248 | buildActionMask = 2147483647; 249 | files = ( 250 | ); 251 | inputFileListPaths = ( 252 | ); 253 | inputPaths = ( 254 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 255 | "${PODS_ROOT}/Manifest.lock", 256 | ); 257 | name = "[CP] Check Pods Manifest.lock"; 258 | outputFileListPaths = ( 259 | ); 260 | outputPaths = ( 261 | "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", 262 | ); 263 | runOnlyForDeploymentPostprocessing = 0; 264 | shellPath = /bin/sh; 265 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 266 | showEnvVarsInLog = 0; 267 | }; 268 | C1A5E78B986F87191CE99CC2 /* [CP] Embed Pods Frameworks */ = { 269 | isa = PBXShellScriptBuildPhase; 270 | buildActionMask = 2147483647; 271 | files = ( 272 | ); 273 | inputFileListPaths = ( 274 | ); 275 | inputPaths = ( 276 | "${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh", 277 | "${PODS_ROOT}/../.symlinks/flutter/ios/Flutter.framework", 278 | ); 279 | name = "[CP] Embed Pods Frameworks"; 280 | outputFileListPaths = ( 281 | ); 282 | outputPaths = ( 283 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Flutter.framework", 284 | ); 285 | runOnlyForDeploymentPostprocessing = 0; 286 | shellPath = /bin/sh; 287 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; 288 | showEnvVarsInLog = 0; 289 | }; 290 | /* End PBXShellScriptBuildPhase section */ 291 | 292 | /* Begin PBXSourcesBuildPhase section */ 293 | 97C146EA1CF9000F007C117D /* Sources */ = { 294 | isa = PBXSourcesBuildPhase; 295 | buildActionMask = 2147483647; 296 | files = ( 297 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */, 298 | 97C146F31CF9000F007C117D /* main.m in Sources */, 299 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 300 | ); 301 | runOnlyForDeploymentPostprocessing = 0; 302 | }; 303 | /* End PBXSourcesBuildPhase section */ 304 | 305 | /* Begin PBXVariantGroup section */ 306 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 307 | isa = PBXVariantGroup; 308 | children = ( 309 | 97C146FB1CF9000F007C117D /* Base */, 310 | ); 311 | name = Main.storyboard; 312 | sourceTree = ""; 313 | }; 314 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 315 | isa = PBXVariantGroup; 316 | children = ( 317 | 97C147001CF9000F007C117D /* Base */, 318 | ); 319 | name = LaunchScreen.storyboard; 320 | sourceTree = ""; 321 | }; 322 | /* End PBXVariantGroup section */ 323 | 324 | /* Begin XCBuildConfiguration section */ 325 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 326 | isa = XCBuildConfiguration; 327 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 328 | buildSettings = { 329 | ALWAYS_SEARCH_USER_PATHS = NO; 330 | CLANG_ANALYZER_NONNULL = YES; 331 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 332 | CLANG_CXX_LIBRARY = "libc++"; 333 | CLANG_ENABLE_MODULES = YES; 334 | CLANG_ENABLE_OBJC_ARC = YES; 335 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 336 | CLANG_WARN_BOOL_CONVERSION = YES; 337 | CLANG_WARN_COMMA = YES; 338 | CLANG_WARN_CONSTANT_CONVERSION = YES; 339 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 340 | CLANG_WARN_EMPTY_BODY = YES; 341 | CLANG_WARN_ENUM_CONVERSION = YES; 342 | CLANG_WARN_INFINITE_RECURSION = YES; 343 | CLANG_WARN_INT_CONVERSION = YES; 344 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 345 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 346 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 347 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 348 | CLANG_WARN_STRICT_PROTOTYPES = YES; 349 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 350 | CLANG_WARN_UNREACHABLE_CODE = YES; 351 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 352 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 353 | COPY_PHASE_STRIP = NO; 354 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 355 | ENABLE_NS_ASSERTIONS = NO; 356 | ENABLE_STRICT_OBJC_MSGSEND = YES; 357 | GCC_C_LANGUAGE_STANDARD = gnu99; 358 | GCC_NO_COMMON_BLOCKS = YES; 359 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 360 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 361 | GCC_WARN_UNDECLARED_SELECTOR = YES; 362 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 363 | GCC_WARN_UNUSED_FUNCTION = YES; 364 | GCC_WARN_UNUSED_VARIABLE = YES; 365 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 366 | MTL_ENABLE_DEBUG_INFO = NO; 367 | SDKROOT = iphoneos; 368 | TARGETED_DEVICE_FAMILY = "1,2"; 369 | VALIDATE_PRODUCT = YES; 370 | }; 371 | name = Profile; 372 | }; 373 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 374 | isa = XCBuildConfiguration; 375 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 376 | buildSettings = { 377 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 378 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 379 | DEVELOPMENT_TEAM = S8QB4VV633; 380 | ENABLE_BITCODE = NO; 381 | FRAMEWORK_SEARCH_PATHS = ( 382 | "$(inherited)", 383 | "$(PROJECT_DIR)/Flutter", 384 | ); 385 | INFOPLIST_FILE = Runner/Info.plist; 386 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 387 | LIBRARY_SEARCH_PATHS = ( 388 | "$(inherited)", 389 | "$(PROJECT_DIR)/Flutter", 390 | ); 391 | PRODUCT_BUNDLE_IDENTIFIER = com.example.githubFlutterUi; 392 | PRODUCT_NAME = "$(TARGET_NAME)"; 393 | VERSIONING_SYSTEM = "apple-generic"; 394 | }; 395 | name = Profile; 396 | }; 397 | 97C147031CF9000F007C117D /* Debug */ = { 398 | isa = XCBuildConfiguration; 399 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 400 | buildSettings = { 401 | ALWAYS_SEARCH_USER_PATHS = NO; 402 | CLANG_ANALYZER_NONNULL = YES; 403 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 404 | CLANG_CXX_LIBRARY = "libc++"; 405 | CLANG_ENABLE_MODULES = YES; 406 | CLANG_ENABLE_OBJC_ARC = YES; 407 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 408 | CLANG_WARN_BOOL_CONVERSION = YES; 409 | CLANG_WARN_COMMA = YES; 410 | CLANG_WARN_CONSTANT_CONVERSION = YES; 411 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 412 | CLANG_WARN_EMPTY_BODY = YES; 413 | CLANG_WARN_ENUM_CONVERSION = YES; 414 | CLANG_WARN_INFINITE_RECURSION = YES; 415 | CLANG_WARN_INT_CONVERSION = YES; 416 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 417 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 418 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 419 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 420 | CLANG_WARN_STRICT_PROTOTYPES = YES; 421 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 422 | CLANG_WARN_UNREACHABLE_CODE = YES; 423 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 424 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 425 | COPY_PHASE_STRIP = NO; 426 | DEBUG_INFORMATION_FORMAT = dwarf; 427 | ENABLE_STRICT_OBJC_MSGSEND = YES; 428 | ENABLE_TESTABILITY = YES; 429 | GCC_C_LANGUAGE_STANDARD = gnu99; 430 | GCC_DYNAMIC_NO_PIC = NO; 431 | GCC_NO_COMMON_BLOCKS = YES; 432 | GCC_OPTIMIZATION_LEVEL = 0; 433 | GCC_PREPROCESSOR_DEFINITIONS = ( 434 | "DEBUG=1", 435 | "$(inherited)", 436 | ); 437 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 438 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 439 | GCC_WARN_UNDECLARED_SELECTOR = YES; 440 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 441 | GCC_WARN_UNUSED_FUNCTION = YES; 442 | GCC_WARN_UNUSED_VARIABLE = YES; 443 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 444 | MTL_ENABLE_DEBUG_INFO = YES; 445 | ONLY_ACTIVE_ARCH = YES; 446 | SDKROOT = iphoneos; 447 | TARGETED_DEVICE_FAMILY = "1,2"; 448 | }; 449 | name = Debug; 450 | }; 451 | 97C147041CF9000F007C117D /* Release */ = { 452 | isa = XCBuildConfiguration; 453 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 454 | buildSettings = { 455 | ALWAYS_SEARCH_USER_PATHS = NO; 456 | CLANG_ANALYZER_NONNULL = YES; 457 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 458 | CLANG_CXX_LIBRARY = "libc++"; 459 | CLANG_ENABLE_MODULES = YES; 460 | CLANG_ENABLE_OBJC_ARC = YES; 461 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 462 | CLANG_WARN_BOOL_CONVERSION = YES; 463 | CLANG_WARN_COMMA = YES; 464 | CLANG_WARN_CONSTANT_CONVERSION = YES; 465 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 466 | CLANG_WARN_EMPTY_BODY = YES; 467 | CLANG_WARN_ENUM_CONVERSION = YES; 468 | CLANG_WARN_INFINITE_RECURSION = YES; 469 | CLANG_WARN_INT_CONVERSION = YES; 470 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 471 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 472 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 473 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 474 | CLANG_WARN_STRICT_PROTOTYPES = YES; 475 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 476 | CLANG_WARN_UNREACHABLE_CODE = YES; 477 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 478 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 479 | COPY_PHASE_STRIP = NO; 480 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 481 | ENABLE_NS_ASSERTIONS = NO; 482 | ENABLE_STRICT_OBJC_MSGSEND = YES; 483 | GCC_C_LANGUAGE_STANDARD = gnu99; 484 | GCC_NO_COMMON_BLOCKS = YES; 485 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 486 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 487 | GCC_WARN_UNDECLARED_SELECTOR = YES; 488 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 489 | GCC_WARN_UNUSED_FUNCTION = YES; 490 | GCC_WARN_UNUSED_VARIABLE = YES; 491 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 492 | MTL_ENABLE_DEBUG_INFO = NO; 493 | SDKROOT = iphoneos; 494 | TARGETED_DEVICE_FAMILY = "1,2"; 495 | VALIDATE_PRODUCT = YES; 496 | }; 497 | name = Release; 498 | }; 499 | 97C147061CF9000F007C117D /* Debug */ = { 500 | isa = XCBuildConfiguration; 501 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 502 | buildSettings = { 503 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 504 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 505 | ENABLE_BITCODE = NO; 506 | FRAMEWORK_SEARCH_PATHS = ( 507 | "$(inherited)", 508 | "$(PROJECT_DIR)/Flutter", 509 | ); 510 | INFOPLIST_FILE = Runner/Info.plist; 511 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 512 | LIBRARY_SEARCH_PATHS = ( 513 | "$(inherited)", 514 | "$(PROJECT_DIR)/Flutter", 515 | ); 516 | PRODUCT_BUNDLE_IDENTIFIER = com.example.githubFlutterUi; 517 | PRODUCT_NAME = "$(TARGET_NAME)"; 518 | VERSIONING_SYSTEM = "apple-generic"; 519 | }; 520 | name = Debug; 521 | }; 522 | 97C147071CF9000F007C117D /* Release */ = { 523 | isa = XCBuildConfiguration; 524 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 525 | buildSettings = { 526 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 527 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 528 | ENABLE_BITCODE = NO; 529 | FRAMEWORK_SEARCH_PATHS = ( 530 | "$(inherited)", 531 | "$(PROJECT_DIR)/Flutter", 532 | ); 533 | INFOPLIST_FILE = Runner/Info.plist; 534 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 535 | LIBRARY_SEARCH_PATHS = ( 536 | "$(inherited)", 537 | "$(PROJECT_DIR)/Flutter", 538 | ); 539 | PRODUCT_BUNDLE_IDENTIFIER = com.example.githubFlutterUi; 540 | PRODUCT_NAME = "$(TARGET_NAME)"; 541 | VERSIONING_SYSTEM = "apple-generic"; 542 | }; 543 | name = Release; 544 | }; 545 | /* End XCBuildConfiguration section */ 546 | 547 | /* Begin XCConfigurationList section */ 548 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 549 | isa = XCConfigurationList; 550 | buildConfigurations = ( 551 | 97C147031CF9000F007C117D /* Debug */, 552 | 97C147041CF9000F007C117D /* Release */, 553 | 249021D3217E4FDB00AE95B9 /* Profile */, 554 | ); 555 | defaultConfigurationIsVisible = 0; 556 | defaultConfigurationName = Release; 557 | }; 558 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 559 | isa = XCConfigurationList; 560 | buildConfigurations = ( 561 | 97C147061CF9000F007C117D /* Debug */, 562 | 97C147071CF9000F007C117D /* Release */, 563 | 249021D4217E4FDB00AE95B9 /* Profile */, 564 | ); 565 | defaultConfigurationIsVisible = 0; 566 | defaultConfigurationName = Release; 567 | }; 568 | /* End XCConfigurationList section */ 569 | }; 570 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 571 | } 572 | -------------------------------------------------------------------------------- /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 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /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/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/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/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/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/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/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/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/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/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/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/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/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/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/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/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/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/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/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/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/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/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/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/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/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/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/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/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/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/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/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/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/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 | github_flutter_ui 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | $(FLUTTER_BUILD_NAME) 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UISupportedInterfaceOrientations 30 | 31 | UIInterfaceOrientationPortrait 32 | UIInterfaceOrientationLandscapeLeft 33 | UIInterfaceOrientationLandscapeRight 34 | 35 | UISupportedInterfaceOrientations~ipad 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationPortraitUpsideDown 39 | UIInterfaceOrientationLandscapeLeft 40 | UIInterfaceOrientationLandscapeRight 41 | 42 | UIViewControllerBasedStatusBarAppearance 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /ios/Runner/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/Constant/Constant.dart: -------------------------------------------------------------------------------- 1 | String SPLASH_SCREEN = '/AnimatedSplashScreen', 2 | HOME_SCREEN='/Login'; -------------------------------------------------------------------------------- /lib/Model/GithubUser.dart: -------------------------------------------------------------------------------- 1 | // To parse this JSON data, do 2 | // 3 | // final githubUser = githubUserFromJson(jsonString); 4 | 5 | import 'dart:convert'; 6 | 7 | GithubUser githubUserFromJson(String str) => GithubUser.fromJson(json.decode(str)); 8 | 9 | String githubUserToJson(GithubUser data) => json.encode(data.toJson()); 10 | 11 | class GithubUser { 12 | String login; 13 | int id; 14 | String nodeId; 15 | String avatarUrl; 16 | String gravatarId; 17 | String url; 18 | String htmlUrl; 19 | String followersUrl; 20 | String followingUrl; 21 | String gistsUrl; 22 | String starredUrl; 23 | String subscriptionsUrl; 24 | String organizationsUrl; 25 | String reposUrl; 26 | String eventsUrl; 27 | String receivedEventsUrl; 28 | String type; 29 | bool siteAdmin; 30 | String name; 31 | dynamic company; 32 | String blog; 33 | String location; 34 | dynamic email; 35 | dynamic hireable; 36 | dynamic bio; 37 | int publicRepos; 38 | int publicGists; 39 | int followers; 40 | int following; 41 | DateTime createdAt; 42 | DateTime updatedAt; 43 | 44 | GithubUser({ 45 | this.login, 46 | this.id, 47 | this.nodeId, 48 | this.avatarUrl, 49 | this.gravatarId, 50 | this.url, 51 | this.htmlUrl, 52 | this.followersUrl, 53 | this.followingUrl, 54 | this.gistsUrl, 55 | this.starredUrl, 56 | this.subscriptionsUrl, 57 | this.organizationsUrl, 58 | this.reposUrl, 59 | this.eventsUrl, 60 | this.receivedEventsUrl, 61 | this.type, 62 | this.siteAdmin, 63 | this.name, 64 | this.company, 65 | this.blog, 66 | this.location, 67 | this.email, 68 | this.hireable, 69 | this.bio, 70 | this.publicRepos, 71 | this.publicGists, 72 | this.followers, 73 | this.following, 74 | this.createdAt, 75 | this.updatedAt, 76 | }); 77 | 78 | factory GithubUser.fromJson(Map json) => new GithubUser( 79 | login: json["login"], 80 | id: json["id"], 81 | nodeId: json["node_id"], 82 | avatarUrl: json["avatar_url"], 83 | gravatarId: json["gravatar_id"], 84 | url: json["url"], 85 | htmlUrl: json["html_url"], 86 | followersUrl: json["followers_url"], 87 | followingUrl: json["following_url"], 88 | gistsUrl: json["gists_url"], 89 | starredUrl: json["starred_url"], 90 | subscriptionsUrl: json["subscriptions_url"], 91 | organizationsUrl: json["organizations_url"], 92 | reposUrl: json["repos_url"], 93 | eventsUrl: json["events_url"], 94 | receivedEventsUrl: json["received_events_url"], 95 | type: json["type"], 96 | siteAdmin: json["site_admin"], 97 | name: json["name"], 98 | company: json["company"], 99 | blog: json["blog"], 100 | location: json["location"], 101 | email: json["email"], 102 | hireable: json["hireable"], 103 | bio: json["bio"], 104 | publicRepos: json["public_repos"], 105 | publicGists: json["public_gists"], 106 | followers: json["followers"], 107 | following: json["following"], 108 | createdAt: DateTime.parse(json["created_at"]), 109 | updatedAt: DateTime.parse(json["updated_at"]), 110 | ); 111 | 112 | Map toJson() => { 113 | "login": login, 114 | "id": id, 115 | "node_id": nodeId, 116 | "avatar_url": avatarUrl, 117 | "gravatar_id": gravatarId, 118 | "url": url, 119 | "html_url": htmlUrl, 120 | "followers_url": followersUrl, 121 | "following_url": followingUrl, 122 | "gists_url": gistsUrl, 123 | "starred_url": starredUrl, 124 | "subscriptions_url": subscriptionsUrl, 125 | "organizations_url": organizationsUrl, 126 | "repos_url": reposUrl, 127 | "events_url": eventsUrl, 128 | "received_events_url": receivedEventsUrl, 129 | "type": type, 130 | "site_admin": siteAdmin, 131 | "name": name, 132 | "company": company, 133 | "blog": blog, 134 | "location": location, 135 | "email": email, 136 | "hireable": hireable, 137 | "bio": bio, 138 | "public_repos": publicRepos, 139 | "public_gists": publicGists, 140 | "followers": followers, 141 | "following": following, 142 | "created_at": createdAt.toIso8601String(), 143 | "updated_at": updatedAt.toIso8601String(), 144 | }; 145 | } 146 | -------------------------------------------------------------------------------- /lib/Model/RepoData.dart: -------------------------------------------------------------------------------- 1 | // To parse this JSON data, do 2 | // 3 | // final repoData = repoDataFromJson(jsonString); 4 | 5 | import 'dart:convert'; 6 | 7 | List repoDataFromJson(String str) => new List.from(json.decode(str).map((x) => RepoData.fromJson(x))); 8 | 9 | String repoDataToJson(List data) => json.encode(new List.from(data.map((x) => x.toJson()))); 10 | 11 | class RepoData { 12 | int id; 13 | String nodeId; 14 | String name; 15 | String fullName; 16 | bool private; 17 | Owner owner; 18 | String htmlUrl; 19 | String description; 20 | bool fork; 21 | String url; 22 | String forksUrl; 23 | String keysUrl; 24 | String collaboratorsUrl; 25 | String teamsUrl; 26 | String hooksUrl; 27 | String issueEventsUrl; 28 | String eventsUrl; 29 | String assigneesUrl; 30 | String branchesUrl; 31 | String tagsUrl; 32 | String blobsUrl; 33 | String gitTagsUrl; 34 | String gitRefsUrl; 35 | String treesUrl; 36 | String statusesUrl; 37 | String languagesUrl; 38 | String stargazersUrl; 39 | String contributorsUrl; 40 | String subscribersUrl; 41 | String subscriptionUrl; 42 | String commitsUrl; 43 | String gitCommitsUrl; 44 | String commentsUrl; 45 | String issueCommentUrl; 46 | String contentsUrl; 47 | String compareUrl; 48 | String mergesUrl; 49 | String archiveUrl; 50 | String downloadsUrl; 51 | String issuesUrl; 52 | String pullsUrl; 53 | String milestonesUrl; 54 | String notificationsUrl; 55 | String labelsUrl; 56 | String releasesUrl; 57 | String deploymentsUrl; 58 | DateTime createdAt; 59 | DateTime updatedAt; 60 | DateTime pushedAt; 61 | String gitUrl; 62 | String sshUrl; 63 | String cloneUrl; 64 | String svnUrl; 65 | String homepage; 66 | int size; 67 | int stargazersCount; 68 | int watchersCount; 69 | String language; 70 | bool hasIssues; 71 | bool hasProjects; 72 | bool hasDownloads; 73 | bool hasWiki; 74 | bool hasPages; 75 | int forksCount; 76 | dynamic mirrorUrl; 77 | bool archived; 78 | bool disabled; 79 | int openIssuesCount; 80 | License license; 81 | int forks; 82 | int openIssues; 83 | int watchers; 84 | DefaultBranch defaultBranch; 85 | 86 | RepoData({ 87 | this.id, 88 | this.nodeId, 89 | this.name, 90 | this.fullName, 91 | this.private, 92 | this.owner, 93 | this.htmlUrl, 94 | this.description, 95 | this.fork, 96 | this.url, 97 | this.forksUrl, 98 | this.keysUrl, 99 | this.collaboratorsUrl, 100 | this.teamsUrl, 101 | this.hooksUrl, 102 | this.issueEventsUrl, 103 | this.eventsUrl, 104 | this.assigneesUrl, 105 | this.branchesUrl, 106 | this.tagsUrl, 107 | this.blobsUrl, 108 | this.gitTagsUrl, 109 | this.gitRefsUrl, 110 | this.treesUrl, 111 | this.statusesUrl, 112 | this.languagesUrl, 113 | this.stargazersUrl, 114 | this.contributorsUrl, 115 | this.subscribersUrl, 116 | this.subscriptionUrl, 117 | this.commitsUrl, 118 | this.gitCommitsUrl, 119 | this.commentsUrl, 120 | this.issueCommentUrl, 121 | this.contentsUrl, 122 | this.compareUrl, 123 | this.mergesUrl, 124 | this.archiveUrl, 125 | this.downloadsUrl, 126 | this.issuesUrl, 127 | this.pullsUrl, 128 | this.milestonesUrl, 129 | this.notificationsUrl, 130 | this.labelsUrl, 131 | this.releasesUrl, 132 | this.deploymentsUrl, 133 | this.createdAt, 134 | this.updatedAt, 135 | this.pushedAt, 136 | this.gitUrl, 137 | this.sshUrl, 138 | this.cloneUrl, 139 | this.svnUrl, 140 | this.homepage, 141 | this.size, 142 | this.stargazersCount, 143 | this.watchersCount, 144 | this.language, 145 | this.hasIssues, 146 | this.hasProjects, 147 | this.hasDownloads, 148 | this.hasWiki, 149 | this.hasPages, 150 | this.forksCount, 151 | this.mirrorUrl, 152 | this.archived, 153 | this.disabled, 154 | this.openIssuesCount, 155 | this.license, 156 | this.forks, 157 | this.openIssues, 158 | this.watchers, 159 | this.defaultBranch, 160 | }); 161 | 162 | factory RepoData.fromJson(Map json) => new RepoData( 163 | id: json["id"], 164 | nodeId: json["node_id"], 165 | name: json["name"], 166 | fullName: json["full_name"], 167 | private: json["private"], 168 | owner: Owner.fromJson(json["owner"]), 169 | htmlUrl: json["html_url"], 170 | description: json["description"] == null ? null : json["description"], 171 | fork: json["fork"], 172 | url: json["url"], 173 | forksUrl: json["forks_url"], 174 | keysUrl: json["keys_url"], 175 | collaboratorsUrl: json["collaborators_url"], 176 | teamsUrl: json["teams_url"], 177 | hooksUrl: json["hooks_url"], 178 | issueEventsUrl: json["issue_events_url"], 179 | eventsUrl: json["events_url"], 180 | assigneesUrl: json["assignees_url"], 181 | branchesUrl: json["branches_url"], 182 | tagsUrl: json["tags_url"], 183 | blobsUrl: json["blobs_url"], 184 | gitTagsUrl: json["git_tags_url"], 185 | gitRefsUrl: json["git_refs_url"], 186 | treesUrl: json["trees_url"], 187 | statusesUrl: json["statuses_url"], 188 | languagesUrl: json["languages_url"], 189 | stargazersUrl: json["stargazers_url"], 190 | contributorsUrl: json["contributors_url"], 191 | subscribersUrl: json["subscribers_url"], 192 | subscriptionUrl: json["subscription_url"], 193 | commitsUrl: json["commits_url"], 194 | gitCommitsUrl: json["git_commits_url"], 195 | commentsUrl: json["comments_url"], 196 | issueCommentUrl: json["issue_comment_url"], 197 | contentsUrl: json["contents_url"], 198 | compareUrl: json["compare_url"], 199 | mergesUrl: json["merges_url"], 200 | archiveUrl: json["archive_url"], 201 | downloadsUrl: json["downloads_url"], 202 | issuesUrl: json["issues_url"], 203 | pullsUrl: json["pulls_url"], 204 | milestonesUrl: json["milestones_url"], 205 | notificationsUrl: json["notifications_url"], 206 | labelsUrl: json["labels_url"], 207 | releasesUrl: json["releases_url"], 208 | deploymentsUrl: json["deployments_url"], 209 | createdAt: DateTime.parse(json["created_at"]), 210 | updatedAt: DateTime.parse(json["updated_at"]), 211 | pushedAt: DateTime.parse(json["pushed_at"]), 212 | gitUrl: json["git_url"], 213 | sshUrl: json["ssh_url"], 214 | cloneUrl: json["clone_url"], 215 | svnUrl: json["svn_url"], 216 | homepage: json["homepage"] == null ? null : json["homepage"], 217 | size: json["size"], 218 | stargazersCount: json["stargazers_count"], 219 | watchersCount: json["watchers_count"], 220 | language: json["language"], 221 | hasIssues: json["has_issues"], 222 | hasProjects: json["has_projects"], 223 | hasDownloads: json["has_downloads"], 224 | hasWiki: json["has_wiki"], 225 | hasPages: json["has_pages"], 226 | forksCount: json["forks_count"], 227 | mirrorUrl: json["mirror_url"], 228 | archived: json["archived"], 229 | disabled: json["disabled"], 230 | openIssuesCount: json["open_issues_count"], 231 | license: json["license"] == null ? null : License.fromJson(json["license"]), 232 | forks: json["forks"], 233 | openIssues: json["open_issues"], 234 | watchers: json["watchers"], 235 | defaultBranch: defaultBranchValues.map[json["default_branch"]], 236 | ); 237 | 238 | Map toJson() => { 239 | "id": id, 240 | "node_id": nodeId, 241 | "name": name, 242 | "full_name": fullName, 243 | "private": private, 244 | "owner": owner.toJson(), 245 | "html_url": htmlUrl, 246 | "description": description == null ? null : description, 247 | "fork": fork, 248 | "url": url, 249 | "forks_url": forksUrl, 250 | "keys_url": keysUrl, 251 | "collaborators_url": collaboratorsUrl, 252 | "teams_url": teamsUrl, 253 | "hooks_url": hooksUrl, 254 | "issue_events_url": issueEventsUrl, 255 | "events_url": eventsUrl, 256 | "assignees_url": assigneesUrl, 257 | "branches_url": branchesUrl, 258 | "tags_url": tagsUrl, 259 | "blobs_url": blobsUrl, 260 | "git_tags_url": gitTagsUrl, 261 | "git_refs_url": gitRefsUrl, 262 | "trees_url": treesUrl, 263 | "statuses_url": statusesUrl, 264 | "languages_url": languagesUrl, 265 | "stargazers_url": stargazersUrl, 266 | "contributors_url": contributorsUrl, 267 | "subscribers_url": subscribersUrl, 268 | "subscription_url": subscriptionUrl, 269 | "commits_url": commitsUrl, 270 | "git_commits_url": gitCommitsUrl, 271 | "comments_url": commentsUrl, 272 | "issue_comment_url": issueCommentUrl, 273 | "contents_url": contentsUrl, 274 | "compare_url": compareUrl, 275 | "merges_url": mergesUrl, 276 | "archive_url": archiveUrl, 277 | "downloads_url": downloadsUrl, 278 | "issues_url": issuesUrl, 279 | "pulls_url": pullsUrl, 280 | "milestones_url": milestonesUrl, 281 | "notifications_url": notificationsUrl, 282 | "labels_url": labelsUrl, 283 | "releases_url": releasesUrl, 284 | "deployments_url": deploymentsUrl, 285 | "created_at": createdAt.toIso8601String(), 286 | "updated_at": updatedAt.toIso8601String(), 287 | "pushed_at": pushedAt.toIso8601String(), 288 | "git_url": gitUrl, 289 | "ssh_url": sshUrl, 290 | "clone_url": cloneUrl, 291 | "svn_url": svnUrl, 292 | "homepage": homepage == null ? null : homepage, 293 | "size": size, 294 | "stargazers_count": stargazersCount, 295 | "watchers_count": watchersCount, 296 | "language": language, 297 | "has_issues": hasIssues, 298 | "has_projects": hasProjects, 299 | "has_downloads": hasDownloads, 300 | "has_wiki": hasWiki, 301 | "has_pages": hasPages, 302 | "forks_count": forksCount, 303 | "mirror_url": mirrorUrl, 304 | "archived": archived, 305 | "disabled": disabled, 306 | "open_issues_count": openIssuesCount, 307 | "license": license == null ? null : license.toJson(), 308 | "forks": forks, 309 | "open_issues": openIssues, 310 | "watchers": watchers, 311 | "default_branch": defaultBranchValues.reverse[defaultBranch], 312 | }; 313 | } 314 | 315 | enum DefaultBranch { MASTER } 316 | 317 | final defaultBranchValues = new EnumValues({ 318 | "master": DefaultBranch.MASTER 319 | }); 320 | 321 | class License { 322 | String key; 323 | String name; 324 | String spdxId; 325 | dynamic url; 326 | String nodeId; 327 | 328 | License({ 329 | this.key, 330 | this.name, 331 | this.spdxId, 332 | this.url, 333 | this.nodeId, 334 | }); 335 | 336 | factory License.fromJson(Map json) => new License( 337 | key: json["key"], 338 | name: json["name"], 339 | spdxId: json["spdx_id"], 340 | url: json["url"], 341 | nodeId: json["node_id"], 342 | ); 343 | 344 | Map toJson() => { 345 | "key": key, 346 | "name": name, 347 | "spdx_id": spdxId, 348 | "url": url, 349 | "node_id": nodeId, 350 | }; 351 | } 352 | 353 | class Owner { 354 | Login login; 355 | int id; 356 | NodeId nodeId; 357 | String avatarUrl; 358 | String gravatarId; 359 | String url; 360 | String htmlUrl; 361 | String followersUrl; 362 | FollowingUrl followingUrl; 363 | GistsUrl gistsUrl; 364 | StarredUrl starredUrl; 365 | String subscriptionsUrl; 366 | String organizationsUrl; 367 | String reposUrl; 368 | EventsUrl eventsUrl; 369 | String receivedEventsUrl; 370 | Type type; 371 | bool siteAdmin; 372 | 373 | Owner({ 374 | this.login, 375 | this.id, 376 | this.nodeId, 377 | this.avatarUrl, 378 | this.gravatarId, 379 | this.url, 380 | this.htmlUrl, 381 | this.followersUrl, 382 | this.followingUrl, 383 | this.gistsUrl, 384 | this.starredUrl, 385 | this.subscriptionsUrl, 386 | this.organizationsUrl, 387 | this.reposUrl, 388 | this.eventsUrl, 389 | this.receivedEventsUrl, 390 | this.type, 391 | this.siteAdmin, 392 | }); 393 | 394 | factory Owner.fromJson(Map json) => new Owner( 395 | login: loginValues.map[json["login"]], 396 | id: json["id"], 397 | nodeId: nodeIdValues.map[json["node_id"]], 398 | avatarUrl: json["avatar_url"], 399 | gravatarId: json["gravatar_id"], 400 | url: json["url"], 401 | htmlUrl: json["html_url"], 402 | followersUrl: json["followers_url"], 403 | followingUrl: followingUrlValues.map[json["following_url"]], 404 | gistsUrl: gistsUrlValues.map[json["gists_url"]], 405 | starredUrl: starredUrlValues.map[json["starred_url"]], 406 | subscriptionsUrl: json["subscriptions_url"], 407 | organizationsUrl: json["organizations_url"], 408 | reposUrl: json["repos_url"], 409 | eventsUrl: eventsUrlValues.map[json["events_url"]], 410 | receivedEventsUrl: json["received_events_url"], 411 | type: typeValues.map[json["type"]], 412 | siteAdmin: json["site_admin"], 413 | ); 414 | 415 | Map toJson() => { 416 | "login": loginValues.reverse[login], 417 | "id": id, 418 | "node_id": nodeIdValues.reverse[nodeId], 419 | "avatar_url": avatarUrl, 420 | "gravatar_id": gravatarId, 421 | "url": url, 422 | "html_url": htmlUrl, 423 | "followers_url": followersUrl, 424 | "following_url": followingUrlValues.reverse[followingUrl], 425 | "gists_url": gistsUrlValues.reverse[gistsUrl], 426 | "starred_url": starredUrlValues.reverse[starredUrl], 427 | "subscriptions_url": subscriptionsUrl, 428 | "organizations_url": organizationsUrl, 429 | "repos_url": reposUrl, 430 | "events_url": eventsUrlValues.reverse[eventsUrl], 431 | "received_events_url": receivedEventsUrl, 432 | "type": typeValues.reverse[type], 433 | "site_admin": siteAdmin, 434 | }; 435 | } 436 | 437 | enum EventsUrl { HTTPS_API_GITHUB_COM_USERS_YASH1200_EVENTS_PRIVACY } 438 | 439 | final eventsUrlValues = new EnumValues({ 440 | "https://api.github.com/users/yash1200/events{/privacy}": EventsUrl.HTTPS_API_GITHUB_COM_USERS_YASH1200_EVENTS_PRIVACY 441 | }); 442 | 443 | enum FollowingUrl { HTTPS_API_GITHUB_COM_USERS_YASH1200_FOLLOWING_OTHER_USER } 444 | 445 | final followingUrlValues = new EnumValues({ 446 | "https://api.github.com/users/yash1200/following{/other_user}": FollowingUrl.HTTPS_API_GITHUB_COM_USERS_YASH1200_FOLLOWING_OTHER_USER 447 | }); 448 | 449 | enum GistsUrl { HTTPS_API_GITHUB_COM_USERS_YASH1200_GISTS_GIST_ID } 450 | 451 | final gistsUrlValues = new EnumValues({ 452 | "https://api.github.com/users/yash1200/gists{/gist_id}": GistsUrl.HTTPS_API_GITHUB_COM_USERS_YASH1200_GISTS_GIST_ID 453 | }); 454 | 455 | enum Login { YASH1200 } 456 | 457 | final loginValues = new EnumValues({ 458 | "yash1200": Login.YASH1200 459 | }); 460 | 461 | enum NodeId { MDQ6_VX_NLCJ_M4_MZKX_N_TCW } 462 | 463 | final nodeIdValues = new EnumValues({ 464 | "MDQ6VXNlcjM4MzkxNTcw": NodeId.MDQ6_VX_NLCJ_M4_MZKX_N_TCW 465 | }); 466 | 467 | enum StarredUrl { HTTPS_API_GITHUB_COM_USERS_YASH1200_STARRED_OWNER_REPO } 468 | 469 | final starredUrlValues = new EnumValues({ 470 | "https://api.github.com/users/yash1200/starred{/owner}{/repo}": StarredUrl.HTTPS_API_GITHUB_COM_USERS_YASH1200_STARRED_OWNER_REPO 471 | }); 472 | 473 | enum Type { USER } 474 | 475 | final typeValues = new EnumValues({ 476 | "User": Type.USER 477 | }); 478 | 479 | class EnumValues { 480 | Map map; 481 | Map reverseMap; 482 | 483 | EnumValues(this.map); 484 | 485 | Map get reverse { 486 | if (reverseMap == null) { 487 | reverseMap = map.map((k, v) => new MapEntry(v, k)); 488 | } 489 | return reverseMap; 490 | } 491 | } 492 | -------------------------------------------------------------------------------- /lib/Model/github_starred.dart: -------------------------------------------------------------------------------- 1 | // To parse this JSON data, do 2 | // 3 | // final githubStarred = githubStarredFromJson(jsonString); 4 | 5 | import 'dart:convert'; 6 | 7 | List githubStarredFromJson(String str) => new List.from(json.decode(str).map((x) => GithubStarred.fromJson(x))); 8 | 9 | String githubStarredToJson(List data) => json.encode(new List.from(data.map((x) => x.toJson()))); 10 | 11 | class GithubStarred { 12 | String login; 13 | int id; 14 | String nodeId; 15 | String avatarUrl; 16 | String gravatarId; 17 | String url; 18 | String htmlUrl; 19 | String followersUrl; 20 | String followingUrl; 21 | String gistsUrl; 22 | String starredUrl; 23 | String subscriptionsUrl; 24 | String organizationsUrl; 25 | String reposUrl; 26 | String eventsUrl; 27 | String receivedEventsUrl; 28 | Type type; 29 | bool siteAdmin; 30 | 31 | GithubStarred({ 32 | this.login, 33 | this.id, 34 | this.nodeId, 35 | this.avatarUrl, 36 | this.gravatarId, 37 | this.url, 38 | this.htmlUrl, 39 | this.followersUrl, 40 | this.followingUrl, 41 | this.gistsUrl, 42 | this.starredUrl, 43 | this.subscriptionsUrl, 44 | this.organizationsUrl, 45 | this.reposUrl, 46 | this.eventsUrl, 47 | this.receivedEventsUrl, 48 | this.type, 49 | this.siteAdmin, 50 | }); 51 | 52 | factory GithubStarred.fromJson(Map json) => new GithubStarred( 53 | login: json["login"], 54 | id: json["id"], 55 | nodeId: json["node_id"], 56 | avatarUrl: json["avatar_url"], 57 | gravatarId: json["gravatar_id"], 58 | url: json["url"], 59 | htmlUrl: json["html_url"], 60 | followersUrl: json["followers_url"], 61 | followingUrl: json["following_url"], 62 | gistsUrl: json["gists_url"], 63 | starredUrl: json["starred_url"], 64 | subscriptionsUrl: json["subscriptions_url"], 65 | organizationsUrl: json["organizations_url"], 66 | reposUrl: json["repos_url"], 67 | eventsUrl: json["events_url"], 68 | receivedEventsUrl: json["received_events_url"], 69 | type: typeValues.map[json["type"]], 70 | siteAdmin: json["site_admin"], 71 | ); 72 | 73 | Map toJson() => { 74 | "login": login, 75 | "id": id, 76 | "node_id": nodeId, 77 | "avatar_url": avatarUrl, 78 | "gravatar_id": gravatarId, 79 | "url": url, 80 | "html_url": htmlUrl, 81 | "followers_url": followersUrl, 82 | "following_url": followingUrl, 83 | "gists_url": gistsUrl, 84 | "starred_url": starredUrl, 85 | "subscriptions_url": subscriptionsUrl, 86 | "organizations_url": organizationsUrl, 87 | "repos_url": reposUrl, 88 | "events_url": eventsUrl, 89 | "received_events_url": receivedEventsUrl, 90 | "type": typeValues.reverse[type], 91 | "site_admin": siteAdmin, 92 | }; 93 | } 94 | 95 | enum Type { USER } 96 | 97 | final typeValues = new EnumValues({ 98 | "User": Type.USER 99 | }); 100 | 101 | class EnumValues { 102 | Map map; 103 | Map reverseMap; 104 | 105 | EnumValues(this.map); 106 | 107 | Map get reverse { 108 | if (reverseMap == null) { 109 | reverseMap = map.map((k, v) => new MapEntry(v, k)); 110 | } 111 | return reverseMap; 112 | } 113 | } 114 | -------------------------------------------------------------------------------- /lib/Model/listItem.dart: -------------------------------------------------------------------------------- 1 | // ignore: camel_case_types 2 | class listItem { 3 | String _name; 4 | String _count; 5 | var _icon; 6 | 7 | listItem(this._name, this._count, this._icon); 8 | 9 | get icon => _icon; 10 | 11 | String get count => _count; 12 | 13 | String get name => _name; 14 | } 15 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:github_flutter_ui/ui/HomePage.dart'; 3 | import 'package:github_flutter_ui/ui/login_screen.dart'; 4 | import 'package:github_flutter_ui/splash/splash_screens.dart'; 5 | import 'package:github_flutter_ui/Constant/Constant.dart'; 6 | 7 | void main() => runApp(MyApp()); 8 | 9 | class MyApp extends StatelessWidget { 10 | // This widget is the root of your application. 11 | @override 12 | Widget build(BuildContext context) { 13 | return MaterialApp( 14 | debugShowCheckedModeBanner: false, 15 | title: 'Flutter Demo', 16 | routes: { 17 | SPLASH_SCREEN: (BuildContext context)=> AnimatedSplashScreen(), 18 | HOME_SCREEN: (BuildContext context)=> Login(), 19 | }, 20 | home: AnimatedSplashScreen(), 21 | ); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /lib/splash/splash_screens.dart: -------------------------------------------------------------------------------- 1 | import 'dart:async'; 2 | import 'package:github_flutter_ui/Constant/Constant.dart'; 3 | import 'package:flutter/cupertino.dart'; 4 | import 'package:flutter/material.dart'; 5 | 6 | class AnimatedSplashScreen extends StatefulWidget { 7 | @override 8 | SplashScreenState createState() => new SplashScreenState(); 9 | } 10 | 11 | class SplashScreenState extends State 12 | with SingleTickerProviderStateMixin { 13 | var _visible = true; 14 | 15 | AnimationController animationController; 16 | Animation animation; 17 | 18 | startTime() async { 19 | var _duration = new Duration(seconds: 3); 20 | return new Timer(_duration, navigationPage); 21 | } 22 | 23 | void navigationPage() { 24 | Navigator.of(context).pushReplacementNamed(HOME_SCREEN); 25 | } 26 | 27 | @override 28 | void initState() { 29 | super.initState(); 30 | animationController = new AnimationController( 31 | vsync: this, duration: new Duration(seconds: 2)); 32 | animation = 33 | new CurvedAnimation(parent: animationController, curve: Curves.easeOut); 34 | 35 | animation.addListener(() => this.setState(() {})); 36 | animationController.forward(); 37 | 38 | setState(() { 39 | _visible = !_visible; 40 | }); 41 | startTime(); 42 | } 43 | 44 | @override 45 | Widget build(BuildContext context) { 46 | return Scaffold( 47 | body: Stack( 48 | fit: StackFit.expand, 49 | children: [ 50 | new Column( 51 | mainAxisAlignment: MainAxisAlignment.end, 52 | mainAxisSize: MainAxisSize.min, 53 | children: [ 54 | 55 | Padding(padding: EdgeInsets.only(bottom: 30.0),child:new Image.asset('assets/powered_by.png',height: 25.0,fit: BoxFit.scaleDown,)) 56 | 57 | 58 | ],), 59 | new Column( 60 | mainAxisAlignment: MainAxisAlignment.center, 61 | children: [ 62 | new Image.asset( 63 | 'assets/logo.png', 64 | width: animation.value * 250, 65 | height: animation.value * 250, 66 | ), 67 | ], 68 | ), 69 | ], 70 | ), 71 | ); 72 | } 73 | } -------------------------------------------------------------------------------- /lib/ui/HomePage.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:github_flutter_ui/Model/GithubUser.dart'; 3 | import 'package:github_flutter_ui/Model/listItem.dart'; 4 | import 'package:url_launcher/url_launcher.dart'; 5 | import 'package:http/http.dart' as http; 6 | import 'dart:async'; 7 | import 'package:intl/intl.dart'; 8 | import 'package:github_flutter_ui/Model/RepoData.dart'; 9 | 10 | class HomePage extends StatefulWidget { 11 | String username; 12 | 13 | HomePage({Key key, @required this.username}) : super(key: key); 14 | 15 | @override 16 | _HomePageState createState() => _HomePageState(username: username); 17 | } 18 | 19 | class _HomePageState extends State { 20 | String username; 21 | 22 | _HomePageState({Key key, @required this.username}); 23 | 24 | _launchURL(String url) async { 25 | if (await canLaunch(url)) { 26 | await launch(url); 27 | } else { 28 | print('Could not launch $url'); 29 | } 30 | } 31 | 32 | List repoList; 33 | 34 | @override 35 | void initState() { 36 | super.initState(); 37 | } 38 | 39 | Future getUserData() async { 40 | GithubUser user; 41 | String url = "https://api.github.com/users/$username"; 42 | http.Response response = await http.get(url); 43 | user = githubUserFromJson(response.body); 44 | return user; 45 | } 46 | 47 | Future> getRepoData() async { 48 | List repo = List(); 49 | String url = 'https://api.github.com/users/$username/repos'; 50 | http.Response response = await http.get(url); 51 | repo = repoDataFromJson(response.body); 52 | print(repo); 53 | return repo; 54 | } 55 | 56 | repoLIstItem(BuildContext context, RepoData repoData) { 57 | return Padding( 58 | padding: const EdgeInsets.only(left: 15, right: 15, top: 5, bottom: 5), 59 | child: ListView( 60 | physics: NeverScrollableScrollPhysics(), 61 | shrinkWrap: true, 62 | children: [ 63 | Container( 64 | height: MediaQuery.of(context).size.height / 10, 65 | child: ListTile( 66 | onTap: () { 67 | _launchURL(repoData.htmlUrl); 68 | }, 69 | title: Text(repoData.name), 70 | leading: Icon( 71 | Icons.folder_open, 72 | color: Colors.black, 73 | ), 74 | subtitle: Text( 75 | repoData.description ?? "", 76 | overflow: TextOverflow.ellipsis, 77 | ), 78 | trailing: Column( 79 | children: [ 80 | Icon(Icons.star_border), 81 | Text(repoData.stargazersCount.toString()), 82 | ], 83 | ), 84 | ), 85 | ), 86 | Divider( 87 | height: 1, 88 | color: Colors.grey, 89 | ) 90 | ], 91 | ), 92 | ); 93 | } 94 | 95 | @override 96 | Widget build(BuildContext context) { 97 | return Scaffold( 98 | body: SafeArea( 99 | child: Stack( 100 | children: [ 101 | Positioned(left: 100,bottom: 250, 102 | child: Opacity( 103 | opacity: 0.2, 104 | child: Container( 105 | child: Image.asset( 106 | 'assets/Octocat.png', 107 | height: 600, 108 | width: 600, 109 | ), 110 | ), 111 | ), 112 | ), 113 | FutureBuilder( 114 | future: getUserData(), 115 | builder: (context, snapshot) { 116 | print(snapshot.data); 117 | if (snapshot.hasData) { 118 | return Container( 119 | height: MediaQuery.of(context).size.height, 120 | child: Column( 121 | mainAxisSize: MainAxisSize.max, 122 | children: [ 123 | Container( 124 | alignment: Alignment.topCenter, 125 | child: Padding( 126 | padding: const EdgeInsets.only(top: 24), 127 | child: Column( 128 | crossAxisAlignment: CrossAxisAlignment.center, 129 | children: [ 130 | Padding( 131 | padding: const EdgeInsets.only(top: 10), 132 | child: Row( 133 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 134 | crossAxisAlignment: CrossAxisAlignment.start, 135 | children: [ 136 | Padding( 137 | padding: const EdgeInsets.only(left: 15), 138 | child: InkWell( 139 | onTap: () { 140 | Navigator.pop(context); 141 | }, 142 | child: Icon(Icons.arrow_back)), 143 | ), 144 | Container( 145 | decoration: BoxDecoration( 146 | shape: BoxShape.circle, 147 | border: Border.all( 148 | color: Colors.black, width: 3)), 149 | child: ClipOval( 150 | child: CircleAvatar( 151 | radius: 70, 152 | child: Image.network( 153 | '${snapshot.data.avatarUrl}'), 154 | ), 155 | ), 156 | ), 157 | Padding( 158 | padding: const EdgeInsets.only(right: 15), 159 | child: InkWell( 160 | onTap: () { 161 | _launchURL(snapshot.data.htmlUrl); 162 | }, 163 | child: Image.asset( 164 | 'assets/GitHub-Mark-64px.png', 165 | height: 40, 166 | width: 40, 167 | ), 168 | ), 169 | ) 170 | ], 171 | ), 172 | ), 173 | Padding( 174 | padding: const EdgeInsets.only(top: 5), 175 | child: Text( 176 | '${snapshot.data.name}', 177 | style: TextStyle( 178 | fontSize: 30, fontWeight: FontWeight.w300), 179 | ), 180 | ), 181 | Padding( 182 | padding: const EdgeInsets.only( 183 | top: 10, left: 20, right: 20), 184 | child: snapshot.data.bio != null 185 | ? Text( 186 | snapshot.data.bio, 187 | textAlign: TextAlign.center, 188 | style: TextStyle( 189 | fontSize: 16, 190 | fontWeight: FontWeight.w400), 191 | ) 192 | : SizedBox( 193 | height: 0, 194 | ), 195 | ), 196 | Padding( 197 | padding: const EdgeInsets.only(top: 5), 198 | child: snapshot.data.email != null 199 | ? Text( 200 | snapshot.data.email, 201 | style: TextStyle( 202 | fontSize: 15, 203 | fontWeight: FontWeight.w300), 204 | ) 205 | : SizedBox( 206 | height: 0, 207 | ), 208 | ), 209 | ], 210 | ), 211 | ), 212 | ), 213 | Expanded( 214 | child: Container( 215 | child: ListView( 216 | children: [ 217 | Container( 218 | margin: EdgeInsets.only(bottom: 10), 219 | width: MediaQuery.of(context).size.width, 220 | height: MediaQuery.of(context).size.height / 10, 221 | child: Row( 222 | crossAxisAlignment: CrossAxisAlignment.center, 223 | children: [ 224 | Expanded( 225 | child: Container( 226 | height: 227 | MediaQuery.of(context).size.height / 10, 228 | child: Column( 229 | mainAxisAlignment: 230 | MainAxisAlignment.center, 231 | crossAxisAlignment: 232 | CrossAxisAlignment.center, 233 | children: [ 234 | Container( 235 | height: MediaQuery.of(context) 236 | .size 237 | .height / 238 | 20, 239 | child: Icon( 240 | Icons.folder_open, 241 | ), 242 | ), 243 | Container( 244 | height: MediaQuery.of(context) 245 | .size 246 | .height / 247 | 40, 248 | child: Text(snapshot.data.publicRepos 249 | .toString()), 250 | ), 251 | Container( 252 | height: MediaQuery.of(context) 253 | .size 254 | .height / 255 | 40, 256 | child: Text( 257 | 'Repositories', 258 | style: TextStyle(fontSize: 12), 259 | overflow: TextOverflow.ellipsis, 260 | ), 261 | ), 262 | ], 263 | ), 264 | ), 265 | ), 266 | Expanded( 267 | child: Container( 268 | height: 269 | MediaQuery.of(context).size.height / 10, 270 | child: Column( 271 | mainAxisAlignment: 272 | MainAxisAlignment.center, 273 | crossAxisAlignment: 274 | CrossAxisAlignment.center, 275 | children: [ 276 | Container( 277 | height: MediaQuery.of(context) 278 | .size 279 | .height / 280 | 20, 281 | child: Icon( 282 | Icons.people, 283 | ), 284 | ), 285 | Container( 286 | height: MediaQuery.of(context) 287 | .size 288 | .height / 289 | 40, 290 | child: Text(snapshot.data.followers 291 | .toString()), 292 | ), 293 | Container( 294 | height: MediaQuery.of(context) 295 | .size 296 | .height / 297 | 40, 298 | child: Text( 299 | 'Followers', 300 | style: TextStyle(fontSize: 12), 301 | overflow: TextOverflow.ellipsis, 302 | ), 303 | ), 304 | ], 305 | ), 306 | ), 307 | ), 308 | Expanded( 309 | child: Container( 310 | height: 311 | MediaQuery.of(context).size.height / 10, 312 | child: Column( 313 | mainAxisAlignment: 314 | MainAxisAlignment.center, 315 | crossAxisAlignment: 316 | CrossAxisAlignment.center, 317 | children: [ 318 | Container( 319 | height: MediaQuery.of(context) 320 | .size 321 | .height / 322 | 20, 323 | child: Icon( 324 | Icons.person_outline, 325 | ), 326 | ), 327 | Container( 328 | height: MediaQuery.of(context) 329 | .size 330 | .height / 331 | 40, 332 | child: Text(snapshot.data.following 333 | .toString()), 334 | ), 335 | Container( 336 | height: MediaQuery.of(context) 337 | .size 338 | .height / 339 | 40, 340 | child: Text( 341 | 'Following', 342 | style: TextStyle(fontSize: 12), 343 | overflow: TextOverflow.ellipsis, 344 | ), 345 | ), 346 | ], 347 | ), 348 | ), 349 | ), 350 | ], 351 | ), 352 | ), 353 | Padding( 354 | padding: const EdgeInsets.only(left: 10, right: 10), 355 | child: Container( 356 | decoration: BoxDecoration( 357 | borderRadius: BorderRadius.circular(8), 358 | border: Border.all( 359 | color: Colors.grey, width: 0.5)), 360 | child: ListView( 361 | shrinkWrap: true, 362 | physics: NeverScrollableScrollPhysics(), 363 | children: [ 364 | Container( 365 | padding: EdgeInsets.only(left: 20, top: 15), 366 | child: Text( 367 | 'Joined : ${DateFormat.yMMMd().format(snapshot.data.createdAt)}', 368 | style: TextStyle( 369 | fontWeight: FontWeight.w300, 370 | fontSize: 22), 371 | ), 372 | ), 373 | Container( 374 | padding: EdgeInsets.only( 375 | left: 20, top: 15, bottom: 15), 376 | child: Text( 377 | 'Last update : ${DateFormat.yMMMd().format(snapshot.data.updatedAt)}', 378 | style: TextStyle( 379 | fontWeight: FontWeight.w300, 380 | fontSize: 22), 381 | ), 382 | ), 383 | ], 384 | ), 385 | ), 386 | ), 387 | Container( 388 | padding: 389 | EdgeInsets.only(left: 20, top: 10, bottom: 10), 390 | child: Text( 391 | 'Repositories', 392 | style: TextStyle( 393 | fontSize: 25, fontWeight: FontWeight.w400), 394 | ), 395 | ), 396 | Padding( 397 | padding: EdgeInsets.only(left: 10, right: 10,bottom: 10), 398 | child: Container( 399 | width: MediaQuery.of(context).size.width, 400 | child: FutureBuilder>( 401 | future: getRepoData(), 402 | builder: (context, snapshot1) { 403 | if (!snapshot1.hasData) { 404 | return Center( 405 | child: CircularProgressIndicator(), 406 | ); 407 | } else if (snapshot1.hasData) { 408 | return Container( 409 | decoration: BoxDecoration( 410 | borderRadius: BorderRadius.circular(8), 411 | border: Border.all( 412 | color: Colors.grey, width: 0.5)), 413 | child: Padding( 414 | padding: const EdgeInsets.only( 415 | top: 4, bottom: 4), 416 | child: ListView.builder( 417 | shrinkWrap: true, 418 | physics: NeverScrollableScrollPhysics(), 419 | itemCount: snapshot1.data.length, 420 | itemBuilder: (context, index) { 421 | return repoLIstItem( 422 | context, snapshot1.data[index]); 423 | }, 424 | ), 425 | ), 426 | ); 427 | } else { 428 | return Center( 429 | child: Container( 430 | width: 431 | MediaQuery.of(context).size.width, 432 | height: 433 | MediaQuery.of(context).size.height / 434 | 10, 435 | child: Text('No Repositories Found'), 436 | ), 437 | ); 438 | } 439 | }, 440 | ), 441 | ), 442 | ) 443 | ], 444 | ), 445 | ), 446 | ), 447 | ], 448 | ), 449 | ); 450 | } else if (snapshot.connectionState == ConnectionState.waiting) { 451 | return Center( 452 | child: CircularProgressIndicator(), 453 | ); 454 | } else { 455 | return Center( 456 | child: Column( 457 | mainAxisAlignment: MainAxisAlignment.center, 458 | children: [ 459 | Image.asset('assets/giterror.png'), 460 | SizedBox( 461 | height: 10, 462 | ), 463 | Text( 464 | 'User Not Found', 465 | style: TextStyle(fontSize: 40, fontWeight: FontWeight.w500), 466 | ), 467 | SizedBox( 468 | height: 10, 469 | ), 470 | MaterialButton( 471 | onPressed: () { 472 | Navigator.pop(context); 473 | }, 474 | color: Colors.red, 475 | child: Text( 476 | 'Back To Home', 477 | style: TextStyle(color: Colors.white), 478 | ), 479 | ) 480 | ], 481 | ), 482 | ); 483 | } 484 | }, 485 | ), 486 | ], 487 | ), 488 | ), 489 | ); 490 | } 491 | } 492 | -------------------------------------------------------------------------------- /lib/ui/login_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:github_flutter_ui/ui/HomePage.dart'; 3 | 4 | class Login extends StatefulWidget { 5 | @override 6 | _LoginState createState() => _LoginState(); 7 | } 8 | 9 | class _LoginState extends State { 10 | var fkey = GlobalKey(); 11 | TextEditingController userNameController = TextEditingController(); 12 | 13 | @override 14 | Widget build(BuildContext context) { 15 | return Scaffold( 16 | body: Center( 17 | child: Stack( 18 | fit: StackFit.loose, 19 | children: [ 20 | Positioned(left: 100,bottom: 250, 21 | child: Opacity( 22 | opacity: 0.2, 23 | child: Container( 24 | child: Image.asset( 25 | 'assets/Octocat.png', 26 | height: 600, 27 | width: 600, 28 | ), 29 | ), 30 | ), 31 | ), 32 | Center( 33 | child: Container( 34 | child: SingleChildScrollView( 35 | child: Column( 36 | mainAxisAlignment: MainAxisAlignment.center, 37 | crossAxisAlignment: CrossAxisAlignment.center, 38 | children: [ 39 | Image.asset( 40 | 'assets/Octocat.png', 41 | height: 200, 42 | width: 200, 43 | ), 44 | Form( 45 | key: fkey, 46 | child: Padding( 47 | padding: const EdgeInsets.all(20), 48 | child: new Theme( 49 | data: new ThemeData( 50 | primaryColor: Colors.grey[400], 51 | primaryColorDark: Colors.red, 52 | ), 53 | child: TextFormField( 54 | controller: userNameController, 55 | validator: (String value) { 56 | if (value.isEmpty) { 57 | return 'Please Enter Username'; 58 | } else if (value.contains(' ')) { 59 | return 'Please Enter valid username'; 60 | } 61 | }, 62 | decoration: InputDecoration( 63 | hintText: 'Username', 64 | labelText: 'Username', 65 | border: OutlineInputBorder( 66 | borderRadius: BorderRadius.circular(8), 67 | ), 68 | ), 69 | ), 70 | ), 71 | ), 72 | ), 73 | Container( 74 | padding: EdgeInsets.only(left: 20, right: 20), 75 | width: MediaQuery.of(context).size.width, 76 | child: MaterialButton( 77 | color: Colors.blue, 78 | elevation: 5, 79 | shape: RoundedRectangleBorder( 80 | borderRadius: BorderRadius.circular(8)), 81 | onPressed: () { 82 | setState(() { 83 | String username = userNameController.text; 84 | print(userNameController.text); 85 | if (fkey.currentState.validate()) { 86 | Navigator.push(context, 87 | MaterialPageRoute(builder: (context) { 88 | return HomePage(username: username); 89 | })); 90 | userNameController.clear(); 91 | } 92 | }); 93 | }, 94 | child: Padding( 95 | padding: const EdgeInsets.only( 96 | left: 20, right: 20, top: 12, bottom: 12), 97 | child: Text( 98 | 'Submit', 99 | style: TextStyle(color: Colors.white, fontSize: 20), 100 | ), 101 | ), 102 | ), 103 | ) 104 | ], 105 | ), 106 | ), 107 | ), 108 | ), 109 | ], 110 | ), 111 | ), 112 | ); 113 | } 114 | } 115 | -------------------------------------------------------------------------------- /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.1.0" 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_test: 45 | dependency: "direct dev" 46 | description: flutter 47 | source: sdk 48 | version: "0.0.0" 49 | http: 50 | dependency: "direct main" 51 | description: 52 | name: http 53 | url: "https://pub.dartlang.org" 54 | source: hosted 55 | version: "0.12.0+2" 56 | http_parser: 57 | dependency: transitive 58 | description: 59 | name: http_parser 60 | url: "https://pub.dartlang.org" 61 | source: hosted 62 | version: "3.1.3" 63 | intl: 64 | dependency: "direct main" 65 | description: 66 | name: intl 67 | url: "https://pub.dartlang.org" 68 | source: hosted 69 | version: "0.15.8" 70 | matcher: 71 | dependency: transitive 72 | description: 73 | name: matcher 74 | url: "https://pub.dartlang.org" 75 | source: hosted 76 | version: "0.12.5" 77 | meta: 78 | dependency: transitive 79 | description: 80 | name: meta 81 | url: "https://pub.dartlang.org" 82 | source: hosted 83 | version: "1.1.6" 84 | path: 85 | dependency: transitive 86 | description: 87 | name: path 88 | url: "https://pub.dartlang.org" 89 | source: hosted 90 | version: "1.6.2" 91 | pedantic: 92 | dependency: transitive 93 | description: 94 | name: pedantic 95 | url: "https://pub.dartlang.org" 96 | source: hosted 97 | version: "1.5.0" 98 | quiver: 99 | dependency: transitive 100 | description: 101 | name: quiver 102 | url: "https://pub.dartlang.org" 103 | source: hosted 104 | version: "2.0.2" 105 | sky_engine: 106 | dependency: transitive 107 | description: flutter 108 | source: sdk 109 | version: "0.0.99" 110 | source_span: 111 | dependency: transitive 112 | description: 113 | name: source_span 114 | url: "https://pub.dartlang.org" 115 | source: hosted 116 | version: "1.5.5" 117 | stack_trace: 118 | dependency: transitive 119 | description: 120 | name: stack_trace 121 | url: "https://pub.dartlang.org" 122 | source: hosted 123 | version: "1.9.3" 124 | stream_channel: 125 | dependency: transitive 126 | description: 127 | name: stream_channel 128 | url: "https://pub.dartlang.org" 129 | source: hosted 130 | version: "2.0.0" 131 | string_scanner: 132 | dependency: transitive 133 | description: 134 | name: string_scanner 135 | url: "https://pub.dartlang.org" 136 | source: hosted 137 | version: "1.0.4" 138 | term_glyph: 139 | dependency: transitive 140 | description: 141 | name: term_glyph 142 | url: "https://pub.dartlang.org" 143 | source: hosted 144 | version: "1.1.0" 145 | test_api: 146 | dependency: transitive 147 | description: 148 | name: test_api 149 | url: "https://pub.dartlang.org" 150 | source: hosted 151 | version: "0.2.4" 152 | typed_data: 153 | dependency: transitive 154 | description: 155 | name: typed_data 156 | url: "https://pub.dartlang.org" 157 | source: hosted 158 | version: "1.1.6" 159 | url_launcher: 160 | dependency: "direct main" 161 | description: 162 | name: url_launcher 163 | url: "https://pub.dartlang.org" 164 | source: hosted 165 | version: "5.0.2" 166 | vector_math: 167 | dependency: transitive 168 | description: 169 | name: vector_math 170 | url: "https://pub.dartlang.org" 171 | source: hosted 172 | version: "2.0.8" 173 | sdks: 174 | dart: ">=2.2.0 <3.0.0" 175 | flutter: ">=0.5.6 <2.0.0" 176 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: github_flutter_ui 2 | description: A new Flutter application. 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 | # The following adds the Cupertino Icons font to your application. 24 | # Use with the CupertinoIcons class for iOS style icons. 25 | cupertino_icons: ^0.1.2 26 | url_launcher: 27 | http: 28 | intl: ^0.15.8 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 | - assets/GitHub-Mark-64px.png 49 | - assets/GitHub-Mark-120px-plus.png 50 | - assets/404error.png 51 | - assets/giterror.png 52 | - assets/Octocat.png 53 | - assets/logo.png 54 | - assets/powered_by.png 55 | 56 | # An image asset can refer to one or more resolution-specific "variants", see 57 | # https://flutter.dev/assets-and-images/#resolution-aware. 58 | 59 | # For details regarding adding assets from package dependencies, see 60 | # https://flutter.dev/assets-and-images/#from-packages 61 | 62 | # To add custom fonts to your application, add a fonts section here, 63 | # in this "flutter" section. Each entry in this list should have a 64 | # "family" key with the font family name, and a "fonts" key with a 65 | # list giving the asset and other descriptors for the font. For 66 | # example: 67 | # fonts: 68 | # - family: Schyler 69 | # fonts: 70 | # - asset: fonts/Schyler-Regular.ttf 71 | # - asset: fonts/Schyler-Italic.ttf 72 | # style: italic 73 | # - family: Trajan Pro 74 | # fonts: 75 | # - asset: fonts/TrajanPro.ttf 76 | # - asset: fonts/TrajanPro_Bold.ttf 77 | # weight: 700 78 | # 79 | # For details regarding fonts from package dependencies, 80 | # see https://flutter.dev/custom-fonts/#from-packages 81 | -------------------------------------------------------------------------------- /screens/android1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/screens/android1.png -------------------------------------------------------------------------------- /screens/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/screens/demo.gif -------------------------------------------------------------------------------- /screens/iphone1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutter-devs/flutter_github_profiler/62e66142ca8c6b84ee8bb77918835f3be17ea048/screens/iphone1.png -------------------------------------------------------------------------------- /test/widget_test.dart: -------------------------------------------------------------------------------- 1 | // This is a basic Flutter widget test. 2 | // 3 | // To perform an interaction with a widget in your test, use the WidgetTester 4 | // utility that Flutter provides. For example, you can send tap and scroll 5 | // gestures. You can also use WidgetTester to find child widgets in the widget 6 | // tree, read text, and verify that the values of widget properties are correct. 7 | 8 | import 'package:flutter/material.dart'; 9 | import 'package:flutter_test/flutter_test.dart'; 10 | 11 | import 'package:github_flutter_ui/main.dart'; 12 | 13 | void main() { 14 | testWidgets('Counter increments smoke test', (WidgetTester tester) async { 15 | // Build our app and trigger a frame. 16 | await tester.pumpWidget(MyApp()); 17 | 18 | // Verify that our counter starts at 0. 19 | expect(find.text('0'), findsOneWidget); 20 | expect(find.text('1'), findsNothing); 21 | 22 | // Tap the '+' icon and trigger a frame. 23 | await tester.tap(find.byIcon(Icons.add)); 24 | await tester.pump(); 25 | 26 | // Verify that our counter has incremented. 27 | expect(find.text('0'), findsNothing); 28 | expect(find.text('1'), findsOneWidget); 29 | }); 30 | } 31 | --------------------------------------------------------------------------------