├── .gitignore
├── .metadata
├── README.md
├── android
├── app
│ ├── build.gradle
│ ├── google-services.json
│ └── src
│ │ ├── debug
│ │ └── AndroidManifest.xml
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── utawi_iku
│ │ │ │ └── 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
└── images
│ ├── apik.jpg
│ ├── background.jpg
│ ├── daftar.jpg
│ ├── dana.png
│ ├── dummy1.jpg
│ ├── dummy2.jpg
│ ├── dummy3.jpg
│ ├── enterprise.jpg
│ ├── kitab.jpg
│ ├── muhibbin.jpg
│ ├── utawi.jpg
│ ├── welcome_1.jpg
│ ├── welcome_2.jpg
│ └── welcome_3.jpg
├── fonts
├── Montserrat-Black.ttf
├── Montserrat-Medium.ttf
├── Montserrat-Regular.ttf
├── OpenSans-Bold.ttf
├── OpenSans-Regular.ttf
└── Roboto-Regular.ttf
├── ios
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ └── contents.xcworkspacedata
└── Runner
│ ├── AppDelegate.h
│ ├── AppDelegate.m
│ ├── Assets.xcassets
│ ├── AppIcon.appiconset
│ │ ├── Contents.json
│ │ ├── Icon-App-1024x1024@1x.png
│ │ ├── Icon-App-20x20@1x.png
│ │ ├── Icon-App-20x20@2x.png
│ │ ├── Icon-App-20x20@3x.png
│ │ ├── Icon-App-29x29@1x.png
│ │ ├── Icon-App-29x29@2x.png
│ │ ├── Icon-App-29x29@3x.png
│ │ ├── Icon-App-40x40@1x.png
│ │ ├── Icon-App-40x40@2x.png
│ │ ├── Icon-App-40x40@3x.png
│ │ ├── Icon-App-60x60@2x.png
│ │ ├── Icon-App-60x60@3x.png
│ │ ├── Icon-App-76x76@1x.png
│ │ ├── Icon-App-76x76@2x.png
│ │ └── Icon-App-83.5x83.5@2x.png
│ └── LaunchImage.imageset
│ │ ├── Contents.json
│ │ ├── LaunchImage.png
│ │ ├── LaunchImage@2x.png
│ │ ├── LaunchImage@3x.png
│ │ └── README.md
│ ├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
│ ├── Info.plist
│ └── main.m
├── lib
├── main.dart
└── view
│ ├── dashboard.dart
│ ├── kitab.dart
│ ├── layout.dart
│ ├── login.dart
│ ├── ngaji.dart
│ ├── search.dart
│ ├── signup.dart
│ ├── upgrade.dart
│ └── welcome.dart
├── pubspec.lock
├── pubspec.yaml
└── test
└── widget_test.dart
/.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 | ## Utawi Iku
2 |
3 | Aplikasi Penggiat Kitab Kuning, yang mana saya harapkan dari sini lahh
4 | Tumbuh Komunitas penggiat kajian kitab kuning
5 |
6 | ## Ingin Kontribusi ?
7 |
8 | Kebetulan saya menghadapi kesulitan dalam membuat pdf view di aplikasi ini, karena yang selama saya ini lihat user harus mendownload dulu file nya baru bisa melihat file pdf nya.
9 | Rencana saya akan di ganti webview saja, tetapi saya juga kesulitan dalam membuat web untuk menampung pdf nya dengan cantik sekaligus menjadi web dari aplikasi ini Barangkali ada teman - teman yang mau kontribusi, saya sangat ber suka cita akan hal itu
10 |
11 | ## Progres
12 | Alhamdulillah Tinggal Intergrasi saja dengan backend nya yaitu Cloud Firestore dan sedikit memoles UI nya
13 |
14 | ## Thanks To
15 | Mas Doddy Rizal (https://web.facebook.com/hisashi.da)
16 |
--------------------------------------------------------------------------------
/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.utawi_iku"
37 | minSdkVersion 16
38 | targetSdkVersion 28
39 | multiDexEnabled true
40 | versionCode flutterVersionCode.toInteger()
41 | versionName flutterVersionName
42 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
43 | }
44 |
45 | buildTypes {
46 | release {
47 | // TODO: Add your own signing config for the release build.
48 | // Signing with the debug keys for now, so `flutter run --release` works.
49 | signingConfig signingConfigs.debug
50 | }
51 | }
52 | }
53 |
54 | flutter {
55 | source '../..'
56 | }
57 |
58 | dependencies {
59 | testImplementation 'junit:junit:4.12'
60 | androidTestImplementation 'androidx.test:runner:1.1.1'
61 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
62 | implementation 'com.google.firebase:firebase-core:16.0.9'
63 | implementation 'com.android.support:multidex:1.0.3'
64 | }
65 | apply plugin: 'com.google.gms.google-services'
66 |
--------------------------------------------------------------------------------
/android/app/google-services.json:
--------------------------------------------------------------------------------
1 | {
2 | "project_info": {
3 | "project_number": "433912045908",
4 | "firebase_url": "https://utawi-iku.firebaseio.com",
5 | "project_id": "utawi-iku",
6 | "storage_bucket": "utawi-iku.appspot.com"
7 | },
8 | "client": [
9 | {
10 | "client_info": {
11 | "mobilesdk_app_id": "1:433912045908:android:1d366634784a8ba1",
12 | "android_client_info": {
13 | "package_name": "com.example.utawi_iku"
14 | }
15 | },
16 | "oauth_client": [
17 | {
18 | "client_id": "433912045908-qtaaq82e5o1fjahth1h21nsihpcabbq3.apps.googleusercontent.com",
19 | "client_type": 3
20 | }
21 | ],
22 | "api_key": [
23 | {
24 | "current_key": "AIzaSyBjSoVAqXMkeClk8OlTpylpqGITZSnIHas"
25 | }
26 | ],
27 | "services": {
28 | "appinvite_service": {
29 | "other_platform_oauth_client": [
30 | {
31 | "client_id": "433912045908-qtaaq82e5o1fjahth1h21nsihpcabbq3.apps.googleusercontent.com",
32 | "client_type": 3
33 | }
34 | ]
35 | }
36 | }
37 | }
38 | ],
39 | "configuration_version": "1"
40 | }
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
9 |
13 |
20 |
24 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/example/utawi_iku/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.example.utawi_iku;
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/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/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 | dependencies {
9 | classpath 'com.android.tools.build:gradle:3.3.0'
10 | classpath 'com.google.gms:google-services:4.2.0'
11 | }
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | google()
18 | jcenter()
19 | }
20 | }
21 |
22 | rootProject.buildDir = '../build'
23 | subprojects {
24 | project.buildDir = "${rootProject.buildDir}/${project.name}"
25 | }
26 | subprojects {
27 | project.evaluationDependsOn(':app')
28 | }
29 |
30 | task clean(type: Delete) {
31 | delete rootProject.buildDir
32 | }
33 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.enableJetifier=true
3 | android.useAndroidX=true
4 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Jun 23 08:50:38 CEST 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-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/images/apik.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/assets/images/apik.jpg
--------------------------------------------------------------------------------
/assets/images/background.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/assets/images/background.jpg
--------------------------------------------------------------------------------
/assets/images/daftar.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/assets/images/daftar.jpg
--------------------------------------------------------------------------------
/assets/images/dana.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/assets/images/dana.png
--------------------------------------------------------------------------------
/assets/images/dummy1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/assets/images/dummy1.jpg
--------------------------------------------------------------------------------
/assets/images/dummy2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/assets/images/dummy2.jpg
--------------------------------------------------------------------------------
/assets/images/dummy3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/assets/images/dummy3.jpg
--------------------------------------------------------------------------------
/assets/images/enterprise.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/assets/images/enterprise.jpg
--------------------------------------------------------------------------------
/assets/images/kitab.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/assets/images/kitab.jpg
--------------------------------------------------------------------------------
/assets/images/muhibbin.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/assets/images/muhibbin.jpg
--------------------------------------------------------------------------------
/assets/images/utawi.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/assets/images/utawi.jpg
--------------------------------------------------------------------------------
/assets/images/welcome_1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/assets/images/welcome_1.jpg
--------------------------------------------------------------------------------
/assets/images/welcome_2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/assets/images/welcome_2.jpg
--------------------------------------------------------------------------------
/assets/images/welcome_3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/assets/images/welcome_3.jpg
--------------------------------------------------------------------------------
/fonts/Montserrat-Black.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/fonts/Montserrat-Black.ttf
--------------------------------------------------------------------------------
/fonts/Montserrat-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/fonts/Montserrat-Medium.ttf
--------------------------------------------------------------------------------
/fonts/Montserrat-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/fonts/Montserrat-Regular.ttf
--------------------------------------------------------------------------------
/fonts/OpenSans-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/fonts/OpenSans-Bold.ttf
--------------------------------------------------------------------------------
/fonts/OpenSans-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/fonts/OpenSans-Regular.ttf
--------------------------------------------------------------------------------
/fonts/Roboto-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/fonts/Roboto-Regular.ttf
--------------------------------------------------------------------------------
/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 8.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
12 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; };
13 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
14 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; };
15 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
16 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; };
17 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; };
18 | 97C146F31CF9000F007C117D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 97C146F21CF9000F007C117D /* main.m */; };
19 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
20 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
21 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
22 | /* End PBXBuildFile section */
23 |
24 | /* Begin PBXCopyFilesBuildPhase section */
25 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
26 | isa = PBXCopyFilesBuildPhase;
27 | buildActionMask = 2147483647;
28 | dstPath = "";
29 | dstSubfolderSpec = 10;
30 | files = (
31 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */,
32 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */,
33 | );
34 | name = "Embed Frameworks";
35 | runOnlyForDeploymentPostprocessing = 0;
36 | };
37 | /* End PBXCopyFilesBuildPhase section */
38 |
39 | /* Begin PBXFileReference section */
40 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
41 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
42 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
43 | 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; };
44 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
45 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
46 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
47 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
48 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
49 | 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; };
50 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
51 | 97C146F21CF9000F007C117D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
52 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
53 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
54 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
55 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
56 | /* End PBXFileReference section */
57 |
58 | /* Begin PBXFrameworksBuildPhase section */
59 | 97C146EB1CF9000F007C117D /* Frameworks */ = {
60 | isa = PBXFrameworksBuildPhase;
61 | buildActionMask = 2147483647;
62 | files = (
63 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */,
64 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */,
65 | );
66 | runOnlyForDeploymentPostprocessing = 0;
67 | };
68 | /* End PBXFrameworksBuildPhase section */
69 |
70 | /* Begin PBXGroup section */
71 | 9740EEB11CF90186004384FC /* Flutter */ = {
72 | isa = PBXGroup;
73 | children = (
74 | 3B80C3931E831B6300D905FE /* App.framework */,
75 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
76 | 9740EEBA1CF902C7004384FC /* Flutter.framework */,
77 | 9740EEB21CF90195004384FC /* Debug.xcconfig */,
78 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
79 | 9740EEB31CF90195004384FC /* Generated.xcconfig */,
80 | );
81 | name = Flutter;
82 | sourceTree = "";
83 | };
84 | 97C146E51CF9000F007C117D = {
85 | isa = PBXGroup;
86 | children = (
87 | 9740EEB11CF90186004384FC /* Flutter */,
88 | 97C146F01CF9000F007C117D /* Runner */,
89 | 97C146EF1CF9000F007C117D /* Products */,
90 | CF3B75C9A7D2FA2A4C99F110 /* Frameworks */,
91 | );
92 | sourceTree = "";
93 | };
94 | 97C146EF1CF9000F007C117D /* Products */ = {
95 | isa = PBXGroup;
96 | children = (
97 | 97C146EE1CF9000F007C117D /* Runner.app */,
98 | );
99 | name = Products;
100 | sourceTree = "";
101 | };
102 | 97C146F01CF9000F007C117D /* Runner */ = {
103 | isa = PBXGroup;
104 | children = (
105 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */,
106 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */,
107 | 97C146FA1CF9000F007C117D /* Main.storyboard */,
108 | 97C146FD1CF9000F007C117D /* Assets.xcassets */,
109 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
110 | 97C147021CF9000F007C117D /* Info.plist */,
111 | 97C146F11CF9000F007C117D /* Supporting Files */,
112 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
113 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
114 | );
115 | path = Runner;
116 | sourceTree = "";
117 | };
118 | 97C146F11CF9000F007C117D /* Supporting Files */ = {
119 | isa = PBXGroup;
120 | children = (
121 | 97C146F21CF9000F007C117D /* main.m */,
122 | );
123 | name = "Supporting Files";
124 | sourceTree = "";
125 | };
126 | /* End PBXGroup section */
127 |
128 | /* Begin PBXNativeTarget section */
129 | 97C146ED1CF9000F007C117D /* Runner */ = {
130 | isa = PBXNativeTarget;
131 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
132 | buildPhases = (
133 | 9740EEB61CF901F6004384FC /* Run Script */,
134 | 97C146EA1CF9000F007C117D /* Sources */,
135 | 97C146EB1CF9000F007C117D /* Frameworks */,
136 | 97C146EC1CF9000F007C117D /* Resources */,
137 | 9705A1C41CF9048500538489 /* Embed Frameworks */,
138 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
139 | );
140 | buildRules = (
141 | );
142 | dependencies = (
143 | );
144 | name = Runner;
145 | productName = Runner;
146 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
147 | productType = "com.apple.product-type.application";
148 | };
149 | /* End PBXNativeTarget section */
150 |
151 | /* Begin PBXProject section */
152 | 97C146E61CF9000F007C117D /* Project object */ = {
153 | isa = PBXProject;
154 | attributes = {
155 | LastUpgradeCheck = 0910;
156 | ORGANIZATIONNAME = "The Chromium Authors";
157 | TargetAttributes = {
158 | 97C146ED1CF9000F007C117D = {
159 | CreatedOnToolsVersion = 7.3.1;
160 | };
161 | };
162 | };
163 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
164 | compatibilityVersion = "Xcode 3.2";
165 | developmentRegion = English;
166 | hasScannedForEncodings = 0;
167 | knownRegions = (
168 | en,
169 | Base,
170 | );
171 | mainGroup = 97C146E51CF9000F007C117D;
172 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
173 | projectDirPath = "";
174 | projectRoot = "";
175 | targets = (
176 | 97C146ED1CF9000F007C117D /* Runner */,
177 | );
178 | };
179 | /* End PBXProject section */
180 |
181 | /* Begin PBXResourcesBuildPhase section */
182 | 97C146EC1CF9000F007C117D /* Resources */ = {
183 | isa = PBXResourcesBuildPhase;
184 | buildActionMask = 2147483647;
185 | files = (
186 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
187 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
188 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */,
189 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
190 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
191 | );
192 | runOnlyForDeploymentPostprocessing = 0;
193 | };
194 | /* End PBXResourcesBuildPhase section */
195 |
196 | /* Begin PBXShellScriptBuildPhase section */
197 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
198 | isa = PBXShellScriptBuildPhase;
199 | buildActionMask = 2147483647;
200 | files = (
201 | );
202 | inputPaths = (
203 | );
204 | name = "Thin Binary";
205 | outputPaths = (
206 | );
207 | runOnlyForDeploymentPostprocessing = 0;
208 | shellPath = /bin/sh;
209 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin";
210 | };
211 | 9740EEB61CF901F6004384FC /* Run Script */ = {
212 | isa = PBXShellScriptBuildPhase;
213 | buildActionMask = 2147483647;
214 | files = (
215 | );
216 | inputPaths = (
217 | );
218 | name = "Run Script";
219 | outputPaths = (
220 | );
221 | runOnlyForDeploymentPostprocessing = 0;
222 | shellPath = /bin/sh;
223 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
224 | };
225 | /* End PBXShellScriptBuildPhase section */
226 |
227 | /* Begin PBXSourcesBuildPhase section */
228 | 97C146EA1CF9000F007C117D /* Sources */ = {
229 | isa = PBXSourcesBuildPhase;
230 | buildActionMask = 2147483647;
231 | files = (
232 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */,
233 | 97C146F31CF9000F007C117D /* main.m in Sources */,
234 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
235 | );
236 | runOnlyForDeploymentPostprocessing = 0;
237 | };
238 | /* End PBXSourcesBuildPhase section */
239 |
240 | /* Begin PBXVariantGroup section */
241 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
242 | isa = PBXVariantGroup;
243 | children = (
244 | 97C146FB1CF9000F007C117D /* Base */,
245 | );
246 | name = Main.storyboard;
247 | sourceTree = "";
248 | };
249 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
250 | isa = PBXVariantGroup;
251 | children = (
252 | 97C147001CF9000F007C117D /* Base */,
253 | );
254 | name = LaunchScreen.storyboard;
255 | sourceTree = "";
256 | };
257 | /* End PBXVariantGroup section */
258 |
259 | /* Begin XCBuildConfiguration section */
260 | 249021D3217E4FDB00AE95B9 /* Profile */ = {
261 | isa = XCBuildConfiguration;
262 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
263 | buildSettings = {
264 | ALWAYS_SEARCH_USER_PATHS = NO;
265 | CLANG_ANALYZER_NONNULL = YES;
266 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
267 | CLANG_CXX_LIBRARY = "libc++";
268 | CLANG_ENABLE_MODULES = YES;
269 | CLANG_ENABLE_OBJC_ARC = YES;
270 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
271 | CLANG_WARN_BOOL_CONVERSION = YES;
272 | CLANG_WARN_COMMA = YES;
273 | CLANG_WARN_CONSTANT_CONVERSION = YES;
274 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
275 | CLANG_WARN_EMPTY_BODY = YES;
276 | CLANG_WARN_ENUM_CONVERSION = YES;
277 | CLANG_WARN_INFINITE_RECURSION = YES;
278 | CLANG_WARN_INT_CONVERSION = YES;
279 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
280 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
281 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
282 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
283 | CLANG_WARN_STRICT_PROTOTYPES = YES;
284 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
285 | CLANG_WARN_UNREACHABLE_CODE = YES;
286 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
287 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
288 | COPY_PHASE_STRIP = NO;
289 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
290 | ENABLE_NS_ASSERTIONS = NO;
291 | ENABLE_STRICT_OBJC_MSGSEND = YES;
292 | GCC_C_LANGUAGE_STANDARD = gnu99;
293 | GCC_NO_COMMON_BLOCKS = YES;
294 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
295 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
296 | GCC_WARN_UNDECLARED_SELECTOR = YES;
297 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
298 | GCC_WARN_UNUSED_FUNCTION = YES;
299 | GCC_WARN_UNUSED_VARIABLE = YES;
300 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
301 | MTL_ENABLE_DEBUG_INFO = NO;
302 | SDKROOT = iphoneos;
303 | TARGETED_DEVICE_FAMILY = "1,2";
304 | VALIDATE_PRODUCT = YES;
305 | };
306 | name = Profile;
307 | };
308 | 249021D4217E4FDB00AE95B9 /* Profile */ = {
309 | isa = XCBuildConfiguration;
310 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
311 | buildSettings = {
312 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
313 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
314 | DEVELOPMENT_TEAM = S8QB4VV633;
315 | ENABLE_BITCODE = NO;
316 | FRAMEWORK_SEARCH_PATHS = (
317 | "$(inherited)",
318 | "$(PROJECT_DIR)/Flutter",
319 | );
320 | INFOPLIST_FILE = Runner/Info.plist;
321 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
322 | LIBRARY_SEARCH_PATHS = (
323 | "$(inherited)",
324 | "$(PROJECT_DIR)/Flutter",
325 | );
326 | PRODUCT_BUNDLE_IDENTIFIER = com.example.utawiIku;
327 | PRODUCT_NAME = "$(TARGET_NAME)";
328 | VERSIONING_SYSTEM = "apple-generic";
329 | };
330 | name = Profile;
331 | };
332 | 97C147031CF9000F007C117D /* Debug */ = {
333 | isa = XCBuildConfiguration;
334 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
335 | buildSettings = {
336 | ALWAYS_SEARCH_USER_PATHS = NO;
337 | CLANG_ANALYZER_NONNULL = YES;
338 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
339 | CLANG_CXX_LIBRARY = "libc++";
340 | CLANG_ENABLE_MODULES = YES;
341 | CLANG_ENABLE_OBJC_ARC = YES;
342 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
343 | CLANG_WARN_BOOL_CONVERSION = YES;
344 | CLANG_WARN_COMMA = YES;
345 | CLANG_WARN_CONSTANT_CONVERSION = YES;
346 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
347 | CLANG_WARN_EMPTY_BODY = YES;
348 | CLANG_WARN_ENUM_CONVERSION = YES;
349 | CLANG_WARN_INFINITE_RECURSION = YES;
350 | CLANG_WARN_INT_CONVERSION = YES;
351 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
352 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
353 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
354 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
355 | CLANG_WARN_STRICT_PROTOTYPES = YES;
356 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
357 | CLANG_WARN_UNREACHABLE_CODE = YES;
358 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
359 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
360 | COPY_PHASE_STRIP = NO;
361 | DEBUG_INFORMATION_FORMAT = dwarf;
362 | ENABLE_STRICT_OBJC_MSGSEND = YES;
363 | ENABLE_TESTABILITY = YES;
364 | GCC_C_LANGUAGE_STANDARD = gnu99;
365 | GCC_DYNAMIC_NO_PIC = NO;
366 | GCC_NO_COMMON_BLOCKS = YES;
367 | GCC_OPTIMIZATION_LEVEL = 0;
368 | GCC_PREPROCESSOR_DEFINITIONS = (
369 | "DEBUG=1",
370 | "$(inherited)",
371 | );
372 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
373 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
374 | GCC_WARN_UNDECLARED_SELECTOR = YES;
375 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
376 | GCC_WARN_UNUSED_FUNCTION = YES;
377 | GCC_WARN_UNUSED_VARIABLE = YES;
378 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
379 | MTL_ENABLE_DEBUG_INFO = YES;
380 | ONLY_ACTIVE_ARCH = YES;
381 | SDKROOT = iphoneos;
382 | TARGETED_DEVICE_FAMILY = "1,2";
383 | };
384 | name = Debug;
385 | };
386 | 97C147041CF9000F007C117D /* Release */ = {
387 | isa = XCBuildConfiguration;
388 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
389 | buildSettings = {
390 | ALWAYS_SEARCH_USER_PATHS = NO;
391 | CLANG_ANALYZER_NONNULL = YES;
392 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
393 | CLANG_CXX_LIBRARY = "libc++";
394 | CLANG_ENABLE_MODULES = YES;
395 | CLANG_ENABLE_OBJC_ARC = YES;
396 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
397 | CLANG_WARN_BOOL_CONVERSION = YES;
398 | CLANG_WARN_COMMA = YES;
399 | CLANG_WARN_CONSTANT_CONVERSION = YES;
400 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
401 | CLANG_WARN_EMPTY_BODY = YES;
402 | CLANG_WARN_ENUM_CONVERSION = YES;
403 | CLANG_WARN_INFINITE_RECURSION = YES;
404 | CLANG_WARN_INT_CONVERSION = YES;
405 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
406 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
407 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
408 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
409 | CLANG_WARN_STRICT_PROTOTYPES = YES;
410 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
411 | CLANG_WARN_UNREACHABLE_CODE = YES;
412 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
413 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
414 | COPY_PHASE_STRIP = NO;
415 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
416 | ENABLE_NS_ASSERTIONS = NO;
417 | ENABLE_STRICT_OBJC_MSGSEND = YES;
418 | GCC_C_LANGUAGE_STANDARD = gnu99;
419 | GCC_NO_COMMON_BLOCKS = YES;
420 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
421 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
422 | GCC_WARN_UNDECLARED_SELECTOR = YES;
423 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
424 | GCC_WARN_UNUSED_FUNCTION = YES;
425 | GCC_WARN_UNUSED_VARIABLE = YES;
426 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
427 | MTL_ENABLE_DEBUG_INFO = NO;
428 | SDKROOT = iphoneos;
429 | TARGETED_DEVICE_FAMILY = "1,2";
430 | VALIDATE_PRODUCT = YES;
431 | };
432 | name = Release;
433 | };
434 | 97C147061CF9000F007C117D /* Debug */ = {
435 | isa = XCBuildConfiguration;
436 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
437 | buildSettings = {
438 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
439 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
440 | ENABLE_BITCODE = NO;
441 | FRAMEWORK_SEARCH_PATHS = (
442 | "$(inherited)",
443 | "$(PROJECT_DIR)/Flutter",
444 | );
445 | INFOPLIST_FILE = Runner/Info.plist;
446 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
447 | LIBRARY_SEARCH_PATHS = (
448 | "$(inherited)",
449 | "$(PROJECT_DIR)/Flutter",
450 | );
451 | PRODUCT_BUNDLE_IDENTIFIER = com.example.utawiIku;
452 | PRODUCT_NAME = "$(TARGET_NAME)";
453 | VERSIONING_SYSTEM = "apple-generic";
454 | };
455 | name = Debug;
456 | };
457 | 97C147071CF9000F007C117D /* Release */ = {
458 | isa = XCBuildConfiguration;
459 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
460 | buildSettings = {
461 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
462 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
463 | ENABLE_BITCODE = NO;
464 | FRAMEWORK_SEARCH_PATHS = (
465 | "$(inherited)",
466 | "$(PROJECT_DIR)/Flutter",
467 | );
468 | INFOPLIST_FILE = Runner/Info.plist;
469 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
470 | LIBRARY_SEARCH_PATHS = (
471 | "$(inherited)",
472 | "$(PROJECT_DIR)/Flutter",
473 | );
474 | PRODUCT_BUNDLE_IDENTIFIER = com.example.utawiIku;
475 | PRODUCT_NAME = "$(TARGET_NAME)";
476 | VERSIONING_SYSTEM = "apple-generic";
477 | };
478 | name = Release;
479 | };
480 | /* End XCBuildConfiguration section */
481 |
482 | /* Begin XCConfigurationList section */
483 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
484 | isa = XCConfigurationList;
485 | buildConfigurations = (
486 | 97C147031CF9000F007C117D /* Debug */,
487 | 97C147041CF9000F007C117D /* Release */,
488 | 249021D3217E4FDB00AE95B9 /* Profile */,
489 | );
490 | defaultConfigurationIsVisible = 0;
491 | defaultConfigurationName = Release;
492 | };
493 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
494 | isa = XCConfigurationList;
495 | buildConfigurations = (
496 | 97C147061CF9000F007C117D /* Debug */,
497 | 97C147071CF9000F007C117D /* Release */,
498 | 249021D4217E4FDB00AE95B9 /* Profile */,
499 | );
500 | defaultConfigurationIsVisible = 0;
501 | defaultConfigurationName = Release;
502 | };
503 | /* End XCConfigurationList section */
504 | };
505 | rootObject = 97C146E61CF9000F007C117D /* Project object */;
506 | }
507 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
31 |
32 |
33 |
34 |
40 |
41 |
42 |
43 |
44 |
45 |
56 |
58 |
64 |
65 |
66 |
67 |
68 |
69 |
75 |
77 |
83 |
84 |
85 |
86 |
88 |
89 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner/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/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/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/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/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/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/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/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/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/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/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/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/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/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/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/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/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/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/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/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/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/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/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/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/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/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/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/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/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/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/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/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/4RSIM3R/Flutter-Utawi-Iku/974b8343d947260d5fac45ef5d48020a4c38586e/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 | utawi_iku
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | $(FLUTTER_BUILD_NAME)
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | $(FLUTTER_BUILD_NUMBER)
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UISupportedInterfaceOrientations
30 |
31 | UIInterfaceOrientationPortrait
32 | UIInterfaceOrientationLandscapeLeft
33 | UIInterfaceOrientationLandscapeRight
34 |
35 | UISupportedInterfaceOrientations~ipad
36 |
37 | UIInterfaceOrientationPortrait
38 | UIInterfaceOrientationPortraitUpsideDown
39 | UIInterfaceOrientationLandscapeLeft
40 | UIInterfaceOrientationLandscapeRight
41 |
42 | UIViewControllerBasedStatusBarAppearance
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/ios/Runner/main.m:
--------------------------------------------------------------------------------
1 | #import
2 | #import
3 | #import "AppDelegate.h"
4 |
5 | int main(int argc, char* argv[]) {
6 | @autoreleasepool {
7 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:utawi_iku/view/layout.dart';
3 | import 'package:utawi_iku/view/welcome.dart';
4 | import 'dart:async';
5 |
6 | void main() => runApp(MyApp());
7 |
8 | class MyApp extends StatelessWidget {
9 | // This widget is the root of your application.
10 | @override
11 | Widget build(BuildContext context) {
12 | return MaterialApp(
13 | title: 'Flutter Demo',
14 | theme: ThemeData(
15 | primarySwatch: Colors.blue,
16 | ),
17 | home: MyHomePage(title: 'Flutter Demo Home Page'),
18 | );
19 | }
20 | }
21 |
22 | class MyHomePage extends StatefulWidget {
23 | MyHomePage({Key key, this.title}) : super(key: key);
24 |
25 | final String title;
26 |
27 | @override
28 | _MyHomePageState createState() => _MyHomePageState();
29 | }
30 |
31 | class _MyHomePageState extends State {
32 |
33 | @override
34 | void initState() {
35 | super.initState();
36 | Timer(Duration(seconds: 3), () => {
37 | Navigator.push(context, MaterialPageRoute(
38 | builder: (context) => Welcome()
39 | ))
40 | });
41 |
42 | }
43 |
44 | @override
45 | Widget build(BuildContext context) {
46 | return Scaffold(
47 | backgroundColor: Colors.white,
48 | body: Center(
49 | child: Image.asset("assets/images/utawi.jpg", width: Config.sizeWidht, height: Config.sizeHeight,),
50 | ),
51 | );
52 | }
53 | }
54 |
55 |
56 |
57 |
--------------------------------------------------------------------------------
/lib/view/dashboard.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter/painting.dart';
3 | import 'package:flutter/widgets.dart';
4 | import 'package:flutter/scheduler.dart';
5 | import 'package:utawi_iku/view/search.dart';
6 | import 'kitab.dart';
7 |
8 | void main() => runApp(Dashboard());
9 |
10 |
11 | class Dashboard extends StatefulWidget {
12 |
13 | Dashboard({Key key}) : super(key: key);
14 |
15 | _DashboardState createState() => _DashboardState();
16 |
17 | }
18 |
19 |
20 | class _DashboardState extends State {
21 |
22 | TextEditingController _controller = new TextEditingController();
23 | @override
24 | void initState() {
25 | // TODO: implement initState
26 | super.initState();
27 | timeDilation = 2.0;
28 | }
29 | @override
30 | void dispose() {
31 | super.dispose();
32 | }
33 |
34 | @override
35 | Widget build(BuildContext context) {
36 | return SafeArea(
37 | child: Scaffold(
38 | backgroundColor: Colors.white,
39 | body: ListView(
40 | shrinkWrap: true,
41 | children: [
42 | Stack(
43 | children: [
44 | Container(
45 | width: double.infinity,
46 | height: 350.0,
47 | decoration: BoxDecoration(
48 | color: Colors.blueAccent[400],
49 | ),
50 | ),
51 | Padding(
52 | padding: EdgeInsets.symmetric(
53 | vertical: 18.0,
54 | horizontal: 24.0
55 | ),
56 | child: Column(
57 | mainAxisAlignment: MainAxisAlignment.start,
58 | crossAxisAlignment: CrossAxisAlignment.start,
59 | children: [
60 | Container(
61 | width: double.infinity,
62 | height: 50.0,
63 | decoration: BoxDecoration(
64 | color: Colors.white,
65 | borderRadius: BorderRadius.circular(10.0)
66 | ),
67 | child: Center(
68 | child: TextField(
69 | onSubmitted: (value){
70 | Navigator.push(context, MaterialPageRoute(
71 | builder: (context) => Search()
72 | ));
73 | },
74 | controller: _controller,
75 | decoration: InputDecoration(
76 | enabledBorder: OutlineInputBorder(
77 | borderRadius: BorderRadius.circular(10.0),
78 | borderSide: BorderSide(color: Colors.white)
79 | ),
80 | focusedBorder: OutlineInputBorder(
81 | borderRadius: BorderRadius.circular(10.0),
82 | borderSide: BorderSide(color: Colors.white)
83 | ),
84 | border: OutlineInputBorder(
85 | borderRadius: BorderRadius.circular(10.0),
86 | borderSide: BorderSide(color: Colors.white)
87 | ),
88 | disabledBorder: OutlineInputBorder(
89 | borderRadius: BorderRadius.circular(10.0),
90 | borderSide: BorderSide(color: Colors.white)
91 | ),
92 | contentPadding: EdgeInsets.symmetric(
93 | vertical: 12.0,
94 | horizontal: 14.0
95 | ),
96 | suffixIcon: Icon(Icons.search),
97 | hintText: 'Fathul Qorib'
98 | ),
99 | ),
100 | ),
101 | ),
102 | SizedBox(height: 18.0,),
103 | Text("Face The New\nExperience", style: TextStyle(fontFamily: "Regular", fontWeight: FontWeight.w700, fontSize: 32.0, color: Colors.white),),
104 | SizedBox(height: 14.0,),
105 | Text("In the history modern\nastronomThere is probabily\none greater leap", style: TextStyle(fontFamily: "Regular", fontWeight: FontWeight.w500, fontSize: 22.0, color: Colors.white),),
106 | SizedBox(height: 16.0,),
107 | Container(
108 | width: 120.0,
109 | height: 40.0,
110 | decoration: BoxDecoration(
111 | color: Colors.white,
112 | borderRadius: BorderRadius.circular(10.0)
113 | ),
114 | child: Center(
115 | child: Text("Explore", style: TextStyle(fontFamily: "Regular", fontWeight: FontWeight.w600, fontSize: 14.0, color: Colors.blueAccent[400])),
116 | ),
117 | )
118 | ],
119 | ),
120 | )
121 | ],
122 | ),
123 | Padding(
124 | padding: EdgeInsets.only(
125 | left: 24.0,
126 | right: 24.0,
127 | top: 24.0,
128 | bottom: 16.0
129 | ),
130 | child: Row(
131 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
132 | crossAxisAlignment: CrossAxisAlignment.end,
133 | children: [
134 | Text("New releases", style: TextStyle(fontFamily: "Regular", fontWeight: FontWeight.w600, fontSize: 24.0, color: Colors.black87)),
135 | Text("See All", style: TextStyle(fontFamily: "Regular", fontWeight: FontWeight.w500, fontSize: 16.0, color: Colors.black87))
136 | ],
137 | ),
138 | ),
139 | Padding(
140 | padding: const EdgeInsets.only(
141 | left: 24.0,
142 | right: 24.0,
143 | top: 4.0,
144 | bottom: 12.0
145 | ),
146 | child: Container(
147 | height: 210.0,
148 | child: ListView(
149 | scrollDirection: Axis.horizontal,
150 | children: [
151 | Padding(
152 | padding: const EdgeInsets.only(
153 | right: 12.0
154 | ),
155 | child: Container(
156 | height: double.infinity,
157 | width: 130.0,
158 | decoration: BoxDecoration(
159 | color: Colors.grey[400],
160 | borderRadius: BorderRadius.circular(5.0),
161 | image: DecorationImage(
162 | image: AssetImage("assets/images/dummy3.jpg"),
163 | fit: BoxFit.cover
164 | )
165 | ),
166 | ),
167 | ),
168 | Padding(
169 | padding: const EdgeInsets.only(
170 | right: 12.0
171 | ),
172 | child: Container(
173 | height: double.infinity,
174 | width: 130.0,
175 | decoration: BoxDecoration(
176 | color: Colors.grey[400],
177 | borderRadius: BorderRadius.circular(5.0),
178 | image: DecorationImage(
179 | image: AssetImage("assets/images/dummy2.jpg"),
180 | fit: BoxFit.cover
181 | )
182 | ),
183 | ),
184 | ),
185 | Padding(
186 | padding: const EdgeInsets.only(
187 | right: 12.0
188 | ),
189 | child: GestureDetector(
190 | onTap: (){
191 | Navigator.push(context, MaterialPageRoute(
192 | builder: (context) => Kitab()
193 | ));
194 | },
195 | child: Container(
196 | height: double.infinity,
197 | width: 130.0,
198 | decoration: BoxDecoration(
199 | color: Colors.grey[400],
200 | borderRadius: BorderRadius.circular(5.0),
201 | image: DecorationImage(
202 | image: NetworkImage("https://s0.bukalapak.com/img/0673988582/w-1000/Kitab_Kifayatul_Awam_Kitab_Syarah_Kifayatul_Awam_cover_duple.png"),
203 | fit: BoxFit.cover
204 | )
205 | ),
206 | ),
207 | ),
208 | )
209 | ],
210 | ),
211 | ),
212 | )
213 | ],
214 | ),
215 | ),
216 | );
217 | }
218 | }
219 |
220 |
--------------------------------------------------------------------------------
/lib/view/kitab.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:material_design_icons_flutter/material_design_icons_flutter.dart';
3 | import 'package:utawi_iku/view/upgrade.dart';
4 | import 'ngaji.dart';
5 | import 'package:flutter_rating_bar/flutter_rating_bar.dart';
6 |
7 | void main() => runApp(Kitab());
8 |
9 |
10 | class Kitab extends StatefulWidget {
11 | Kitab({Key key}) : super(key: key);
12 |
13 | _KitabState createState() => _KitabState();
14 | }
15 |
16 | class _KitabState extends State {
17 |
18 | var dummy = "Kitab kuning, dalam pendidikan agama islam, merujuk kepada kitab-kitab tradisional yang berisi pelajaran-pelajaran agama islam (diraasah al-islamiyyah) yang diajarkan pada Pondok-pondok Pesantren, mulai dari fiqh, aqidah, akhlaq/tasawuf, tata bahasa arab (`ilmu nahwu dan `ilmu sharf), hadits, tafsir, `ulumul qur'aan, hingga pada ilmu sosial dan kemasyarakatan (mu`amalah). ";
19 | @override
20 | Widget build(BuildContext context) {
21 | return SafeArea(
22 | child: Scaffold(
23 | backgroundColor: Colors.white,
24 | body: SingleChildScrollView(
25 | child: Column(
26 | crossAxisAlignment: CrossAxisAlignment.start,
27 | mainAxisAlignment: MainAxisAlignment.start,
28 | children: [
29 | Stack(
30 | children: [
31 | Container(
32 | width: double.infinity,
33 | height: 250.0,
34 | decoration: BoxDecoration(
35 | color: Colors.blueAccent[200],
36 |
37 | ),
38 | ),
39 | Padding(
40 | padding: const EdgeInsets.only(
41 | top: 32.0,
42 | left: 24.0,
43 | right: 24.0
44 | ),
45 | child: Row(
46 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
47 | crossAxisAlignment: CrossAxisAlignment.start,
48 | children: [
49 | Container(
50 | width: 120.0,
51 | height: 180.0,
52 | decoration: BoxDecoration(
53 | color: Colors.white
54 | ),
55 | ),
56 | Padding(
57 | padding: const EdgeInsets.only(
58 | top: 18.0,
59 | bottom: 18.0
60 | ),
61 | child: Column(
62 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
63 | crossAxisAlignment: CrossAxisAlignment.start,
64 | children: [
65 | Text("Kifayatul Awam", style: TextStyle(color: Colors.white, fontFamily: "Regular", fontSize: 24.0, fontWeight: FontWeight.w600),),
66 | SizedBox(height: 8.0,),
67 | Text("Imam Ghozali", style: TextStyle(color: Colors.white, fontFamily: "Regular", fontSize: 16.0, fontWeight: FontWeight.w500),),
68 | SizedBox(height: 8.0,),
69 | RatingBarIndicator(
70 | rating: 4.5,
71 | unratedColor: Colors.white,
72 | itemCount: 5,
73 | itemSize: 20.0,
74 | itemBuilder: (context, _) => Icon(
75 | Icons.star,
76 | color: Colors.amber,
77 | ),
78 | ),
79 | SizedBox(height: 8.0,),
80 | GestureDetector(
81 | onTap: (){
82 | Navigator.push(context, MaterialPageRoute(
83 | builder: (context) => Upgrade()
84 | ));
85 | },
86 | child: Container(
87 | width: 120.0,
88 | height: 40.0,
89 | decoration: BoxDecoration(
90 | color: Colors.white,
91 | borderRadius: BorderRadius.circular(5.0)
92 | ),
93 | child: Center(
94 | child: Text("Simak Kitab", style: TextStyle(fontFamily: "Regular", fontSize: 14.0, color: Colors.blueAccent[200], fontWeight: FontWeight.w600),)
95 | ),
96 | ),
97 | )
98 | ]
99 | ),
100 | )
101 | ],
102 | ),
103 | )
104 | ],
105 | ),
106 | SizedBox(height: 24.0,),
107 | Padding(
108 | padding: EdgeInsets.symmetric(
109 | horizontal: 24.0
110 | ),
111 | child: Column(
112 | crossAxisAlignment: CrossAxisAlignment.start,
113 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
114 | children: [
115 | Text("Prolog Kitab", style: TextStyle(fontFamily: "Regular", fontSize: 28.0, fontWeight: FontWeight.w600),),
116 | SizedBox(height: 18.0,),
117 | Text(dummy, style: TextStyle(fontFamily: "Regular", fontSize: 16.0, fontWeight: FontWeight.w500),),
118 | SizedBox(height: 24.0,),
119 | GestureDetector(
120 | onTap: (){
121 | Navigator.push(context, MaterialPageRoute(
122 | builder: (context) => Ngaji()
123 | ));
124 | },
125 | child: Container(
126 | width: double.infinity,
127 | height: 45.0,
128 | decoration: BoxDecoration(
129 | color: Colors.blueAccent[200],
130 | borderRadius: BorderRadius.circular(10.0)
131 | ),
132 | child: Center(
133 | child: Text("Baca Kitab", style: TextStyle(fontFamily: "Regular", fontSize: 16.0, color: Colors.white, fontWeight: FontWeight.w600),),
134 | ),
135 | ),
136 | )
137 | ],
138 | ),
139 | )
140 | ],
141 | ),
142 | ),
143 | ),
144 | );
145 | }
146 | }
147 |
--------------------------------------------------------------------------------
/lib/view/layout.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/widgets.dart';
2 | //Ini Sihh Tadinya Ngikutin Channel Devindo...
3 | //Tapi Akhirnya Lebih nyaman Meresponsive kan nya manual
4 |
5 | class Config {
6 | static MediaQueryData _mediaQueryData;
7 | static double screenWidth;
8 | static double screenHeight;
9 | static double sizeHeight;
10 | static double sizeWidht;
11 |
12 | void init(BuildContext context){
13 | _mediaQueryData = MediaQuery.of(context);
14 | sizeHeight = _mediaQueryData.size.height / 100;
15 | sizeWidht = _mediaQueryData.size.width / 100;
16 | }
17 | }
--------------------------------------------------------------------------------
/lib/view/login.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter/widgets.dart';
3 | import 'package:material_design_icons_flutter/material_design_icons_flutter.dart';
4 | import 'dashboard.dart';
5 | import 'package:flutter/scheduler.dart';
6 |
7 | void main() => runApp(Login());
8 |
9 | class Login extends StatefulWidget {
10 | Login({Key key}) : super(key: key);
11 |
12 | _LoginState createState() => _LoginState();
13 | }
14 |
15 | class _LoginState extends State {
16 | @override
17 | void initState() {
18 | // TODO: implement initState
19 | super.initState();
20 | timeDilation = 2.0;
21 | }
22 | @override
23 | void dispose() {
24 | super.dispose();
25 | }
26 |
27 | var _ucapan = "Selamat datang di Utawi Iku App salah satu platform ngaji, Ayo Nderes!!";
28 | @override
29 | Widget build(BuildContext context) {
30 | return Scaffold(
31 | backgroundColor: Colors.white,
32 | body: SafeArea(
33 | child: SingleChildScrollView(
34 | child: Stack(
35 | children: [
36 | Container(
37 | width: double.infinity,
38 | height: 250.0,
39 | decoration: BoxDecoration(
40 | color: Colors.blueAccent[200],
41 | ),
42 | ),
43 | Padding(
44 | padding: const EdgeInsets.only(
45 | top: 200
46 | ),
47 | child: Column(
48 | mainAxisAlignment: MainAxisAlignment.start,
49 | crossAxisAlignment: CrossAxisAlignment.start,
50 | children: [
51 | Container(
52 | width: double.infinity,
53 | height: 50.0,
54 | decoration: BoxDecoration(
55 | color: Colors.white,
56 | borderRadius: BorderRadius.only(
57 | topLeft: Radius.circular(25.0),
58 | topRight: Radius.circular(25.0)
59 | )
60 | ),
61 | ),
62 | Padding(
63 | padding: const EdgeInsets.symmetric(
64 | horizontal: 24.0
65 | ),
66 | child: Column(
67 | mainAxisAlignment: MainAxisAlignment.start,
68 | crossAxisAlignment: CrossAxisAlignment.start,
69 | children: [
70 | Text("Selamat Datang", style: TextStyle(fontFamily: "Regular", fontSize: 24.0, fontWeight: FontWeight.w500, color: Colors.black87),),
71 | SizedBox(height: 28.0,),
72 | TextField(
73 | decoration: InputDecoration(
74 | hintText: 'Email',
75 | prefixIcon: Icon(MdiIcons.email),
76 | hintStyle: TextStyle(fontFamily: "Regular")
77 | ),
78 | ),
79 | SizedBox(height: 28.0,),
80 | TextField(
81 | decoration: InputDecoration(
82 | hintText: 'Password',
83 | prefixIcon: Icon(MdiIcons.key),
84 | hintStyle: TextStyle(fontFamily: "Regular")
85 | ),
86 | ),
87 | SizedBox(height: 28.0,),
88 | Container(
89 | width: double.infinity,
90 | height: 50.0,
91 | decoration: BoxDecoration(
92 | color: Colors.white,
93 | borderRadius: BorderRadius.circular(10.0),
94 | border: Border.all(color: Colors.blueAccent[200],width: 2.0)
95 | ),
96 | child: Center(
97 | child: Text("Masuk", style: TextStyle(color: Colors.blueAccent[200], fontWeight: FontWeight.w500, fontSize: 18.0),),
98 | ),
99 | )
100 | ],
101 | ),
102 | )
103 | ],
104 | ),
105 | )
106 | ],
107 | ),
108 | ),
109 | ),
110 | );
111 | }
112 |
113 |
114 | }
--------------------------------------------------------------------------------
/lib/view/ngaji.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/cupertino.dart';
2 | import 'package:flutter/material.dart';
3 | import 'package:flutter_webview_plugin/flutter_webview_plugin.dart';
4 |
5 | void main() => runApp(Ngaji());
6 |
7 | class Ngaji extends StatefulWidget {
8 | Ngaji({Key key}) : super(key: key);
9 |
10 | _NgajiState createState() => _NgajiState();
11 | }
12 |
13 | class _NgajiState extends State {
14 |
15 |
16 | @override
17 | Widget build(BuildContext context) {
18 | return SafeArea(
19 | child: WebviewScaffold(
20 | url: 'http://medium.com/',
21 | withZoom: true,
22 | withJavascript: true,
23 | scrollBar: true,
24 | supportMultipleWindows: true,
25 | initialChild: Container(
26 | child: Center(
27 | child: CircularProgressIndicator(),
28 | ),
29 | ),
30 | )
31 | );
32 | }
33 | }
--------------------------------------------------------------------------------
/lib/view/search.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class Search extends StatefulWidget {
4 | Search({Key key}) : super(key: key);
5 |
6 | _SearchState createState() => _SearchState();
7 | }
8 |
9 | class _SearchState extends State {
10 | @override
11 | Widget build(BuildContext context) {
12 | return Scaffold(
13 | backgroundColor: Colors.white,
14 | body: SafeArea(
15 | child: Padding(
16 | padding: const EdgeInsets.only(
17 | left: 24.0,
18 | right: 24.0,
19 | top: 18.0
20 | ),
21 | child: ListView(
22 | shrinkWrap: true,
23 | children: [
24 | Padding(
25 | padding: const EdgeInsets.only(
26 | bottom: 16.0
27 | ),
28 | child: Stack(
29 | alignment: Alignment.bottomLeft,
30 | children: [
31 | Container(
32 | width: double.infinity,
33 | height: 150.0,
34 | decoration: BoxDecoration(
35 | color: Colors.white,
36 | borderRadius: BorderRadius.circular(10.0),
37 | boxShadow: [
38 | BoxShadow(
39 | color: Colors.grey[200],
40 | blurRadius: 20.0,
41 | spreadRadius: 5.0,
42 | offset: Offset(
43 | 1.0, // horizontal, move right 10
44 | 1.0, // vertical, move down 10
45 | ),
46 | )
47 | ]
48 | ),
49 | ),
50 | Padding(
51 | padding: const EdgeInsets.only(
52 | left: 18.0,
53 | right: 18.0,
54 | bottom: 18.0
55 | ),
56 | child: Row(
57 | crossAxisAlignment: CrossAxisAlignment.center,
58 | children: [
59 | Container(
60 | height: 170.0,
61 | width: 115.0,
62 | decoration: BoxDecoration(
63 | color: Colors.grey[200],
64 | borderRadius: BorderRadius.circular(5.0),
65 | image: DecorationImage(
66 | image: AssetImage("assets/images/dummy2.jpg"),
67 | fit: BoxFit.cover
68 | )
69 | ),
70 | ),
71 | SizedBox(width: 18.0,),
72 | Padding(
73 | padding: const EdgeInsets.only(
74 | top: 28.0,
75 | right: 2.0
76 | ),
77 | child: Column(
78 | crossAxisAlignment: CrossAxisAlignment.start,
79 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
80 | children: [
81 | Text("Fathul Qorib", style: TextStyle(fontFamily: "Regular", fontSize: 20.0, fontWeight: FontWeight.w600),),
82 | SizedBox(height: 8.0,),
83 | Text("Abu Syuja' Al asfihani", style: TextStyle(fontFamily: "Regular", fontSize: 14.0, color: Colors.grey[400]),),
84 | SizedBox(height: 18.0,),
85 | Row(
86 | children: [
87 | Container(
88 | height: 35.0,
89 | width: 95,
90 | decoration: BoxDecoration(
91 | color: Colors.blueAccent[200],
92 | borderRadius: BorderRadius.circular(5.0)
93 | ),
94 | child: Center(
95 | child: Text("Detail", style: TextStyle(fontFamily: "Regular", fontSize: 14.0, color: Colors.white),),
96 | ),
97 | )
98 | ],
99 | )
100 | ],
101 | ),
102 | )
103 | ],
104 | ),
105 | )
106 | ],
107 | ),
108 | ),
109 | Padding(
110 | padding: const EdgeInsets.only(
111 | bottom: 16.0
112 | ),
113 | child: Stack(
114 | alignment: Alignment.bottomLeft,
115 | children: [
116 | Container(
117 | width: double.infinity,
118 | height: 150.0,
119 | decoration: BoxDecoration(
120 | color: Colors.white,
121 | borderRadius: BorderRadius.circular(10.0),
122 | boxShadow: [
123 | BoxShadow(
124 | color: Colors.grey[200],
125 | blurRadius: 20.0,
126 | spreadRadius: 5.0,
127 | offset: Offset(
128 | 1.0, // horizontal, move right 10
129 | 1.0, // vertical, move down 10
130 | ),
131 | )
132 | ]
133 | ),
134 | ),
135 | Padding(
136 | padding: const EdgeInsets.only(
137 | left: 18.0,
138 | right: 18.0,
139 | bottom: 18.0
140 | ),
141 | child: Row(
142 | crossAxisAlignment: CrossAxisAlignment.center,
143 | children: [
144 | Container(
145 | height: 170.0,
146 | width: 115.0,
147 | decoration: BoxDecoration(
148 | color: Colors.grey[200],
149 | borderRadius: BorderRadius.circular(5.0),
150 | image: DecorationImage(
151 | image:NetworkImage("https://ppmiblog.files.wordpress.com/2016/12/6c5fd-fathul2bmuin.jpg"),
152 | fit: BoxFit.cover
153 | )
154 | ),
155 | ),
156 | SizedBox(width: 18.0,),
157 | Padding(
158 | padding: const EdgeInsets.only(
159 | top: 28.0,
160 | right: 2.0
161 | ),
162 | child: Column(
163 | crossAxisAlignment: CrossAxisAlignment.start,
164 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
165 | children: [
166 | Text("Fathul Mu'in", style: TextStyle(fontFamily: "Regular", fontSize: 20.0, fontWeight: FontWeight.w600),),
167 | SizedBox(height: 8.0,),
168 | Text("Zainudin Al-Malibari", style: TextStyle(fontFamily: "Regular", fontSize: 14.0, color: Colors.grey[400]),),
169 | SizedBox(height: 18.0,),
170 | Row(
171 | children: [
172 | Container(
173 | height: 35.0,
174 | width: 95,
175 | decoration: BoxDecoration(
176 | color: Colors.blueAccent[200],
177 | borderRadius: BorderRadius.circular(5.0)
178 | ),
179 | child: Center(
180 | child: Text("Detail", style: TextStyle(fontFamily: "Regular", fontSize: 14.0, color: Colors.white),),
181 | ),
182 | )
183 | ],
184 | )
185 | ],
186 | ),
187 | )
188 | ],
189 | ),
190 | )
191 | ],
192 | ),
193 | ),
194 | Padding(
195 | padding: const EdgeInsets.only(
196 | bottom: 16.0
197 | ),
198 | child: Stack(
199 | alignment: Alignment.bottomLeft,
200 | children: [
201 | Container(
202 | width: double.infinity,
203 | height: 150.0,
204 | decoration: BoxDecoration(
205 | color: Colors.white,
206 | borderRadius: BorderRadius.circular(10.0),
207 | boxShadow: [
208 | BoxShadow(
209 | color: Colors.grey[200],
210 | blurRadius: 20.0,
211 | spreadRadius: 5.0,
212 | offset: Offset(
213 | 1.0, // horizontal, move right 10
214 | 1.0, // vertical, move down 10
215 | ),
216 | )
217 | ]
218 | ),
219 | ),
220 | Padding(
221 | padding: const EdgeInsets.only(
222 | left: 18.0,
223 | right: 18.0,
224 | bottom: 18.0
225 | ),
226 | child: Row(
227 | crossAxisAlignment: CrossAxisAlignment.center,
228 | children: [
229 | Container(
230 | height: 170.0,
231 | width: 115.0,
232 | decoration: BoxDecoration(
233 | color: Colors.grey[200],
234 | borderRadius: BorderRadius.circular(5.0),
235 | image: DecorationImage(
236 | image:NetworkImage("http://nahdlatululama.id/wp-content/uploads/2018/02/cover-49.jpg"),
237 | fit: BoxFit.cover
238 | )
239 | ),
240 | ),
241 | SizedBox(width: 18.0,),
242 | Padding(
243 | padding: const EdgeInsets.only(
244 | top: 28.0,
245 | right: 2.0
246 | ),
247 | child: Column(
248 | crossAxisAlignment: CrossAxisAlignment.start,
249 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
250 | children: [
251 | Text("Fathul Wahab", style: TextStyle(fontFamily: "Regular", fontSize: 20.0, fontWeight: FontWeight.w600),),
252 | SizedBox(height: 8.0,),
253 | Text("Zakariya Al Anshori", style: TextStyle(fontFamily: "Regular", fontSize: 14.0, color: Colors.grey[400]),),
254 | SizedBox(height: 18.0,),
255 | Row(
256 | children: [
257 | Container(
258 | height: 35.0,
259 | width: 95,
260 | decoration: BoxDecoration(
261 | color: Colors.blueAccent[200],
262 | borderRadius: BorderRadius.circular(5.0)
263 | ),
264 | child: Center(
265 | child: Text("Detail", style: TextStyle(fontFamily: "Regular", fontSize: 14.0, color: Colors.white),),
266 | ),
267 | )
268 | ],
269 | )
270 | ],
271 | ),
272 | )
273 | ],
274 | ),
275 | )
276 | ],
277 | ),
278 | ),
279 | ],
280 | ),
281 | )
282 | )
283 | );
284 | }
285 | }
--------------------------------------------------------------------------------
/lib/view/signup.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter/widgets.dart';
3 | import 'package:material_design_icons_flutter/material_design_icons_flutter.dart';
4 | void main() => runApp(Signup());
5 |
6 | class Signup extends StatefulWidget {
7 | Signup({Key key}) : super(key: key);
8 |
9 | _SignupState createState() => _SignupState();
10 | }
11 |
12 | class _SignupState extends State {
13 | var _ucapan = "Selamat datang di Utawi Iku App salah satu platform ngaji, Ayo Nderes!!";
14 | @override
15 | Widget build(BuildContext context) {
16 | return Scaffold(
17 | backgroundColor: Colors.white,
18 | body: SafeArea(
19 | child: ListView(
20 | shrinkWrap: true,
21 | children: [
22 | Padding(
23 | padding: EdgeInsets.symmetric(
24 | vertical: 12.0,
25 | horizontal: 28.0
26 | ),
27 | child: Column(
28 | mainAxisAlignment: MainAxisAlignment.start,
29 | crossAxisAlignment: CrossAxisAlignment.start,
30 | children: [
31 | Text("Sign up", style: TextStyle(fontFamily: "Regular", fontSize: 28.0, fontWeight: FontWeight.w700),),
32 | SizedBox(height: 12.0,),
33 | SizedBox(width: 58.0, height: 4.0,
34 | child: Container(
35 | height: double.infinity,
36 | width: double.infinity,
37 | decoration: BoxDecoration(
38 | color: Colors.blue
39 | ),
40 | ),),
41 | SizedBox(height: 12.0,),
42 | Text("Assalamualaikum, please fill in the form below to complete your register in Utawi Iku", style: TextStyle(fontFamily: "Regular", fontSize: 16.0, fontWeight: FontWeight.w600),)
43 | ],
44 | ),
45 | ),
46 | Padding(
47 | padding: EdgeInsets.symmetric(
48 | vertical: 0.0,
49 | horizontal: 28.0
50 | ),
51 | child: Container(
52 | width: double.infinity,
53 | height: 240.0,
54 | decoration: BoxDecoration(
55 | borderRadius: BorderRadius.circular(10.0)
56 | ),
57 | child: Padding(
58 | padding: const EdgeInsets.symmetric(
59 | vertical: 20.0,
60 | ),
61 | child: Column(
62 | mainAxisAlignment: MainAxisAlignment.spaceAround,
63 | crossAxisAlignment: CrossAxisAlignment.start,
64 | children: [
65 | Container(
66 | decoration: BoxDecoration(
67 | color: Colors.white,
68 | borderRadius: BorderRadius.circular(10.0),
69 | border: Border.all(color: Colors.grey[200])
70 | ),
71 | child: TextField(
72 | decoration: InputDecoration(
73 | fillColor: Colors.grey[200],
74 | enabledBorder: OutlineInputBorder(
75 | borderRadius: BorderRadius.circular(10.0),
76 | borderSide: BorderSide(color: Colors.white)
77 | ),
78 | focusedBorder: OutlineInputBorder(
79 | borderRadius: BorderRadius.circular(10.0),
80 | borderSide: BorderSide(color: Colors.grey[200])
81 | ),
82 | border: OutlineInputBorder(
83 | borderRadius: BorderRadius.circular(10.0)
84 | ),
85 | prefixIcon: Icon(MdiIcons.accountCircle, color: Colors.blue,),
86 | contentPadding: EdgeInsets.all(8.0),
87 | hintText: "Your Email"
88 | ),
89 | ),
90 | ),
91 | Container(
92 | decoration: BoxDecoration(
93 | color: Colors.white,
94 | borderRadius: BorderRadius.circular(10.0),
95 | border: Border.all(color: Colors.grey[200])
96 | ),
97 | child: TextField(
98 | obscureText: true,
99 | decoration: InputDecoration(
100 | fillColor: Colors.white,
101 | enabledBorder: OutlineInputBorder(
102 | borderRadius: BorderRadius.circular(10.0),
103 | borderSide: BorderSide(color: Colors.white)
104 | ),
105 | focusedBorder: OutlineInputBorder(
106 | borderRadius: BorderRadius.circular(10.0),
107 | borderSide: BorderSide(color: Colors.white)
108 | ),
109 | border: OutlineInputBorder(
110 | borderRadius: BorderRadius.circular(10.0),
111 | borderSide: BorderSide(color: Colors.white)
112 | ),
113 |
114 | prefixIcon: Icon(MdiIcons.lock, color: Colors.blue,),
115 | contentPadding: EdgeInsets.all(8.0),
116 | hintText: "Your Password"
117 | ),
118 | ),
119 | ),
120 | InkWell(
121 | onTap: () {
122 |
123 | },
124 | child: Container(
125 | width: double.infinity,
126 | height: 50.0,
127 | decoration: BoxDecoration(
128 | color: Colors.blue,
129 | borderRadius: BorderRadius.circular(10.0)
130 | ),
131 | child: Center(
132 | child: Text("Signup", style: TextStyle( fontSize: 16.0, fontFamily: "Regular", fontWeight: FontWeight.w600, color: Colors.white ),),
133 | ),
134 | ),
135 | )
136 | ],
137 | ),
138 | ),
139 | ),
140 | ),
141 | Padding(
142 | padding: EdgeInsets.only(top: 6.0),
143 | child: Column(
144 | crossAxisAlignment: CrossAxisAlignment.center,
145 | children: [
146 | Text("Or Connect Social", style: TextStyle( fontFamily: "Oreg", fontSize: 16.0, fontWeight: FontWeight.w600 ),),
147 | Row(
148 | mainAxisAlignment: MainAxisAlignment.center,
149 | children: [
150 | IconButton(
151 | icon: Icon(MdiIcons.facebookBox, size: 32.0, color: Colors.blueAccent,),
152 | onPressed: (){
153 |
154 | },
155 | ),
156 | IconButton(
157 | icon: Icon(MdiIcons.googlePlusBox, size: 32.0, color: Colors.redAccent,),
158 | onPressed: (){
159 |
160 | },
161 | ),
162 | IconButton(
163 | icon: Icon(MdiIcons.twitterCircle, size: 32.0, color: Colors.blue,),
164 | onPressed: (){
165 |
166 | },
167 | )
168 | ],
169 | ),
170 | ],
171 | ),
172 | ),
173 | Container(
174 | width: double.infinity,
175 | height: 230.0,
176 | decoration: BoxDecoration(
177 | color: Colors.black,
178 | image: DecorationImage(
179 | image: AssetImage("assets/images/apik.jpg"),
180 | fit: BoxFit.cover
181 | )
182 | ),
183 | )
184 | ],
185 | ),
186 | ),
187 | );
188 | }
189 |
190 |
191 | }
--------------------------------------------------------------------------------
/lib/view/upgrade.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class Upgrade extends StatefulWidget {
4 | Upgrade({Key key}) : super(key: key);
5 |
6 | _UpgradeState createState() => _UpgradeState();
7 | }
8 |
9 | class _UpgradeState extends State {
10 | var data = "Mohon maaf sekali untuk menggunakan layanan ini anda perlu upgrade akun anda ke premium, dengan cara download Utawi Iku Premium";
11 | @override
12 | Widget build(BuildContext context) {
13 | return Scaffold(
14 | backgroundColor: Colors.white,
15 | body: Padding(
16 | padding: EdgeInsets.symmetric(
17 | vertical: 8.0,
18 | horizontal: 24.0
19 | ),
20 | child: Column(
21 | mainAxisAlignment: MainAxisAlignment.center,
22 | crossAxisAlignment: CrossAxisAlignment.center,
23 | children: [
24 | Text("Assalamualaikum", style: TextStyle(fontFamily: "Regular", fontSize: 24.0, fontWeight: FontWeight.w600, color: Colors.blueAccent[200]),),
25 | Container(
26 | width: 400.0,
27 | height: 300.0,
28 | decoration: BoxDecoration(
29 | image: DecorationImage(
30 | image: AssetImage("assets/images/enterprise.jpg"),
31 | fit: BoxFit.cover
32 | )
33 | ),
34 | ),
35 | Text(data, style: TextStyle(fontFamily: "Regular", fontSize: 16.0, fontWeight: FontWeight.w500,), textAlign: TextAlign.center,),
36 | SizedBox(height: 16.0,),
37 | Container(
38 | width: 130.0,
39 | height: 40.0,
40 | decoration: BoxDecoration(
41 | color: Colors.blueAccent[200],
42 | borderRadius: BorderRadius.circular(10.0)
43 | ),
44 | child: Center(
45 | child: Text("Upgrade", style: TextStyle(fontFamily: "Regular", fontSize: 14.0, fontWeight: FontWeight.w600, color: Colors.white),),
46 | ),
47 | )
48 | ],
49 | ),
50 | ),
51 | );
52 | }
53 | }
--------------------------------------------------------------------------------
/lib/view/welcome.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:utawi_iku/view/dashboard.dart';
3 | import 'package:utawi_iku/view/login.dart';
4 | void main() => runApp(Welcome());
5 |
6 | class Welcome extends StatefulWidget {
7 | Welcome({Key key}) : super(key: key);
8 |
9 | _WelcomeState createState() => _WelcomeState();
10 | }
11 |
12 | class _WelcomeState extends State {
13 |
14 |
15 | @override
16 | Widget build(BuildContext context) {
17 | return SafeArea(
18 | child: Scaffold(
19 | backgroundColor: Colors.white,
20 | body: SafeArea(
21 | child: Scaffold(
22 | backgroundColor: Colors.white,
23 | body: Padding(
24 | padding: EdgeInsets.symmetric(
25 | vertical: 18.0,
26 | horizontal: 24.0
27 | ),
28 | child: Column(
29 | crossAxisAlignment: CrossAxisAlignment.center,
30 | mainAxisAlignment: MainAxisAlignment.center,
31 | children: [
32 | Row(
33 | mainAxisAlignment: MainAxisAlignment.center,
34 | children: [
35 | Container(
36 | width: 300.0,
37 | height: 300.0,
38 | decoration: BoxDecoration(
39 | image: DecorationImage(
40 | image: AssetImage("assets/images/welcome_1.jpg"),
41 | fit: BoxFit.cover
42 | )
43 | ),
44 | ),
45 | ],
46 | ),
47 | SizedBox(height: 18.0,),
48 | Text("Utawi Iku", style: TextStyle(fontSize: 24.0, fontFamily: "Regular", fontWeight: FontWeight.w600),),
49 | SizedBox(height: 18.0,),
50 | Text("Utawi Iku adalah sebuah aplikasi untuk mengkaji kitab kuning dan lebih dari itu, developer berharap akan tumbuh komunitas penggiat kitab kuning dari sini", style: TextStyle(fontSize: 18.0, fontFamily: "Regular", fontWeight: FontWeight.w500), textAlign: TextAlign.center,),
51 | SizedBox(height: 18.0,),
52 | GestureDetector(
53 | onTap: (){
54 | Navigator.push(context, MaterialPageRoute(
55 | builder: (context) => Dashboard()
56 | ));
57 | },
58 | child: Container(
59 | width: 150.0,
60 | height: 45.0,
61 | decoration: BoxDecoration(
62 | color: Colors.blueAccent[400],
63 | borderRadius: BorderRadius.circular(10.0)
64 | ),
65 | child: Center(
66 | child: Text("Mulai", style: TextStyle(fontSize: 16.0, fontFamily: "Regular", fontWeight: FontWeight.w600, color: Colors.white),),
67 | ),
68 | ),
69 | )
70 | ],
71 | ),
72 | ),
73 | ),
74 | ),
75 | ),
76 | );
77 | }
78 | }
--------------------------------------------------------------------------------
/pubspec.lock:
--------------------------------------------------------------------------------
1 | # Generated by pub
2 | # See https://dart.dev/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.2.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 | cloud_firestore:
26 | dependency: "direct main"
27 | description:
28 | name: cloud_firestore
29 | url: "https://pub.dartlang.org"
30 | source: hosted
31 | version: "0.9.13+1"
32 | collection:
33 | dependency: transitive
34 | description:
35 | name: collection
36 | url: "https://pub.dartlang.org"
37 | source: hosted
38 | version: "1.14.11"
39 | cupertino_icons:
40 | dependency: "direct main"
41 | description:
42 | name: cupertino_icons
43 | url: "https://pub.dartlang.org"
44 | source: hosted
45 | version: "0.1.2"
46 | firebase_auth:
47 | dependency: "direct main"
48 | description:
49 | name: firebase_auth
50 | url: "https://pub.dartlang.org"
51 | source: hosted
52 | version: "0.9.0"
53 | firebase_core:
54 | dependency: "direct main"
55 | description:
56 | name: firebase_core
57 | url: "https://pub.dartlang.org"
58 | source: hosted
59 | version: "0.3.4"
60 | flutter:
61 | dependency: "direct main"
62 | description: flutter
63 | source: sdk
64 | version: "0.0.0"
65 | flutter_radio:
66 | dependency: "direct main"
67 | description:
68 | name: flutter_radio
69 | url: "https://pub.dartlang.org"
70 | source: hosted
71 | version: "0.1.7"
72 | flutter_rating_bar:
73 | dependency: "direct main"
74 | description:
75 | name: flutter_rating_bar
76 | url: "https://pub.dartlang.org"
77 | source: hosted
78 | version: "2.0.0+1"
79 | flutter_test:
80 | dependency: "direct dev"
81 | description: flutter
82 | source: sdk
83 | version: "0.0.0"
84 | flutter_webview_plugin:
85 | dependency: "direct main"
86 | description:
87 | name: flutter_webview_plugin
88 | url: "https://pub.dartlang.org"
89 | source: hosted
90 | version: "0.3.7"
91 | http:
92 | dependency: "direct main"
93 | description:
94 | name: http
95 | url: "https://pub.dartlang.org"
96 | source: hosted
97 | version: "0.12.0+2"
98 | http_parser:
99 | dependency: transitive
100 | description:
101 | name: http_parser
102 | url: "https://pub.dartlang.org"
103 | source: hosted
104 | version: "3.1.3"
105 | matcher:
106 | dependency: transitive
107 | description:
108 | name: matcher
109 | url: "https://pub.dartlang.org"
110 | source: hosted
111 | version: "0.12.5"
112 | material_design_icons_flutter:
113 | dependency: "direct main"
114 | description:
115 | name: material_design_icons_flutter
116 | url: "https://pub.dartlang.org"
117 | source: hosted
118 | version: "3.2.3695"
119 | meta:
120 | dependency: transitive
121 | description:
122 | name: meta
123 | url: "https://pub.dartlang.org"
124 | source: hosted
125 | version: "1.1.6"
126 | path:
127 | dependency: transitive
128 | description:
129 | name: path
130 | url: "https://pub.dartlang.org"
131 | source: hosted
132 | version: "1.6.2"
133 | path_provider:
134 | dependency: "direct main"
135 | description:
136 | name: path_provider
137 | url: "https://pub.dartlang.org"
138 | source: hosted
139 | version: "1.2.0"
140 | pedantic:
141 | dependency: transitive
142 | description:
143 | name: pedantic
144 | url: "https://pub.dartlang.org"
145 | source: hosted
146 | version: "1.7.0"
147 | quiver:
148 | dependency: transitive
149 | description:
150 | name: quiver
151 | url: "https://pub.dartlang.org"
152 | source: hosted
153 | version: "2.0.3"
154 | sky_engine:
155 | dependency: transitive
156 | description: flutter
157 | source: sdk
158 | version: "0.0.99"
159 | source_span:
160 | dependency: transitive
161 | description:
162 | name: source_span
163 | url: "https://pub.dartlang.org"
164 | source: hosted
165 | version: "1.5.5"
166 | stack_trace:
167 | dependency: transitive
168 | description:
169 | name: stack_trace
170 | url: "https://pub.dartlang.org"
171 | source: hosted
172 | version: "1.9.3"
173 | stream_channel:
174 | dependency: transitive
175 | description:
176 | name: stream_channel
177 | url: "https://pub.dartlang.org"
178 | source: hosted
179 | version: "2.0.0"
180 | string_scanner:
181 | dependency: transitive
182 | description:
183 | name: string_scanner
184 | url: "https://pub.dartlang.org"
185 | source: hosted
186 | version: "1.0.4"
187 | term_glyph:
188 | dependency: transitive
189 | description:
190 | name: term_glyph
191 | url: "https://pub.dartlang.org"
192 | source: hosted
193 | version: "1.1.0"
194 | test_api:
195 | dependency: transitive
196 | description:
197 | name: test_api
198 | url: "https://pub.dartlang.org"
199 | source: hosted
200 | version: "0.2.5"
201 | typed_data:
202 | dependency: transitive
203 | description:
204 | name: typed_data
205 | url: "https://pub.dartlang.org"
206 | source: hosted
207 | version: "1.1.6"
208 | vector_math:
209 | dependency: transitive
210 | description:
211 | name: vector_math
212 | url: "https://pub.dartlang.org"
213 | source: hosted
214 | version: "2.0.8"
215 | sdks:
216 | dart: ">=2.2.2 <3.0.0"
217 | flutter: ">=1.2.0 <2.0.0"
218 |
--------------------------------------------------------------------------------
/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: utawi_iku
2 | description: A new Flutter project.
3 |
4 | # The following defines the version and build number for your application.
5 | # A version number is three numbers separated by dots, like 1.2.43
6 | # followed by an optional build number separated by a +.
7 | # Both the version and the builder number may be overridden in flutter
8 | # build by specifying --build-name and --build-number, respectively.
9 | # In Android, build-name is used as versionName while build-number used as versionCode.
10 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
11 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
12 | # Read more about iOS versioning at
13 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
14 | version: 1.0.0+1
15 |
16 | environment:
17 | sdk: ">=2.1.0 <3.0.0"
18 |
19 | dependencies:
20 | flutter:
21 | sdk: flutter
22 |
23 | # 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 | firebase_core: ^0.3.1+1
27 | cloud_firestore: ^0.9.7
28 | firebase_auth:
29 | material_design_icons_flutter: ^3.2.3695
30 | flutter_radio: ^0.1.7
31 | http: ^0.12.0+2
32 | path_provider: ^1.2.0
33 | flutter_rating_bar: ^2.0.0+1
34 | flutter_webview_plugin: ^0.3.7
35 |
36 | dev_dependencies:
37 | flutter_test:
38 | sdk: flutter
39 |
40 |
41 | # For information on the generic Dart part of this file, see the
42 | # following page: https://www.dartlang.org/tools/pub/pubspec
43 |
44 | # The following section is specific to Flutter.
45 | flutter:
46 |
47 | # The following line ensures that the Material Icons font is
48 | # included with your application, so that you can use the icons in
49 | # the material Icons class.
50 | uses-material-design: true
51 |
52 | # To add assets to your application, add an assets section, like this:
53 | assets:
54 | - assets/images/utawi.jpg
55 | - assets/images/daftar.jpg
56 | - assets/images/muhibbin.jpg
57 | - assets/images/enterprise.jpg
58 | - assets/images/apik.jpg
59 | - assets/images/kitab.jpg
60 | - assets/images/dummy1.jpg
61 | - assets/images/dummy2.jpg
62 | - assets/images/dummy3.jpg
63 | - assets/images/background.jpg
64 | - assets/images/welcome_1.jpg
65 | - assets/images/welcome_2.jpg
66 | - assets/images/welcome_3.jpg
67 | - assets/images/dana.png
68 | # An image asset can refer to one or more resolution-specific "variants", see
69 | # https://flutter.dev/assets-and-images/#resolution-aware.
70 |
71 | # For details regarding adding assets from package dependencies, see
72 | # https://flutter.dev/assets-and-images/#from-packages
73 |
74 | # To add custom fonts to your application, add a fonts section here,
75 | # in this "flutter" section. Each entry in this list should have a
76 | # "family" key with the font family name, and a "fonts" key with a
77 | # list giving the asset and other descriptors for the font. For
78 | # example:
79 | fonts:
80 | - family: Regular
81 | fonts:
82 | - asset: fonts/Roboto-Regular.ttf
83 | # - family: Trajan Pro
84 | # fonts:
85 | # - asset: fonts/TrajanPro.ttf
86 | # - asset: fonts/TrajanPro_Bold.ttf
87 | # weight: 700
88 | #
89 | # For details regarding fonts from package dependencies,
90 | # see https://flutter.dev/custom-fonts/#from-packages
91 |
--------------------------------------------------------------------------------
/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:utawi_iku/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 |
--------------------------------------------------------------------------------