From 614bf622fb5cb49300df0056fe15b3752e50d90f Mon Sep 17 00:00:00 2001 From: hyochan Date: Tue, 30 Oct 2018 05:48:17 +0900 Subject: [PATCH] Bloc Sample. --- bloc_sample/.gitignore | 9 + bloc_sample/.idea/codeStyles/Project.xml | 29 ++ bloc_sample/.idea/libraries/Dart_Packages.xml | 452 ++++++++++++++++++ bloc_sample/.idea/libraries/Dart_SDK.xml | 19 + .../.idea/libraries/Flutter_Plugins.xml | 7 + .../.idea/libraries/Flutter_for_Android.xml | 9 + bloc_sample/.idea/misc.xml | 29 ++ bloc_sample/.idea/modules.xml | 9 + .../.idea/runConfigurations/main_dart.xml | 6 + bloc_sample/.idea/workspace.xml | 364 ++++++++++++++ bloc_sample/.metadata | 8 + bloc_sample/README.md | 8 + bloc_sample/android/.gitignore | 10 + bloc_sample/android/app/build.gradle | 67 +++ .../android/app/src/main/AndroidManifest.xml | 39 ++ .../com/dooboolab/blocsample/MainActivity.kt | 13 + .../main/res/drawable/launch_background.xml | 12 + .../src/main/res/mipmap-hdpi/ic_launcher.png | Bin 0 -> 544 bytes .../src/main/res/mipmap-mdpi/ic_launcher.png | Bin 0 -> 442 bytes .../src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 0 -> 721 bytes .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin 0 -> 1031 bytes .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 0 -> 1443 bytes .../app/src/main/res/values/styles.xml | 8 + bloc_sample/android/build.gradle | 31 ++ bloc_sample/android/gradle.properties | 1 + .../android/gradle/wrapper/gradle-wrapper.jar | Bin 0 -> 53636 bytes .../gradle/wrapper/gradle-wrapper.properties | 6 + bloc_sample/android/gradlew | 160 +++++++ bloc_sample/android/gradlew.bat | 90 ++++ bloc_sample/android/settings.gradle | 15 + bloc_sample/bloc_sample.iml | 18 + bloc_sample/bloc_sample_android.iml | 27 ++ bloc_sample/ios/.gitignore | 45 ++ .../ios/Flutter/AppFrameworkInfo.plist | 26 + bloc_sample/ios/Flutter/Debug.xcconfig | 1 + bloc_sample/ios/Flutter/Release.xcconfig | 1 + .../ios/Runner.xcodeproj/project.pbxproj | 442 +++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/xcschemes/Runner.xcscheme | 93 ++++ .../contents.xcworkspacedata | 7 + bloc_sample/ios/Runner/AppDelegate.swift | 13 + .../AppIcon.appiconset/Contents.json | 122 +++++ .../Icon-App-1024x1024@1x.png | Bin 0 -> 11112 bytes .../AppIcon.appiconset/Icon-App-20x20@1x.png | Bin 0 -> 564 bytes .../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin 0 -> 1283 bytes .../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin 0 -> 1588 bytes .../AppIcon.appiconset/Icon-App-29x29@1x.png | Bin 0 -> 1025 bytes .../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin 0 -> 1716 bytes .../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin 0 -> 1920 bytes .../AppIcon.appiconset/Icon-App-40x40@1x.png | Bin 0 -> 1283 bytes .../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin 0 -> 1895 bytes .../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin 0 -> 2665 bytes .../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin 0 -> 2665 bytes .../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin 0 -> 3831 bytes .../AppIcon.appiconset/Icon-App-76x76@1x.png | Bin 0 -> 1888 bytes .../AppIcon.appiconset/Icon-App-76x76@2x.png | Bin 0 -> 3294 bytes .../Icon-App-83.5x83.5@2x.png | Bin 0 -> 3612 bytes .../LaunchImage.imageset/Contents.json | 23 + .../LaunchImage.imageset/LaunchImage.png | Bin 0 -> 68 bytes .../LaunchImage.imageset/LaunchImage@2x.png | Bin 0 -> 68 bytes .../LaunchImage.imageset/LaunchImage@3x.png | Bin 0 -> 68 bytes .../LaunchImage.imageset/README.md | 5 + .../Runner/Base.lproj/LaunchScreen.storyboard | 37 ++ .../ios/Runner/Base.lproj/Main.storyboard | 26 + bloc_sample/ios/Runner/Info.plist | 45 ++ .../ios/Runner/Runner-Bridging-Header.h | 1 + bloc_sample/lib/blocs/bloc_provider.dart | 25 + bloc_sample/lib/blocs/sample_bloc.dart | 23 + bloc_sample/lib/main.dart | 29 ++ bloc_sample/lib/screens/sample.dart | 87 ++++ bloc_sample/pubspec.lock | 384 +++++++++++++++ bloc_sample/pubspec.yaml | 68 +++ bloc_sample/test/widget_test.dart | 29 ++ 73 files changed, 2985 insertions(+) create mode 100644 bloc_sample/.gitignore create mode 100644 bloc_sample/.idea/codeStyles/Project.xml create mode 100644 bloc_sample/.idea/libraries/Dart_Packages.xml create mode 100644 bloc_sample/.idea/libraries/Dart_SDK.xml create mode 100644 bloc_sample/.idea/libraries/Flutter_Plugins.xml create mode 100644 bloc_sample/.idea/libraries/Flutter_for_Android.xml create mode 100644 bloc_sample/.idea/misc.xml create mode 100644 bloc_sample/.idea/modules.xml create mode 100644 bloc_sample/.idea/runConfigurations/main_dart.xml create mode 100644 bloc_sample/.idea/workspace.xml create mode 100644 bloc_sample/.metadata create mode 100644 bloc_sample/README.md create mode 100644 bloc_sample/android/.gitignore create mode 100644 bloc_sample/android/app/build.gradle create mode 100644 bloc_sample/android/app/src/main/AndroidManifest.xml create mode 100644 bloc_sample/android/app/src/main/kotlin/com/dooboolab/blocsample/MainActivity.kt create mode 100644 bloc_sample/android/app/src/main/res/drawable/launch_background.xml create mode 100644 bloc_sample/android/app/src/main/res/mipmap-hdpi/ic_launcher.png create mode 100644 bloc_sample/android/app/src/main/res/mipmap-mdpi/ic_launcher.png create mode 100644 bloc_sample/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png create mode 100644 bloc_sample/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png create mode 100644 bloc_sample/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png create mode 100644 bloc_sample/android/app/src/main/res/values/styles.xml create mode 100644 bloc_sample/android/build.gradle create mode 100644 bloc_sample/android/gradle.properties create mode 100644 bloc_sample/android/gradle/wrapper/gradle-wrapper.jar create mode 100644 bloc_sample/android/gradle/wrapper/gradle-wrapper.properties create mode 100755 bloc_sample/android/gradlew create mode 100644 bloc_sample/android/gradlew.bat create mode 100644 bloc_sample/android/settings.gradle create mode 100644 bloc_sample/bloc_sample.iml create mode 100644 bloc_sample/bloc_sample_android.iml create mode 100644 bloc_sample/ios/.gitignore create mode 100644 bloc_sample/ios/Flutter/AppFrameworkInfo.plist create mode 100644 bloc_sample/ios/Flutter/Debug.xcconfig create mode 100644 bloc_sample/ios/Flutter/Release.xcconfig create mode 100644 bloc_sample/ios/Runner.xcodeproj/project.pbxproj create mode 100644 bloc_sample/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 bloc_sample/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme create mode 100644 bloc_sample/ios/Runner.xcworkspace/contents.xcworkspacedata create mode 100644 bloc_sample/ios/Runner/AppDelegate.swift create mode 100644 bloc_sample/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 bloc_sample/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png create mode 100644 bloc_sample/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png create mode 100644 bloc_sample/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png create mode 100644 bloc_sample/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png create mode 100644 bloc_sample/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png create mode 100644 bloc_sample/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png create mode 100644 bloc_sample/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png create mode 100644 bloc_sample/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png create mode 100644 bloc_sample/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png create mode 100644 bloc_sample/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png create mode 100644 bloc_sample/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png create mode 100644 bloc_sample/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png create mode 100644 bloc_sample/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png create mode 100644 bloc_sample/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png create mode 100644 bloc_sample/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png create mode 100644 bloc_sample/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json create mode 100644 bloc_sample/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png create mode 100644 bloc_sample/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png create mode 100644 bloc_sample/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png create mode 100644 bloc_sample/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md create mode 100644 bloc_sample/ios/Runner/Base.lproj/LaunchScreen.storyboard create mode 100644 bloc_sample/ios/Runner/Base.lproj/Main.storyboard create mode 100644 bloc_sample/ios/Runner/Info.plist create mode 100644 bloc_sample/ios/Runner/Runner-Bridging-Header.h create mode 100644 bloc_sample/lib/blocs/bloc_provider.dart create mode 100644 bloc_sample/lib/blocs/sample_bloc.dart create mode 100644 bloc_sample/lib/main.dart create mode 100644 bloc_sample/lib/screens/sample.dart create mode 100644 bloc_sample/pubspec.lock create mode 100644 bloc_sample/pubspec.yaml create mode 100644 bloc_sample/test/widget_test.dart diff --git a/bloc_sample/.gitignore b/bloc_sample/.gitignore new file mode 100644 index 0000000..dee655c --- /dev/null +++ b/bloc_sample/.gitignore @@ -0,0 +1,9 @@ +.DS_Store +.dart_tool/ + +.packages +.pub/ + +build/ + +.flutter-plugins diff --git a/bloc_sample/.idea/codeStyles/Project.xml b/bloc_sample/.idea/codeStyles/Project.xml new file mode 100644 index 0000000..30aa626 --- /dev/null +++ b/bloc_sample/.idea/codeStyles/Project.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/bloc_sample/.idea/libraries/Dart_Packages.xml b/bloc_sample/.idea/libraries/Dart_Packages.xml new file mode 100644 index 0000000..769d518 --- /dev/null +++ b/bloc_sample/.idea/libraries/Dart_Packages.xml @@ -0,0 +1,452 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/bloc_sample/.idea/libraries/Dart_SDK.xml b/bloc_sample/.idea/libraries/Dart_SDK.xml new file mode 100644 index 0000000..574d713 --- /dev/null +++ b/bloc_sample/.idea/libraries/Dart_SDK.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/bloc_sample/.idea/libraries/Flutter_Plugins.xml b/bloc_sample/.idea/libraries/Flutter_Plugins.xml new file mode 100644 index 0000000..b0f6971 --- /dev/null +++ b/bloc_sample/.idea/libraries/Flutter_Plugins.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/bloc_sample/.idea/libraries/Flutter_for_Android.xml b/bloc_sample/.idea/libraries/Flutter_for_Android.xml new file mode 100644 index 0000000..818adf6 --- /dev/null +++ b/bloc_sample/.idea/libraries/Flutter_for_Android.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/bloc_sample/.idea/misc.xml b/bloc_sample/.idea/misc.xml new file mode 100644 index 0000000..1159fd7 --- /dev/null +++ b/bloc_sample/.idea/misc.xml @@ -0,0 +1,29 @@ + + + + + + + + \ No newline at end of file diff --git a/bloc_sample/.idea/modules.xml b/bloc_sample/.idea/modules.xml new file mode 100644 index 0000000..1ff3a85 --- /dev/null +++ b/bloc_sample/.idea/modules.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/bloc_sample/.idea/runConfigurations/main_dart.xml b/bloc_sample/.idea/runConfigurations/main_dart.xml new file mode 100644 index 0000000..aab7b5c --- /dev/null +++ b/bloc_sample/.idea/runConfigurations/main_dart.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/bloc_sample/.idea/workspace.xml b/bloc_sample/.idea/workspace.xml new file mode 100644 index 0000000..2ee95e0 --- /dev/null +++ b/bloc_sample/.idea/workspace.xml @@ -0,0 +1,364 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Login + AuthBloc + setMessage + + + Sample + SampleBloc + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +