diff --git a/Codex/BeingMom/.gitignore b/Codex/BeingMom/.gitignore
new file mode 100644
index 00000000..9d532b18
--- /dev/null
+++ b/Codex/BeingMom/.gitignore
@@ -0,0 +1,41 @@
+# Miscellaneous
+*.class
+*.log
+*.pyc
+*.swp
+.DS_Store
+.atom/
+.buildlog/
+.history
+.svn/
+
+# IntelliJ related
+*.iml
+*.ipr
+*.iws
+.idea/
+
+# The .vscode folder contains launch configuration and tasks you configure in
+# VS Code which you may wish to be included in version control, so this line
+# is commented out by default.
+#.vscode/
+
+# Flutter/Dart/Pub related
+**/doc/api/
+**/ios/Flutter/.last_build_id
+.dart_tool/
+.flutter-plugins
+.flutter-plugins-dependencies
+.packages
+.pub-cache/
+.pub/
+/build/
+
+# Web related
+lib/generated_plugin_registrant.dart
+
+# Symbolication related
+app.*.symbols
+
+# Obfuscation related
+app.*.map.json
diff --git a/Codex/BeingMom/.metadata b/Codex/BeingMom/.metadata
new file mode 100644
index 00000000..24544cb7
--- /dev/null
+++ b/Codex/BeingMom/.metadata
@@ -0,0 +1,10 @@
+# This file tracks properties of this Flutter project.
+# Used by Flutter tool to assess capabilities and perform upgrades etc.
+#
+# This file should be version controlled and should not be manually edited.
+
+version:
+ revision: 84f3d28555368a70270e9ac8390a9441df95e752
+ channel: stable
+
+project_type: app
diff --git a/Codex/BeingMom/android/.gitignore b/Codex/BeingMom/android/.gitignore
new file mode 100644
index 00000000..0a741cb4
--- /dev/null
+++ b/Codex/BeingMom/android/.gitignore
@@ -0,0 +1,11 @@
+gradle-wrapper.jar
+/.gradle
+/captures/
+/gradlew
+/gradlew.bat
+/local.properties
+GeneratedPluginRegistrant.java
+
+# Remember to never publicly share your keystore.
+# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
+key.properties
diff --git a/Codex/BeingMom/android/app/build.gradle b/Codex/BeingMom/android/app/build.gradle
new file mode 100644
index 00000000..4408fdb9
--- /dev/null
+++ b/Codex/BeingMom/android/app/build.gradle
@@ -0,0 +1,63 @@
+def localProperties = new Properties()
+def localPropertiesFile = rootProject.file('local.properties')
+if (localPropertiesFile.exists()) {
+ localPropertiesFile.withReader('UTF-8') { reader ->
+ localProperties.load(reader)
+ }
+}
+
+def flutterRoot = localProperties.getProperty('flutter.sdk')
+if (flutterRoot == null) {
+ throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
+}
+
+def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
+if (flutterVersionCode == null) {
+ flutterVersionCode = '1'
+}
+
+def flutterVersionName = localProperties.getProperty('flutter.versionName')
+if (flutterVersionName == null) {
+ flutterVersionName = '1.0'
+}
+
+apply plugin: 'com.android.application'
+apply plugin: 'kotlin-android'
+apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
+
+android {
+ compileSdkVersion 29
+
+ sourceSets {
+ main.java.srcDirs += 'src/main/kotlin'
+ }
+
+ lintOptions {
+ disable 'InvalidPackage'
+ }
+
+ defaultConfig {
+ // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
+ applicationId "com.example.Maternal"
+ minSdkVersion 16
+ targetSdkVersion 29
+ versionCode flutterVersionCode.toInteger()
+ versionName flutterVersionName
+ }
+
+ buildTypes {
+ release {
+ // TODO: Add your own signing config for the release build.
+ // Signing with the debug keys for now, so `flutter run --release` works.
+ signingConfig signingConfigs.debug
+ }
+ }
+}
+
+flutter {
+ source '../..'
+}
+
+dependencies {
+ implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
+}
diff --git a/Codex/BeingMom/android/app/src/debug/AndroidManifest.xml b/Codex/BeingMom/android/app/src/debug/AndroidManifest.xml
new file mode 100644
index 00000000..147710a6
--- /dev/null
+++ b/Codex/BeingMom/android/app/src/debug/AndroidManifest.xml
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/Codex/BeingMom/android/app/src/main/AndroidManifest.xml b/Codex/BeingMom/android/app/src/main/AndroidManifest.xml
new file mode 100644
index 00000000..35733129
--- /dev/null
+++ b/Codex/BeingMom/android/app/src/main/AndroidManifest.xml
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Codex/BeingMom/android/app/src/main/kotlin/com/example/Maternal/MainActivity.kt b/Codex/BeingMom/android/app/src/main/kotlin/com/example/Maternal/MainActivity.kt
new file mode 100644
index 00000000..061d5d94
--- /dev/null
+++ b/Codex/BeingMom/android/app/src/main/kotlin/com/example/Maternal/MainActivity.kt
@@ -0,0 +1,6 @@
+package com.example.Maternal
+
+import io.flutter.embedding.android.FlutterActivity
+
+class MainActivity: FlutterActivity() {
+}
diff --git a/Codex/BeingMom/android/app/src/main/res/drawable/launch_background.xml b/Codex/BeingMom/android/app/src/main/res/drawable/launch_background.xml
new file mode 100644
index 00000000..304732f8
--- /dev/null
+++ b/Codex/BeingMom/android/app/src/main/res/drawable/launch_background.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
diff --git a/Codex/BeingMom/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/Codex/BeingMom/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 00000000..db77bb4b
Binary files /dev/null and b/Codex/BeingMom/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/Codex/BeingMom/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/Codex/BeingMom/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 00000000..17987b79
Binary files /dev/null and b/Codex/BeingMom/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/Codex/BeingMom/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/Codex/BeingMom/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 00000000..09d43914
Binary files /dev/null and b/Codex/BeingMom/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/Codex/BeingMom/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/Codex/BeingMom/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 00000000..d5f1c8d3
Binary files /dev/null and b/Codex/BeingMom/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/Codex/BeingMom/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/Codex/BeingMom/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 00000000..4d6372ee
Binary files /dev/null and b/Codex/BeingMom/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/Codex/BeingMom/android/app/src/main/res/values/styles.xml b/Codex/BeingMom/android/app/src/main/res/values/styles.xml
new file mode 100644
index 00000000..1f83a33f
--- /dev/null
+++ b/Codex/BeingMom/android/app/src/main/res/values/styles.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
diff --git a/Codex/BeingMom/android/app/src/profile/AndroidManifest.xml b/Codex/BeingMom/android/app/src/profile/AndroidManifest.xml
new file mode 100644
index 00000000..147710a6
--- /dev/null
+++ b/Codex/BeingMom/android/app/src/profile/AndroidManifest.xml
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/Codex/BeingMom/android/build.gradle b/Codex/BeingMom/android/build.gradle
new file mode 100644
index 00000000..3100ad2d
--- /dev/null
+++ b/Codex/BeingMom/android/build.gradle
@@ -0,0 +1,31 @@
+buildscript {
+ ext.kotlin_version = '1.3.50'
+ repositories {
+ google()
+ jcenter()
+ }
+
+ dependencies {
+ classpath 'com.android.tools.build:gradle:3.5.0'
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
+ }
+}
+
+allprojects {
+ repositories {
+ google()
+ jcenter()
+ }
+}
+
+rootProject.buildDir = '../build'
+subprojects {
+ project.buildDir = "${rootProject.buildDir}/${project.name}"
+}
+subprojects {
+ project.evaluationDependsOn(':app')
+}
+
+task clean(type: Delete) {
+ delete rootProject.buildDir
+}
diff --git a/Codex/BeingMom/android/gradle.properties b/Codex/BeingMom/android/gradle.properties
new file mode 100644
index 00000000..a6738207
--- /dev/null
+++ b/Codex/BeingMom/android/gradle.properties
@@ -0,0 +1,4 @@
+org.gradle.jvmargs=-Xmx1536M
+android.useAndroidX=true
+android.enableJetifier=true
+android.enableR8=true
diff --git a/Codex/BeingMom/android/gradle/wrapper/gradle-wrapper.properties b/Codex/BeingMom/android/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 00000000..296b146b
--- /dev/null
+++ b/Codex/BeingMom/android/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Fri Jun 23 08:50:38 CEST 2017
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip
diff --git a/Codex/BeingMom/android/settings.gradle b/Codex/BeingMom/android/settings.gradle
new file mode 100644
index 00000000..44e62bcf
--- /dev/null
+++ b/Codex/BeingMom/android/settings.gradle
@@ -0,0 +1,11 @@
+include ':app'
+
+def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
+def properties = new Properties()
+
+assert localPropertiesFile.exists()
+localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
+
+def flutterSdkPath = properties.getProperty("flutter.sdk")
+assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
+apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
diff --git a/Codex/BeingMom/assets/MAA.png b/Codex/BeingMom/assets/MAA.png
new file mode 100644
index 00000000..49268664
Binary files /dev/null and b/Codex/BeingMom/assets/MAA.png differ
diff --git a/Codex/BeingMom/assets/Nexa-Bold.otf b/Codex/BeingMom/assets/Nexa-Bold.otf
new file mode 100644
index 00000000..e188cd93
Binary files /dev/null and b/Codex/BeingMom/assets/Nexa-Bold.otf differ
diff --git a/Codex/BeingMom/assets/Nexa-Light.otf b/Codex/BeingMom/assets/Nexa-Light.otf
new file mode 100644
index 00000000..4393193f
Binary files /dev/null and b/Codex/BeingMom/assets/Nexa-Light.otf differ
diff --git a/Codex/BeingMom/assets/focus.jpeg b/Codex/BeingMom/assets/focus.jpeg
new file mode 100644
index 00000000..33d03004
Binary files /dev/null and b/Codex/BeingMom/assets/focus.jpeg differ
diff --git a/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-Black.ttf b/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-Black.ttf
new file mode 100644
index 00000000..3f972d17
Binary files /dev/null and b/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-Black.ttf differ
diff --git a/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-Bold.ttf b/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-Bold.ttf
new file mode 100644
index 00000000..7718ada0
Binary files /dev/null and b/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-Bold.ttf differ
diff --git a/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-ExtraBold.ttf b/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-ExtraBold.ttf
new file mode 100644
index 00000000..e5710999
Binary files /dev/null and b/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-ExtraBold.ttf differ
diff --git a/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-ExtraLight.ttf b/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-ExtraLight.ttf
new file mode 100644
index 00000000..3798fbec
Binary files /dev/null and b/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-ExtraLight.ttf differ
diff --git a/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-Light.ttf b/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-Light.ttf
new file mode 100644
index 00000000..8b032275
Binary files /dev/null and b/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-Light.ttf differ
diff --git a/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-Medium.ttf b/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-Medium.ttf
new file mode 100644
index 00000000..137cf564
Binary files /dev/null and b/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-Medium.ttf differ
diff --git a/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-Regular.ttf b/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-Regular.ttf
new file mode 100644
index 00000000..ba11a2de
Binary files /dev/null and b/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-Regular.ttf differ
diff --git a/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-SemiBold.ttf b/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-SemiBold.ttf
new file mode 100644
index 00000000..5cefd7c6
Binary files /dev/null and b/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-SemiBold.ttf differ
diff --git a/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-Thin.ttf b/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-Thin.ttf
new file mode 100644
index 00000000..47a06ef1
Binary files /dev/null and b/Codex/BeingMom/assets/fonts/Work_Sans/WorkSans-Thin.ttf differ
diff --git a/Codex/BeingMom/assets/ic_flutter_logo.png b/Codex/BeingMom/assets/ic_flutter_logo.png
new file mode 100644
index 00000000..b5ccd30d
Binary files /dev/null and b/Codex/BeingMom/assets/ic_flutter_logo.png differ
diff --git a/Codex/BeingMom/assets/images/as.png b/Codex/BeingMom/assets/images/as.png
new file mode 100644
index 00000000..14327f2e
Binary files /dev/null and b/Codex/BeingMom/assets/images/as.png differ
diff --git a/Codex/BeingMom/assets/images/email_icon.png b/Codex/BeingMom/assets/images/email_icon.png
new file mode 100644
index 00000000..273bb116
Binary files /dev/null and b/Codex/BeingMom/assets/images/email_icon.png differ
diff --git a/Codex/BeingMom/assets/images/logo.png b/Codex/BeingMom/assets/images/logo.png
new file mode 100644
index 00000000..3945caaa
Binary files /dev/null and b/Codex/BeingMom/assets/images/logo.png differ
diff --git a/Codex/BeingMom/assets/images/password_icon.png b/Codex/BeingMom/assets/images/password_icon.png
new file mode 100644
index 00000000..d051aa5c
Binary files /dev/null and b/Codex/BeingMom/assets/images/password_icon.png differ
diff --git a/Codex/BeingMom/assets/images/powered_by.png b/Codex/BeingMom/assets/images/powered_by.png
new file mode 100644
index 00000000..8d74565a
Binary files /dev/null and b/Codex/BeingMom/assets/images/powered_by.png differ
diff --git a/Codex/BeingMom/assets/images/user_icon.png b/Codex/BeingMom/assets/images/user_icon.png
new file mode 100644
index 00000000..515b6c2c
Binary files /dev/null and b/Codex/BeingMom/assets/images/user_icon.png differ
diff --git a/Codex/BeingMom/assets/img/login_logo.png b/Codex/BeingMom/assets/img/login_logo.png
new file mode 100644
index 00000000..0531be98
Binary files /dev/null and b/Codex/BeingMom/assets/img/login_logo.png differ
diff --git a/Codex/BeingMom/assets/justine.jpg b/Codex/BeingMom/assets/justine.jpg
new file mode 100644
index 00000000..5d0bbcee
Binary files /dev/null and b/Codex/BeingMom/assets/justine.jpg differ
diff --git a/Codex/BeingMom/assets/preview.jpg b/Codex/BeingMom/assets/preview.jpg
new file mode 100644
index 00000000..a2b2c300
Binary files /dev/null and b/Codex/BeingMom/assets/preview.jpg differ
diff --git a/Codex/BeingMom/assets/shoes1.png b/Codex/BeingMom/assets/shoes1.png
new file mode 100644
index 00000000..5c3785ec
Binary files /dev/null and b/Codex/BeingMom/assets/shoes1.png differ
diff --git a/Codex/BeingMom/ios/.gitignore b/Codex/BeingMom/ios/.gitignore
new file mode 100644
index 00000000..e96ef602
--- /dev/null
+++ b/Codex/BeingMom/ios/.gitignore
@@ -0,0 +1,32 @@
+*.mode1v3
+*.mode2v3
+*.moved-aside
+*.pbxuser
+*.perspectivev3
+**/*sync/
+.sconsign.dblite
+.tags*
+**/.vagrant/
+**/DerivedData/
+Icon?
+**/Pods/
+**/.symlinks/
+profile
+xcuserdata
+**/.generated/
+Flutter/App.framework
+Flutter/Flutter.framework
+Flutter/Flutter.podspec
+Flutter/Generated.xcconfig
+Flutter/app.flx
+Flutter/app.zip
+Flutter/flutter_assets/
+Flutter/flutter_export_environment.sh
+ServiceDefinitions.json
+Runner/GeneratedPluginRegistrant.*
+
+# Exceptions to above rules.
+!default.mode1v3
+!default.mode2v3
+!default.pbxuser
+!default.perspectivev3
diff --git a/Codex/BeingMom/ios/Flutter/AppFrameworkInfo.plist b/Codex/BeingMom/ios/Flutter/AppFrameworkInfo.plist
new file mode 100644
index 00000000..f2872cf4
--- /dev/null
+++ b/Codex/BeingMom/ios/Flutter/AppFrameworkInfo.plist
@@ -0,0 +1,26 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleExecutable
+ App
+ CFBundleIdentifier
+ io.flutter.flutter.app
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ App
+ CFBundlePackageType
+ FMWK
+ CFBundleShortVersionString
+ 1.0
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ 1.0
+ MinimumOSVersion
+ 9.0
+
+
diff --git a/Codex/BeingMom/ios/Flutter/Debug.xcconfig b/Codex/BeingMom/ios/Flutter/Debug.xcconfig
new file mode 100644
index 00000000..592ceee8
--- /dev/null
+++ b/Codex/BeingMom/ios/Flutter/Debug.xcconfig
@@ -0,0 +1 @@
+#include "Generated.xcconfig"
diff --git a/Codex/BeingMom/ios/Flutter/Release.xcconfig b/Codex/BeingMom/ios/Flutter/Release.xcconfig
new file mode 100644
index 00000000..592ceee8
--- /dev/null
+++ b/Codex/BeingMom/ios/Flutter/Release.xcconfig
@@ -0,0 +1 @@
+#include "Generated.xcconfig"
diff --git a/Codex/BeingMom/ios/Runner.xcodeproj/project.pbxproj b/Codex/BeingMom/ios/Runner.xcodeproj/project.pbxproj
new file mode 100644
index 00000000..f2952b7b
--- /dev/null
+++ b/Codex/BeingMom/ios/Runner.xcodeproj/project.pbxproj
@@ -0,0 +1,495 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
+ 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
+ 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
+ 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
+ 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
+ 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 10;
+ files = (
+ );
+ name = "Embed Frameworks";
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
+ 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
+ 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
+ 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
+ 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
+ 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
+ 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
+ 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
+ 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
+ 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
+ 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 97C146EB1CF9000F007C117D /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 9740EEB11CF90186004384FC /* Flutter */ = {
+ isa = PBXGroup;
+ children = (
+ 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
+ 9740EEB21CF90195004384FC /* Debug.xcconfig */,
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
+ 9740EEB31CF90195004384FC /* Generated.xcconfig */,
+ );
+ name = Flutter;
+ sourceTree = "";
+ };
+ 97C146E51CF9000F007C117D = {
+ isa = PBXGroup;
+ children = (
+ 9740EEB11CF90186004384FC /* Flutter */,
+ 97C146F01CF9000F007C117D /* Runner */,
+ 97C146EF1CF9000F007C117D /* Products */,
+ );
+ sourceTree = "";
+ };
+ 97C146EF1CF9000F007C117D /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 97C146EE1CF9000F007C117D /* Runner.app */,
+ );
+ name = Products;
+ sourceTree = "";
+ };
+ 97C146F01CF9000F007C117D /* Runner */ = {
+ isa = PBXGroup;
+ children = (
+ 97C146FA1CF9000F007C117D /* Main.storyboard */,
+ 97C146FD1CF9000F007C117D /* Assets.xcassets */,
+ 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
+ 97C147021CF9000F007C117D /* Info.plist */,
+ 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
+ 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
+ 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
+ 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
+ );
+ path = Runner;
+ sourceTree = "";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 97C146ED1CF9000F007C117D /* Runner */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
+ buildPhases = (
+ 9740EEB61CF901F6004384FC /* Run Script */,
+ 97C146EA1CF9000F007C117D /* Sources */,
+ 97C146EB1CF9000F007C117D /* Frameworks */,
+ 97C146EC1CF9000F007C117D /* Resources */,
+ 9705A1C41CF9048500538489 /* Embed Frameworks */,
+ 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = Runner;
+ productName = Runner;
+ productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 97C146E61CF9000F007C117D /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 1020;
+ ORGANIZATIONNAME = "";
+ TargetAttributes = {
+ 97C146ED1CF9000F007C117D = {
+ CreatedOnToolsVersion = 7.3.1;
+ LastSwiftMigration = 1100;
+ };
+ };
+ };
+ buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
+ compatibilityVersion = "Xcode 9.3";
+ developmentRegion = en;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ Base,
+ );
+ mainGroup = 97C146E51CF9000F007C117D;
+ productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 97C146ED1CF9000F007C117D /* Runner */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 97C146EC1CF9000F007C117D /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
+ 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
+ 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
+ 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Thin Binary";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
+ };
+ 9740EEB61CF901F6004384FC /* Run Script */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Run Script";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 97C146EA1CF9000F007C117D /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
+ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+ 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 97C146FB1CF9000F007C117D /* Base */,
+ );
+ name = Main.storyboard;
+ sourceTree = "";
+ };
+ 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 97C147001CF9000F007C117D /* Base */,
+ );
+ name = LaunchScreen.storyboard;
+ sourceTree = "";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 249021D3217E4FDB00AE95B9 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = iphoneos;
+ SUPPORTED_PLATFORMS = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Profile;
+ };
+ 249021D4217E4FDB00AE95B9 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ ENABLE_BITCODE = NO;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PROJECT_DIR)/Flutter",
+ );
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ LIBRARY_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PROJECT_DIR)/Flutter",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.Maternal;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
+ SWIFT_VERSION = 5.0;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Profile;
+ };
+ 97C147031CF9000F007C117D /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_TESTABILITY = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+ MTL_ENABLE_DEBUG_INFO = YES;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ };
+ name = Debug;
+ };
+ 97C147041CF9000F007C117D /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = iphoneos;
+ SUPPORTED_PLATFORMS = iphoneos;
+ SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ 97C147061CF9000F007C117D /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ ENABLE_BITCODE = NO;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PROJECT_DIR)/Flutter",
+ );
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ LIBRARY_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PROJECT_DIR)/Flutter",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.Maternal;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ SWIFT_VERSION = 5.0;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Debug;
+ };
+ 97C147071CF9000F007C117D /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ ENABLE_BITCODE = NO;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PROJECT_DIR)/Flutter",
+ );
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ LIBRARY_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PROJECT_DIR)/Flutter",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.Maternal;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
+ SWIFT_VERSION = 5.0;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 97C147031CF9000F007C117D /* Debug */,
+ 97C147041CF9000F007C117D /* Release */,
+ 249021D3217E4FDB00AE95B9 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 97C147061CF9000F007C117D /* Debug */,
+ 97C147071CF9000F007C117D /* Release */,
+ 249021D4217E4FDB00AE95B9 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 97C146E61CF9000F007C117D /* Project object */;
+}
diff --git a/Codex/BeingMom/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Codex/BeingMom/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 00000000..1d526a16
--- /dev/null
+++ b/Codex/BeingMom/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/Codex/BeingMom/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Codex/BeingMom/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 00000000..18d98100
--- /dev/null
+++ b/Codex/BeingMom/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/Codex/BeingMom/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/Codex/BeingMom/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
new file mode 100644
index 00000000..f9b0d7c5
--- /dev/null
+++ b/Codex/BeingMom/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
@@ -0,0 +1,8 @@
+
+
+
+
+ PreviewsEnabled
+
+
+
diff --git a/Codex/BeingMom/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/Codex/BeingMom/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
new file mode 100644
index 00000000..a28140cf
--- /dev/null
+++ b/Codex/BeingMom/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Codex/BeingMom/ios/Runner.xcworkspace/contents.xcworkspacedata b/Codex/BeingMom/ios/Runner.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 00000000..1d526a16
--- /dev/null
+++ b/Codex/BeingMom/ios/Runner.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/Codex/BeingMom/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Codex/BeingMom/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 00000000..18d98100
--- /dev/null
+++ b/Codex/BeingMom/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/Codex/BeingMom/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/Codex/BeingMom/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
new file mode 100644
index 00000000..f9b0d7c5
--- /dev/null
+++ b/Codex/BeingMom/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
@@ -0,0 +1,8 @@
+
+
+
+
+ PreviewsEnabled
+
+
+
diff --git a/Codex/BeingMom/ios/Runner/AppDelegate.swift b/Codex/BeingMom/ios/Runner/AppDelegate.swift
new file mode 100644
index 00000000..70693e4a
--- /dev/null
+++ b/Codex/BeingMom/ios/Runner/AppDelegate.swift
@@ -0,0 +1,13 @@
+import UIKit
+import Flutter
+
+@UIApplicationMain
+@objc class AppDelegate: FlutterAppDelegate {
+ override func application(
+ _ application: UIApplication,
+ didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
+ ) -> Bool {
+ GeneratedPluginRegistrant.register(with: self)
+ return super.application(application, didFinishLaunchingWithOptions: launchOptions)
+ }
+}
diff --git a/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
new file mode 100644
index 00000000..d36b1fab
--- /dev/null
+++ b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,122 @@
+{
+ "images" : [
+ {
+ "size" : "20x20",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-20x20@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-20x20@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-40x40@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-40x40@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-60x60@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-60x60@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-20x20@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-20x20@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-29x29@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-29x29@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-40x40@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-40x40@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-76x76@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-76x76@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "83.5x83.5",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-83.5x83.5@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "1024x1024",
+ "idiom" : "ios-marketing",
+ "filename" : "Icon-App-1024x1024@1x.png",
+ "scale" : "1x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
diff --git a/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
new file mode 100644
index 00000000..dc9ada47
Binary files /dev/null and b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png differ
diff --git a/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
new file mode 100644
index 00000000..28c6bf03
Binary files /dev/null and b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png differ
diff --git a/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
new file mode 100644
index 00000000..2ccbfd96
Binary files /dev/null and b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png differ
diff --git a/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
new file mode 100644
index 00000000..f091b6b0
Binary files /dev/null and b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png differ
diff --git a/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
new file mode 100644
index 00000000..4cde1211
Binary files /dev/null and b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png differ
diff --git a/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
new file mode 100644
index 00000000..d0ef06e7
Binary files /dev/null and b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png differ
diff --git a/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
new file mode 100644
index 00000000..dcdc2306
Binary files /dev/null and b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png differ
diff --git a/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
new file mode 100644
index 00000000..2ccbfd96
Binary files /dev/null and b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png differ
diff --git a/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
new file mode 100644
index 00000000..c8f9ed8f
Binary files /dev/null and b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png differ
diff --git a/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
new file mode 100644
index 00000000..a6d6b860
Binary files /dev/null and b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png differ
diff --git a/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
new file mode 100644
index 00000000..a6d6b860
Binary files /dev/null and b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png differ
diff --git a/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
new file mode 100644
index 00000000..75b2d164
Binary files /dev/null and b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png differ
diff --git a/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
new file mode 100644
index 00000000..c4df70d3
Binary files /dev/null and b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png differ
diff --git a/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
new file mode 100644
index 00000000..6a84f41e
Binary files /dev/null and b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png differ
diff --git a/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
new file mode 100644
index 00000000..d0e1f585
Binary files /dev/null and b/Codex/BeingMom/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png differ
diff --git a/Codex/BeingMom/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/Codex/BeingMom/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
new file mode 100644
index 00000000..0bedcf2f
--- /dev/null
+++ b/Codex/BeingMom/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
@@ -0,0 +1,23 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchImage.png",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchImage@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchImage@3x.png",
+ "scale" : "3x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
diff --git a/Codex/BeingMom/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/Codex/BeingMom/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
new file mode 100644
index 00000000..9da19eac
Binary files /dev/null and b/Codex/BeingMom/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png differ
diff --git a/Codex/BeingMom/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/Codex/BeingMom/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
new file mode 100644
index 00000000..9da19eac
Binary files /dev/null and b/Codex/BeingMom/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png differ
diff --git a/Codex/BeingMom/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/Codex/BeingMom/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
new file mode 100644
index 00000000..9da19eac
Binary files /dev/null and b/Codex/BeingMom/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png differ
diff --git a/Codex/BeingMom/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/Codex/BeingMom/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
new file mode 100644
index 00000000..89c2725b
--- /dev/null
+++ b/Codex/BeingMom/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
@@ -0,0 +1,5 @@
+# Launch Screen Assets
+
+You can customize the launch screen with your own desired assets by replacing the image files in this directory.
+
+You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
\ No newline at end of file
diff --git a/Codex/BeingMom/ios/Runner/Base.lproj/LaunchScreen.storyboard b/Codex/BeingMom/ios/Runner/Base.lproj/LaunchScreen.storyboard
new file mode 100644
index 00000000..f2e259c7
--- /dev/null
+++ b/Codex/BeingMom/ios/Runner/Base.lproj/LaunchScreen.storyboard
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Codex/BeingMom/ios/Runner/Base.lproj/Main.storyboard b/Codex/BeingMom/ios/Runner/Base.lproj/Main.storyboard
new file mode 100644
index 00000000..f3c28516
--- /dev/null
+++ b/Codex/BeingMom/ios/Runner/Base.lproj/Main.storyboard
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Codex/BeingMom/ios/Runner/Info.plist b/Codex/BeingMom/ios/Runner/Info.plist
new file mode 100644
index 00000000..405eaafe
--- /dev/null
+++ b/Codex/BeingMom/ios/Runner/Info.plist
@@ -0,0 +1,45 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleExecutable
+ $(EXECUTABLE_NAME)
+ CFBundleIdentifier
+ $(PRODUCT_BUNDLE_IDENTIFIER)
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ Maternal
+ CFBundlePackageType
+ APPL
+ CFBundleShortVersionString
+ $(FLUTTER_BUILD_NAME)
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ $(FLUTTER_BUILD_NUMBER)
+ LSRequiresIPhoneOS
+
+ UILaunchStoryboardName
+ LaunchScreen
+ UIMainStoryboardFile
+ Main
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UISupportedInterfaceOrientations~ipad
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationPortraitUpsideDown
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UIViewControllerBasedStatusBarAppearance
+
+
+
diff --git a/Codex/BeingMom/ios/Runner/Runner-Bridging-Header.h b/Codex/BeingMom/ios/Runner/Runner-Bridging-Header.h
new file mode 100644
index 00000000..308a2a56
--- /dev/null
+++ b/Codex/BeingMom/ios/Runner/Runner-Bridging-Header.h
@@ -0,0 +1 @@
+#import "GeneratedPluginRegistrant.h"
diff --git a/Codex/BeingMom/lib/classes/ratings.dart b/Codex/BeingMom/lib/classes/ratings.dart
new file mode 100644
index 00000000..03b36105
--- /dev/null
+++ b/Codex/BeingMom/lib/classes/ratings.dart
@@ -0,0 +1,8 @@
+class ShopItemRating
+{
+ String userName;
+ String review;
+ int rating;
+
+ ShopItemRating(this.userName, this.rating, {this.review});
+}
\ No newline at end of file
diff --git a/Codex/BeingMom/lib/classes/shop_item.dart b/Codex/BeingMom/lib/classes/shop_item.dart
new file mode 100644
index 00000000..ccae7331
--- /dev/null
+++ b/Codex/BeingMom/lib/classes/shop_item.dart
@@ -0,0 +1,7 @@
+import 'ratings.dart';
+
+class ShopItem
+{
+ String name;
+ List ratings;
+}
\ No newline at end of file
diff --git a/Codex/BeingMom/lib/components/multi_button.dart b/Codex/BeingMom/lib/components/multi_button.dart
new file mode 100644
index 00000000..f7420c31
--- /dev/null
+++ b/Codex/BeingMom/lib/components/multi_button.dart
@@ -0,0 +1,32 @@
+import 'package:flutter/material.dart';
+
+class MultiButton extends StatelessWidget {
+ final String buttonText;
+ final Color buttonColor;
+ final Function onPressed;
+
+ MultiButton(this.buttonText, this.buttonColor, this.onPressed);
+
+ @override
+ Widget build(BuildContext context) {
+ return Padding(
+ padding: EdgeInsets.symmetric(vertical: 16.0),
+ child: Material(
+ elevation: 5.0,
+ color: buttonColor,
+ borderRadius: BorderRadius.circular(30.0),
+ child: MaterialButton(
+ onPressed: onPressed,
+ minWidth: 200.0,
+ height: 42.0,
+ child: Text(
+ buttonText,
+ style: TextStyle(
+ color: Colors.white,
+ ),
+ ),
+ ),
+ ),
+ );
+ }
+}
diff --git a/Codex/BeingMom/lib/components/reusable_card.dart b/Codex/BeingMom/lib/components/reusable_card.dart
new file mode 100644
index 00000000..16baf576
--- /dev/null
+++ b/Codex/BeingMom/lib/components/reusable_card.dart
@@ -0,0 +1,27 @@
+import 'package:flutter/material.dart';
+
+class ReusableCard extends StatelessWidget {
+ ReusableCard({@required this.colour, this.cardChild, this.launchScreen});
+
+ final Color colour;
+ final Widget cardChild;
+ final String launchScreen;
+
+ @override
+ Widget build(BuildContext context) {
+ return GestureDetector(
+ onTap: () {
+ Navigator.pushNamed(
+ context,
+ launchScreen,
+ );
+ },
+ child: Container(
+ child: cardChild,
+ margin: EdgeInsets.all(15.0),
+ decoration: BoxDecoration(
+ color: colour, borderRadius: BorderRadius.circular(10.0)),
+ ),
+ );
+ }
+}
diff --git a/Codex/BeingMom/lib/components/reusable_child_card.dart b/Codex/BeingMom/lib/components/reusable_child_card.dart
new file mode 100644
index 00000000..fb0450a9
--- /dev/null
+++ b/Codex/BeingMom/lib/components/reusable_child_card.dart
@@ -0,0 +1,29 @@
+import 'package:flutter/material.dart';
+import 'package:pregnency_helper/constants.dart';
+
+class ReusableChildCard extends StatelessWidget {
+ ReusableChildCard({this.childCardIcon, this.childCardText});
+
+ final IconData childCardIcon;
+ final String childCardText;
+
+ @override
+ Widget build(BuildContext context) {
+ return Column(
+ mainAxisAlignment: MainAxisAlignment.center,
+ children: [
+ Icon(
+ childCardIcon,
+ size: 80.0,
+ ),
+ SizedBox(
+ height: 15.0,
+ ),
+ Text(
+ childCardText,
+ style: kLabelTextStyle,
+ ),
+ ],
+ );
+ }
+}
diff --git a/Codex/BeingMom/lib/constants.dart b/Codex/BeingMom/lib/constants.dart
new file mode 100644
index 00000000..5f1830ed
--- /dev/null
+++ b/Codex/BeingMom/lib/constants.dart
@@ -0,0 +1,71 @@
+import 'package:flutter/material.dart';
+
+const kSendButtonTextStyle = TextStyle(
+ color: Colors.lightBlueAccent,
+ fontWeight: FontWeight.bold,
+ fontSize: 18.0,
+);
+
+const kMessageTextFieldDecoration = InputDecoration(
+ contentPadding: EdgeInsets.symmetric(vertical: 10.0, horizontal: 20.0),
+ hintText: 'Type your message here...',
+ border: InputBorder.none,
+);
+
+const kMessageContainerDecoration = BoxDecoration(
+ border: Border(
+ top: BorderSide(color: Colors.lightBlueAccent, width: 2.0),
+ ),
+);
+
+const kTextFieldDecoration = InputDecoration(
+ hintText: 'Enter value',
+ contentPadding: EdgeInsets.symmetric(vertical: 10.0, horizontal: 20.0),
+ border: OutlineInputBorder(
+ borderRadius: BorderRadius.all(Radius.circular(32.0)),
+ ),
+ enabledBorder: OutlineInputBorder(
+ borderSide: BorderSide(color: Colors.lightBlueAccent, width: 1.0),
+ borderRadius: BorderRadius.all(Radius.circular(32.0)),
+ ),
+ focusedBorder: OutlineInputBorder(
+ borderSide: BorderSide(color: Colors.lightBlueAccent, width: 2.0),
+ borderRadius: BorderRadius.all(Radius.circular(32.0)),
+ ),
+);
+
+const Color reusableCardColor = Color(0xFF1D1E33);
+const Color inactiveColor = Color(0xFF111328);
+const double bottomContainerHeight = 80.0;
+const Color bottomContainerColor = Color(0xFFEB1555);
+
+const kLabelTextStyle = TextStyle(
+ fontSize: 18.0,
+ color: Color(0xFF000000),
+);
+
+const kNumberTextStyle = TextStyle(
+ fontSize: 50.0,
+ fontWeight: FontWeight.w900,
+);
+
+const kLargeTextStyle = TextStyle(
+ fontSize: 25.0,
+ fontWeight: FontWeight.bold,
+);
+
+const kTitleTextStyle = TextStyle(
+ fontSize: 50.0,
+ fontWeight: FontWeight.bold,
+);
+
+const kResultTextStyle = TextStyle(
+ color: Color(0xFF24D876),
+ fontSize: 25.0,
+ fontWeight: FontWeight.bold,
+);
+
+const kBMITextStyle = TextStyle(
+ fontSize: 100.0,
+ fontWeight: FontWeight.bold,
+);
diff --git a/Codex/BeingMom/lib/login.dart b/Codex/BeingMom/lib/login.dart
new file mode 100644
index 00000000..92ce8f7c
--- /dev/null
+++ b/Codex/BeingMom/lib/login.dart
@@ -0,0 +1,136 @@
+import 'package:flutter/material.dart';
+import 'package:login_page_day_23/animation/FadeAnimation.dart';
+
+class LoginPage extends StatelessWidget {
+ @override
+ Widget build(BuildContext context) {
+ return Scaffold(
+ resizeToAvoidBottomInset: false,
+ backgroundColor: Colors.white,
+ appBar: AppBar(
+ elevation: 0,
+ brightness: Brightness.light,
+ backgroundColor: Colors.white,
+ leading: IconButton(
+ onPressed: () {
+ Navigator.pop(context);
+ },
+ icon: Icon(Icons.arrow_back_ios, size: 20, color: Colors.black,),
+ ),
+ ),
+ body: Container(
+ height: MediaQuery.of(context).size.height,
+ width: double.infinity,
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ children: [
+ Expanded(
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.spaceEvenly,
+ children: [
+ Column(
+ children: [
+ FadeAnimation(1, Text("Login", style: TextStyle(
+ fontSize: 30,
+ fontWeight: FontWeight.bold
+ ),)),
+ SizedBox(height: 20,),
+ FadeAnimation(1.2, Text("", style: TextStyle(
+ fontSize: 15,
+ color: Colors.grey[700]
+ ),)),
+ ],
+ ),
+ Padding(
+ padding: EdgeInsets.symmetric(horizontal: 40),
+ child: Column(
+ children: [
+ FadeAnimation(1.2, makeInput(label: "Email")),
+ FadeAnimation(1.3, makeInput(label: "Password", obscureText: true)),
+ ],
+ ),
+ ),
+ FadeAnimation(1.4, Padding(
+ padding: EdgeInsets.symmetric(horizontal: 40),
+ child: Container(
+ padding: EdgeInsets.only(top: 3, left: 3),
+ decoration: BoxDecoration(
+ borderRadius: BorderRadius.circular(50),
+ border: Border(
+ bottom: BorderSide(color: Colors.black),
+ top: BorderSide(color: Colors.black),
+ left: BorderSide(color: Colors.black),
+ right: BorderSide(color: Colors.black),
+ )
+ ),
+ child: MaterialButton(
+ minWidth: double.infinity,
+ height: 60,
+ onPressed: () {},
+ color: Colors.lightBlue[300],
+ elevation: 0,
+ shape: RoundedRectangleBorder(
+ borderRadius: BorderRadius.circular(50)
+ ),
+ child: Text("Login", style: TextStyle(
+ fontWeight: FontWeight.w600,
+ fontSize: 18
+ ),),
+ ),
+ ),
+ )),
+ FadeAnimation(1.5, Row(
+ mainAxisAlignment: MainAxisAlignment.center,
+ children: [
+ Text(" "),
+ Text(" ", style: TextStyle(
+ fontWeight: FontWeight.w600, fontSize: 16
+ ),),
+ ],
+ ))
+ ],
+ ),
+ ),
+
+ FadeAnimation(1.2, Container(
+ height: MediaQuery.of(context).size.height / 3,
+ decoration: BoxDecoration(
+ image: DecorationImage(
+ image: AssetImage('assets/background.png'),
+ fit: BoxFit.cover
+ )
+ ),
+ ))
+ ],
+ ),
+ ),
+ );
+ }
+
+ Widget makeInput({label, obscureText = false}) {
+ return Column(
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ Text(label, style: TextStyle(
+ fontSize: 15,
+ fontWeight: FontWeight.w400,
+ color: Colors.black87
+ ),),
+ SizedBox(height: 5,),
+ TextField(
+ obscureText: obscureText,
+ decoration: InputDecoration(
+ contentPadding: EdgeInsets.symmetric(vertical: 0, horizontal: 10),
+ enabledBorder: OutlineInputBorder(
+ borderSide: BorderSide(color: Colors.grey[400])
+ ),
+ border: OutlineInputBorder(
+ borderSide: BorderSide(color: Colors.grey[400])
+ ),
+ ),
+ ),
+ SizedBox(height: 30,),
+ ],
+ );
+ }
+}
\ No newline at end of file
diff --git a/Codex/BeingMom/lib/main.dart b/Codex/BeingMom/lib/main.dart
new file mode 100644
index 00000000..58b77f96
--- /dev/null
+++ b/Codex/BeingMom/lib/main.dart
@@ -0,0 +1,18 @@
+import 'package:flutter/material.dart';
+import 'package:Maternal/ui/login_page.dart';
+
+void main() => runApp(new MyApp());
+
+class MyApp extends StatelessWidget {
+ @override
+ Widget build(BuildContext context) {
+ return new MaterialApp(
+ title: 'Maternal',
+ theme: new ThemeData(
+
+ primarySwatch: Colors.blue,
+ ),
+ home: new LoginPage(),
+ );
+ }
+}
\ No newline at end of file
diff --git a/Codex/BeingMom/lib/map.dart b/Codex/BeingMom/lib/map.dart
new file mode 100644
index 00000000..c85aa31c
--- /dev/null
+++ b/Codex/BeingMom/lib/map.dart
@@ -0,0 +1,290 @@
+import 'dart:async';
+import 'package:Maternal/pages/dashboard.dart';
+import 'package:flutter/material.dart';
+import 'package:google_maps_flutter/google_maps_flutter.dart';
+import 'package:font_awesome_flutter/font_awesome_flutter.dart';
+
+class MapPage extends StatefulWidget {
+ @override
+ MapPageState createState() => MapPageState();
+}
+
+class MapPageState extends State {
+ Completer _controller = Completer();
+
+ @override
+ void initState() {
+ super.initState();
+ }
+ double zoomVal=5.0;
+ @override
+ Widget build(BuildContext context) {
+ return Scaffold(
+ appBar: AppBar(
+ leading: IconButton(
+ icon: Icon(FontAwesomeIcons.arrowLeft),
+ onPressed: () => Navigator.of(context)
+ .push(MaterialPageRoute(builder: (_) => MainPage())
+
+ //
+ )),
+ title: Text("New Delhi"),
+ actions: [
+ IconButton(
+ icon: Icon(FontAwesomeIcons.search),
+ onPressed: () {
+ //
+ }),
+ ],
+ ),
+ body: Stack(
+ children: [
+ _buildGoogleMap(context),
+ _zoomminusfunction(),
+ _zoomplusfunction(),
+ _buildContainer(),
+ ],
+ ),
+ );
+ }
+
+ Widget _zoomminusfunction() {
+
+ return Align(
+ alignment: Alignment.topLeft,
+ child: IconButton(
+ icon: Icon(FontAwesomeIcons.searchMinus,color:Color(0xff6200ee)),
+ onPressed: () {
+ zoomVal--;
+ _minus( zoomVal);
+ }),
+ );
+ }
+ Widget _zoomplusfunction() {
+
+ return Align(
+ alignment: Alignment.topRight,
+ child: IconButton(
+ icon: Icon(FontAwesomeIcons.searchPlus,color:Color(0xff6200ee)),
+ onPressed: () {
+ zoomVal++;
+ _plus(zoomVal);
+ }),
+ );
+ }
+
+ Future _minus(double zoomVal) async {
+ final GoogleMapController controller = await _controller.future;
+ controller.animateCamera(CameraUpdate.newCameraPosition(CameraPosition(target: LatLng(40.712776, -74.005974), zoom: zoomVal)));
+ }
+ Future _plus(double zoomVal) async {
+ final GoogleMapController controller = await _controller.future;
+ controller.animateCamera(CameraUpdate.newCameraPosition(CameraPosition(target: LatLng(40.712776, -74.005974), zoom: zoomVal)));
+ }
+
+
+ Widget _buildContainer() {
+ return Align(
+ alignment: Alignment.bottomLeft,
+ child: Container(
+ margin: EdgeInsets.symmetric(vertical: 20.0),
+ height: 150.0,
+ child: ListView(
+ scrollDirection: Axis.horizontal,
+ children: [
+ SizedBox(width: 10.0),
+ Padding(
+ padding: const EdgeInsets.all(8.0),
+ child: _boxes(
+ "https://content3.jdmagicbox.com/comp/delhi/g3/011pxx11.xx11.140222141957.a9g3/catalogue/dr-kameshwar-prasad-aiims-hospital--ansari-nagar-aiims-delhi-neurologists-989c2.jpg",
+ 28.568180, 77.212570, "AIIMS"),
+ ),
+ SizedBox(width: 10.0),
+ Padding(
+ padding: const EdgeInsets.all(8.0),
+ child: _boxes(
+ "https://akm-img-a-in.tosshub.com/indiatoday/images/story/201808/safdarjung.jpeg?Zov73a9ziy5NgsT7ZsidrSXC3dHIpMxL",
+ 28.595370, 77.205820 ,"Safdarjung Hospital"),
+ ),
+ ],
+ ),
+ ),
+ );
+ }
+
+ Widget _boxes(String _image, double lat,double long,String restaurantName) {
+ return GestureDetector(
+ onTap: () {
+ _gotoLocation(lat,long);
+ },
+ child:Container(
+ child: new FittedBox(
+ child: Material(
+ color: Colors.white,
+ elevation: 14.0,
+ borderRadius: BorderRadius.circular(24.0),
+ shadowColor: Color(0x802196F3),
+ child: Row(
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ children: [
+ Container(
+ width: 180,
+ height: 200,
+ child: ClipRRect(
+ borderRadius: new BorderRadius.circular(24.0),
+ child: Image(
+ fit: BoxFit.fill,
+ image: NetworkImage(_image),
+ ),
+ ),),
+ Container(
+ child: Padding(
+ padding: const EdgeInsets.all(8.0),
+ child: myDetailsContainer1(restaurantName),
+ ),
+ ),
+
+ ],)
+ ),
+ ),
+ ),
+ );
+ }
+
+ Widget myDetailsContainer1(String restaurantName) {
+ return Column(
+ mainAxisAlignment: MainAxisAlignment.spaceEvenly,
+ children: [
+ Padding(
+ padding: const EdgeInsets.only(left: 8.0),
+ child: Container(
+ child: Text(restaurantName,
+ style: TextStyle(
+ color: Color(0xff6200ee),
+ fontSize: 24.0,
+ fontWeight: FontWeight.bold),
+ )),
+ ),
+ SizedBox(height:5.0),
+ Container(
+ child: Row(
+ mainAxisAlignment: MainAxisAlignment.spaceEvenly,
+ children: [
+ Container(
+ child: Text(
+ "4.1",
+ style: TextStyle(
+ color: Colors.black54,
+ fontSize: 18.0,
+ ),
+ )),
+ Container(
+ child: Icon(
+ FontAwesomeIcons.solidStar,
+ color: Colors.amber,
+ size: 15.0,
+ ),
+ ),
+ Container(
+ child: Icon(
+ FontAwesomeIcons.solidStar,
+ color: Colors.amber,
+ size: 15.0,
+ ),
+ ),
+ Container(
+ child: Icon(
+ FontAwesomeIcons.solidStar,
+ color: Colors.amber,
+ size: 15.0,
+ ),
+ ),
+ Container(
+ child: Icon(
+ FontAwesomeIcons.solidStar,
+ color: Colors.amber,
+ size: 15.0,
+ ),
+ ),
+ Container(
+ child: Icon(
+ FontAwesomeIcons.solidStarHalf,
+ color: Colors.amber,
+ size: 15.0,
+ ),
+ ),
+ Container(
+ child: Text(
+ "(946)",
+ style: TextStyle(
+ color: Colors.black54,
+ fontSize: 18.0,
+ ),
+ )),
+ ],
+ )),
+ SizedBox(height:5.0),
+ Container(
+ child: Text(
+ "American \u00B7 \u0024\u0024 \u00B7 1.6 mi",
+ style: TextStyle(
+ color: Colors.black54,
+ fontSize: 18.0,
+ ),
+ )),
+ SizedBox(height:5.0),
+ Container(
+ child: Text(
+ "Closed \u00B7 Opens 17:00 Thu",
+ style: TextStyle(
+ color: Colors.black54,
+ fontSize: 18.0,
+ fontWeight: FontWeight.bold),
+ )),
+ ],
+ );
+ }
+
+ Widget _buildGoogleMap(BuildContext context) {
+ return Container(
+ height: MediaQuery.of(context).size.height,
+ width: MediaQuery.of(context).size.width,
+ child: GoogleMap(
+ mapType: MapType.normal,
+ initialCameraPosition: CameraPosition(target: LatLng(28.613939, 77.209023), zoom: 12),
+ onMapCreated: (GoogleMapController controller) {
+ _controller.complete(controller);
+ },
+ markers: {
+ delhi1Marker,delhi2Marker
+ },
+ ),
+ );
+ }
+
+ Future _gotoLocation(double lat,double long) async {
+ final GoogleMapController controller = await _controller.future;
+ controller.animateCamera(CameraUpdate.newCameraPosition(CameraPosition(target: LatLng(lat, long), zoom: 15,tilt: 50.0,
+ bearing: 45.0,)));
+ }
+}
+
+Marker delhi1Marker = Marker(
+ markerId: MarkerId(''),
+ position: LatLng(28.568180, 77.212570),
+ infoWindow: InfoWindow(title: 'AIIMS'),
+ icon: BitmapDescriptor.defaultMarkerWithHue(
+ BitmapDescriptor.hueViolet,
+ ),
+);
+
+Marker delhi2Marker = Marker(
+ markerId: MarkerId('Safdarjung'),
+ position: LatLng(28.595370, 77.205820),
+ infoWindow: InfoWindow(title: 'Le Bernardin'),
+ icon: BitmapDescriptor.defaultMarkerWithHue(
+ BitmapDescriptor.hueViolet,
+ ),
+);
+
+
diff --git a/Codex/BeingMom/lib/music.dart b/Codex/BeingMom/lib/music.dart
new file mode 100644
index 00000000..125f3c74
--- /dev/null
+++ b/Codex/BeingMom/lib/music.dart
@@ -0,0 +1,245 @@
+import 'package:Maternal/pages/dashboard.dart';
+import 'package:flutter/material.dart';
+// import 'package:fluttery_seekbar/fluttery_seekbar.dart';
+import 'dart:math';
+
+class MusicHome extends StatefulWidget {
+ @override
+ _MusicHomeState createState() => new _MusicHomeState();
+}
+
+class _MusicHomeState extends State {
+ Widget _buildRadialSeekBar() {
+ return CircularProgressIndicator();
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return new Scaffold(
+ backgroundColor: Colors.white,
+ appBar: AppBar(
+ backgroundColor: Colors.transparent,
+ elevation: 0.0,
+ leading: IconButton(
+ icon: Icon(Icons.arrow_back_ios, color: Color(0xFFFE1483)),
+ onPressed: () => Navigator.pushReplacement(
+ context, MaterialPageRoute(builder: (context) => MainPage())),
+ ),
+ title: Text("Pregnency Playlist",
+ style: TextStyle(color: Color(0xFFFE1483), fontFamily: "Nexa")),
+ centerTitle: true,
+ actions: [
+ IconButton(
+ icon: Icon(Icons.menu, color: Color(0xFFFE1483)),
+ onPressed: () {},
+ )
+ ],
+ ),
+ body: SingleChildScrollView(
+ child: Column(
+ children: [
+ SizedBox(
+ height: 25.0,
+ ),
+ Center(
+ child: Container(
+ width: 250.0,
+ height: 250.0,
+ child: Stack(
+ children: [
+ Container(
+ decoration: BoxDecoration(
+ color: Color(0xFFFE1483).withOpacity(.5),
+ shape: BoxShape.circle),
+ child: Padding(
+ padding: const EdgeInsets.all(12.0),
+ child: _buildRadialSeekBar(),
+ ),
+ ),
+ Center(
+ child: Container(
+ width: 200.0,
+ height: 200.0,
+ child: Padding(
+ padding: const EdgeInsets.all(3.0),
+ child: ClipOval(
+ clipper: MClipper(),
+ child: Image.asset(
+ "assets/focus.jpeg",
+ fit: BoxFit.cover,
+ ),
+ ),
+ ),
+ ),
+ )
+ ],
+ ),
+ ),
+ ),
+ SizedBox(
+ height: 25.0,
+ ),
+ Column(
+ children: [
+ Text(
+ "Deep Relaxing Music",
+ style: TextStyle(
+ color: Color(0xFFFE1483),
+ fontSize: 20.0,
+ fontFamily: "Nexa"),
+ ),
+ SizedBox(
+ height: 8.0,
+ ),
+ Text(
+ "Peder B. Helland",
+ style: TextStyle(
+ color: Color(0xFFFE1483),
+ fontSize: 18.0,
+ fontFamily: "NexaLight"),
+ )
+ ],
+ ),
+ SizedBox(
+ height: 5.0,
+ ),
+ Container(
+ width: 350.0,
+ height: 150.0,
+ child: Stack(
+ children: [
+ Center(
+ child: Container(
+ height: 65.0,
+ width: 290.0,
+ decoration: BoxDecoration(
+ border: Border.all(
+ color: Color(0xFFFE1483), width: 3.0),
+ borderRadius: BorderRadius.circular(40.0)),
+ child: Padding(
+ padding: const EdgeInsets.symmetric(horizontal: 25.0),
+ child: Row(
+ children: [
+ Icon(Icons.fast_rewind,
+ size: 55.0, color: Color(0xFFFE1483)),
+ Expanded(
+ child: Container(),
+ ),
+ Icon(Icons.fast_forward,
+ size: 55.0, color: Color(0xFFFE1483))
+ ],
+ ),
+ ),
+ ),
+ ),
+ Align(
+ alignment: Alignment.center,
+ child: Container(
+ width: 92.0,
+ height: 92.0,
+ decoration: BoxDecoration(
+ color: Color(0xFFFE1483), shape: BoxShape.circle),
+ child: IconButton(
+ icon: Icon(
+ Icons.play_arrow,
+ size: 45.0,
+ color: Colors.white,
+ ),
+ onPressed: () {},
+ ),
+ ),
+ )
+ ],
+ ),
+ ),
+ Container(
+ height: 190.0,
+ width: double.infinity,
+ child: Stack(
+ children: [
+ Positioned(
+ left: -25,
+ child: Container(
+ width: 50.0,
+ height: 190.0,
+ decoration: BoxDecoration(
+ color: Color(0xFFFE1483),
+ borderRadius: BorderRadius.only(
+ topRight: Radius.circular(30.0),
+ bottomRight: Radius.circular(30.0))),
+ ),
+ ),
+ Positioned(
+ right: -25,
+ child: Container(
+ width: 50.0,
+ height: 190.0,
+ decoration: BoxDecoration(
+ color: Color(0xFFFE1483),
+ borderRadius: BorderRadius.only(
+ topLeft: Radius.circular(30.0),
+ bottomLeft: Radius.circular(30.0))),
+ ),
+ ),
+ Center(
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.center,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children: [
+ song("assets/focus.jpeg", "Deep in the forest",
+ "Believe 2012"),
+ song(
+ "assets/focus.jpeg", "Beauty...", "Believe 2012"),
+ song("assets/focus.jpeg", "Meditation music",
+ "Believe 2012"),
+ ],
+ ),
+ )
+ ],
+ ),
+ )
+ ],
+ ),
+ ));
+ }
+}
+
+Widget song(String image, String title, String subtitle) {
+ return Padding(
+ padding: EdgeInsets.all(8.0),
+ child: Row(
+ mainAxisAlignment: MainAxisAlignment.center,
+ children: [
+ Image.asset(
+ image,
+ width: 40.0,
+ height: 40.0,
+ ),
+ SizedBox(
+ width: 8.0,
+ ),
+ Column(
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ Text(title, style: TextStyle(color: Color(0xFFFE1483))),
+ Text(subtitle, style: TextStyle(color: Color(0xFFFE1483)))
+ ],
+ )
+ ],
+ ),
+ );
+}
+
+class MClipper extends CustomClipper {
+ @override
+ Rect getClip(Size size) {
+ return Rect.fromCircle(
+ center: Offset(size.width / 2, size.height / 2),
+ radius: min(size.width, size.height) / 2);
+ }
+
+ @override
+ bool shouldReclip(CustomClipper oldClipper) {
+ return true;
+ }
+}
diff --git a/Codex/BeingMom/lib/pages/dashboard.dart b/Codex/BeingMom/lib/pages/dashboard.dart
new file mode 100644
index 00000000..3dafe04f
--- /dev/null
+++ b/Codex/BeingMom/lib/pages/dashboard.dart
@@ -0,0 +1,506 @@
+import 'package:Maternal/map.dart';
+import 'package:Maternal/music.dart';
+import 'package:Maternal/pages/reminders.dart';
+import 'package:Maternal/profile_page.dart';
+import 'package:flutter/material.dart';
+import 'package:flutter_staggered_grid_view/flutter_staggered_grid_view.dart';
+
+import 'post.dart';
+
+class MainPage extends StatefulWidget {
+ @override
+ _MainPageState createState() => _MainPageState();
+}
+
+class _MainPageState extends State {
+ final List> charts = [
+ [
+ 0.0,
+ 0.3,
+ 0.7,
+ 0.6,
+ 0.55,
+ 0.8,
+ 1.2,
+ 1.3,
+ 1.35,
+ 0.9,
+ 1.5,
+ 1.7,
+ 1.8,
+ 1.7,
+ 1.2,
+ 0.8,
+ 1.9,
+ 2.0,
+ 2.2,
+ 1.9,
+ 2.2,
+ 2.1,
+ 2.0,
+ 2.3,
+ 2.4,
+ 2.45,
+ 2.6,
+ 3.6,
+ 2.6,
+ 2.7,
+ 2.9,
+ 2.8,
+ 3.4
+ ],
+ [
+ 0.0,
+ 0.3,
+ 0.7,
+ 0.6,
+ 0.55,
+ 0.8,
+ 1.2,
+ 1.3,
+ 1.35,
+ 0.9,
+ 1.5,
+ 1.7,
+ 1.8,
+ 1.7,
+ 1.2,
+ 0.8,
+ 1.9,
+ 2.0,
+ 2.2,
+ 1.9,
+ 2.2,
+ 2.1,
+ 2.0,
+ 2.3,
+ 2.4,
+ 2.45,
+ 2.6,
+ 3.6,
+ 2.6,
+ 2.7,
+ 2.9,
+ 2.8,
+ 3.4,
+ 0.0,
+ 0.3,
+ 0.7,
+ 0.6,
+ 0.55,
+ 0.8,
+ 1.2,
+ 1.3,
+ 1.35,
+ 0.9,
+ 1.5,
+ 1.7,
+ 1.8,
+ 1.7,
+ 1.2,
+ 0.8,
+ 1.9,
+ 2.0,
+ 2.2,
+ 1.9,
+ 2.2,
+ 2.1,
+ 2.0,
+ 2.3,
+ 2.4,
+ 2.45,
+ 2.6,
+ 3.6,
+ 2.6,
+ 2.7,
+ 2.9,
+ 2.8,
+ 3.4,
+ ],
+ [
+ 0.0,
+ 0.3,
+ 0.7,
+ 0.6,
+ 0.55,
+ 0.8,
+ 1.2,
+ 1.3,
+ 1.35,
+ 0.9,
+ 1.5,
+ 1.7,
+ 1.8,
+ 1.7,
+ 1.2,
+ 0.8,
+ 1.9,
+ 2.0,
+ 2.2,
+ 1.9,
+ 2.2,
+ 2.1,
+ 2.0,
+ 2.3,
+ 2.4,
+ 2.45,
+ 2.6,
+ 3.6,
+ 2.6,
+ 2.7,
+ 2.9,
+ 2.8,
+ 3.4,
+ 0.0,
+ 0.3,
+ 0.7,
+ 0.6,
+ 0.55,
+ 0.8,
+ 1.2,
+ 1.3,
+ 1.35,
+ 0.9,
+ 1.5,
+ 1.7,
+ 1.8,
+ 1.7,
+ 1.2,
+ 0.8,
+ 1.9,
+ 2.0,
+ 2.2,
+ 1.9,
+ 2.2,
+ 2.1,
+ 2.0,
+ 2.3,
+ 2.4,
+ 2.45,
+ 2.6,
+ 3.6,
+ 2.6,
+ 2.7,
+ 2.9,
+ 2.8,
+ 3.4,
+ 0.0,
+ 0.3,
+ 0.7,
+ 0.6,
+ 0.55,
+ 0.8,
+ 1.2,
+ 1.3,
+ 1.35,
+ 0.9,
+ 1.5,
+ 1.7,
+ 1.8,
+ 1.7,
+ 1.2,
+ 0.8,
+ 1.9,
+ 2.0,
+ 2.2,
+ 1.9,
+ 2.2,
+ 2.1,
+ 2.0,
+ 2.3,
+ 2.4,
+ 2.45,
+ 2.6,
+ 3.6,
+ 2.6,
+ 2.7,
+ 2.9,
+ 2.8,
+ 3.4
+ ]
+ ];
+
+ static final List chartDropdownItems = [
+ 'Last 7 days',
+ 'Last month',
+ 'Last year'
+ ];
+ String actualDropdown = chartDropdownItems[0];
+ int actualChart = 0;
+
+ @override
+ Widget build(BuildContext context) {
+ return Scaffold(
+ appBar: AppBar(
+ elevation: 2.0,
+ backgroundColor: Colors.white,
+ title: Text('Dashboard',
+ style: TextStyle(
+ color: Colors.black,
+ fontWeight: FontWeight.w700,
+ fontSize: 30.0)),
+ actions: [
+ Container(
+ margin: EdgeInsets.only(right: 8.0),
+ child: Row(
+ mainAxisAlignment: MainAxisAlignment.center,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children: [
+ new RaisedButton(
+ color: Colors.white,
+ child: new Text("My Profile"),
+ textColor: Colors.pink,
+ onPressed: () => Navigator.pushReplacement(
+ context,
+ MaterialPageRoute(
+ builder: (context) => ProfilePage())))
+ ],
+ ),
+ )
+ ],
+ ),
+ body: StaggeredGridView.count(
+ crossAxisCount: 2,
+ crossAxisSpacing: 12.0,
+ mainAxisSpacing: 12.0,
+ padding: EdgeInsets.symmetric(horizontal: 16.0, vertical: 8.0),
+ children: [
+ _buildTile(
+ Padding(
+ padding: const EdgeInsets.all(24.0),
+ child: Row(
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children: [
+ Column(
+ mainAxisAlignment: MainAxisAlignment.center,
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ Text('Months and Days left',
+ style: TextStyle(color: Colors.blueAccent)),
+ Text('05/15',
+ style: TextStyle(
+ color: Colors.black,
+ fontWeight: FontWeight.w700,
+ fontSize: 34.0))
+ ],
+ ),
+ Material(
+ color: Colors.blue,
+ borderRadius: BorderRadius.circular(24.0),
+ child: Center(
+ child: Padding(
+ padding: const EdgeInsets.all(16.0),
+ child: Icon(Icons.calendar_today,
+ color: Colors.white, size: 30.0),
+ )))
+ ]),
+ ),
+ ),
+ _buildTile(
+ Padding(
+ padding: const EdgeInsets.all(24.0),
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ Material(
+ color: Colors.teal,
+ shape: CircleBorder(),
+ child: Padding(
+ padding: const EdgeInsets.all(16.0),
+ child: Icon(Icons.fastfood,
+ color: Colors.white, size: 30.0),
+ )),
+ Padding(padding: EdgeInsets.only(bottom: 16.0)),
+ Text('Diet Chart',
+ style: TextStyle(
+ color: Colors.black,
+ fontWeight: FontWeight.w700,
+ fontSize: 24.0)),
+ Text('Seasonal, Non-Seasonal',
+ style:
+ TextStyle(color: Colors.black45, fontSize: 10.0)),
+ ]),
+ ),
+ ),
+ _buildTile(
+ Padding(
+ padding: const EdgeInsets.all(24.0),
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ Material(
+ color: Colors.amber,
+ shape: CircleBorder(),
+ child: Padding(
+ padding: EdgeInsets.all(16.0),
+ child: Icon(Icons.notifications,
+ color: Colors.white, size: 30.0),
+ )),
+ Padding(padding: EdgeInsets.only(bottom: 16.0)),
+ Text('Reminders',
+ style: TextStyle(
+ color: Colors.black,
+ fontWeight: FontWeight.w700,
+ fontSize: 24.0)),
+ Text('vaccinations, Appointments',
+ style:
+ TextStyle(color: Colors.black45, fontSize: 11.0)),
+ ]),
+ ),
+ onTap: () => Navigator.of(context)
+ .push(MaterialPageRoute(builder: (_) => RemindersPage()),
+
+ )),
+ _buildTile(
+ Padding(
+ padding: const EdgeInsets.all(24.0),
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ Row(
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ Column(
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ Text('Music & Exercise',
+ style: TextStyle(
+ color: Colors.pink, fontSize: 24.0)),
+ Text('My-Playlist',
+ style: TextStyle(
+ color: Colors.black,
+ fontWeight: FontWeight.w700,
+ fontSize: 20.0)),
+ ],
+ ),
+ DropdownButton(
+ isDense: true,
+ value: actualDropdown,
+ onChanged: (String value) => setState(() {
+ actualDropdown = value;
+ actualChart = chartDropdownItems
+ .indexOf(value); // Refresh the chart
+ }),
+ items: chartDropdownItems.map((String title) {
+ return DropdownMenuItem(
+ value: title,
+ child: Text(title,
+ style: TextStyle(
+ color: Colors.blue,
+ fontWeight: FontWeight.w400,
+ fontSize: 14.0)),
+ );
+ }).toList())
+ ],
+ ),
+ Padding(
+ padding: EdgeInsets.all(11.0),
+ child: Icon(Icons.library_music,
+ color: Colors.pink, size: 99.0),
+ ),
+ ],
+ )),
+ onTap: () => Navigator.of(context)
+ .push(MaterialPageRoute(builder: (_) => MusicHome()),
+ )),
+ _buildTile(
+ Padding(
+ padding: const EdgeInsets.all(24.0),
+ child: Row(
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children: [
+ Column(
+ mainAxisAlignment: MainAxisAlignment.center,
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ Text('Community/Forum',
+ style: TextStyle(color: Colors.redAccent)),
+ Text('Tap to Read',
+ style: TextStyle(
+ color: Colors.black,
+ fontWeight: FontWeight.w700,
+ fontSize: 30.0))
+ ],
+ ),
+ Material(
+ color: Colors.red,
+ borderRadius: BorderRadius.circular(24.0),
+ child: Center(
+ child: Padding(
+ padding: EdgeInsets.all(16.0),
+ child: Icon(Icons.chat_bubble,
+ color: Colors.white, size: 30.0),
+ )))
+ ]),
+ ),
+ onTap: () => Navigator.of(context)
+ .push(MaterialPageRoute(builder: (_) => ShopItemsPage())),
+ ),
+ _buildTile(
+ Padding(
+ padding: const EdgeInsets.all(24.0),
+ child: Row(
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children: [
+ Column(
+ mainAxisAlignment: MainAxisAlignment.center,
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ Text('Hospitals Nearby',
+ style: TextStyle(color: Colors.pinkAccent)),
+ Text('Maps',
+ style: TextStyle(
+ color: Colors.black,
+ fontWeight: FontWeight.w700,
+ fontSize: 30.0))
+ ],
+ ),
+ Material(
+ color: Colors.cyan,
+ borderRadius: BorderRadius.circular(24.0),
+ child: Center(
+ child: Padding(
+ padding: EdgeInsets.all(16.0),
+ child: Icon(Icons.location_searching,
+ color: Colors.white, size: 30.0),
+ )))
+ ]),
+ ),
+ onTap: () => Navigator.of(context)
+ .push(MaterialPageRoute(builder: (_) => MapPage())
+ )),
+ ],
+ staggeredTiles: [
+ StaggeredTile.extent(2, 110.0),
+ StaggeredTile.extent(1, 180.0),
+ StaggeredTile.extent(1, 180.0),
+ StaggeredTile.extent(2, 220.0),
+ StaggeredTile.extent(2, 110.0),
+ StaggeredTile.extent(2, 110.0),
+ ],
+ ));
+ }
+
+ Widget _buildTile(Widget child, {Function() onTap}) {
+ return Material(
+ elevation: 14.0,
+ borderRadius: BorderRadius.circular(12.0),
+ shadowColor: Color(0x802196F3),
+ child: InkWell(
+ // Do onTap() if it isn't null, otherwise do print()
+ onTap: onTap != null
+ ? () => onTap()
+ : () {
+ print('Not set yet');
+ },
+ child: child));
+ }
+}
diff --git a/Codex/BeingMom/lib/pages/forum.dart b/Codex/BeingMom/lib/pages/forum.dart
new file mode 100644
index 00000000..3d40e4df
--- /dev/null
+++ b/Codex/BeingMom/lib/pages/forum.dart
@@ -0,0 +1,457 @@
+import 'package:flutter/material.dart';
+
+class ItemReviewsPage extends StatefulWidget
+{
+ @override
+ _ItemReviewsPageState createState() => _ItemReviewsPageState();
+}
+
+class _ItemReviewsPageState extends State
+{
+ @override
+ Widget build(BuildContext context)
+ {
+ return Scaffold
+ (
+ body: CustomScrollView
+ (
+ slivers:
+ [
+ SliverAppBar
+ (
+ expandedHeight: 10.0,
+ backgroundColor: Colors.red,
+ flexibleSpace: FlexibleSpaceBar
+ (
+ title: Text('Pradhan Mantri Surakshit Matritva Abhiyan', textAlign: TextAlign.center ,style: TextStyle(fontSize: 15.0),),
+ background: SizedBox.expand
+ (
+ child: Stack
+ (
+ alignment: Alignment.center,
+ children:
+ [
+ Image.asset('res/shoes1.png'),
+ Container(color: Colors.black26)
+ ],
+ ),
+ ),
+ ),
+ elevation: 2.0,
+ forceElevated: true,
+ pinned: true,
+ ),
+ SliverList
+ (
+ delegate: SliverChildListDelegate
+ (
+
+ [
+ /// Rating average
+ Center
+ (
+ child: Container
+ (
+ margin: EdgeInsets.only(top: 16.0),
+ child: Text
+ (
+ '4.6',
+ style: TextStyle(color: Colors.black, fontWeight: FontWeight.w700, fontSize: 64.0)
+ ),
+ ),
+ ),
+ /// Rating stars
+ Padding
+ (
+ padding: EdgeInsets.symmetric(horizontal: 60.0),
+ child: Row
+ (
+ mainAxisAlignment: MainAxisAlignment.spaceEvenly,
+ children:
+ [
+ Icon(Icons.star, color: Colors.amber, size: 48.0),
+ Icon(Icons.star, color: Colors.amber, size: 48.0),
+ Icon(Icons.star, color: Colors.amber, size: 48.0),
+ Icon(Icons.star, color: Colors.amber, size: 48.0),
+ Icon(Icons.star, color: Colors.black12, size: 48.0),
+ ],
+ ),
+ ),
+ /// Rating chart lines
+ Padding
+ (
+ padding: EdgeInsets.symmetric(horizontal: 32.0, vertical: 16.0),
+ child: Column
+ (
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.stretch,
+ children:
+ [
+ /// 5 stars and progress bar
+ Padding
+ (
+ padding: EdgeInsets.symmetric(vertical: 4.0),
+ child: Row
+ (
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children:
+ [
+ Row
+ (
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children:
+ [
+ Icon(Icons.star, color: Colors.black54, size: 16.0),
+ Icon(Icons.star, color: Colors.black54, size: 16.0),
+ Icon(Icons.star, color: Colors.black54, size: 16.0),
+ Icon(Icons.star, color: Colors.black54, size: 16.0),
+ Icon(Icons.star, color: Colors.black54, size: 16.0),
+ ],
+ ),
+ Padding(padding: EdgeInsets.only(right: 24.0)),
+ Expanded
+ (
+ child: Theme
+ (
+ data: ThemeData(accentColor: Colors.green),
+ child: LinearProgressIndicator
+ (
+ value: 0.9,
+ backgroundColor: Colors.black12,
+ ),
+ ),
+ ),
+ ],
+ ),
+ ),
+ Padding
+ (
+ padding: EdgeInsets.symmetric(vertical: 4.0),
+ child: Row
+ (
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children:
+ [
+ Row
+ (
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children:
+ [
+ Icon(Icons.star, color: Colors.black54, size: 16.0),
+ Icon(Icons.star, color: Colors.black54, size: 16.0),
+ Icon(Icons.star, color: Colors.black54, size: 16.0),
+ Icon(Icons.star, color: Colors.black54, size: 16.0),
+ Icon(Icons.star, color: Colors.black12, size: 16.0),
+ ],
+ ),
+ Padding(padding: EdgeInsets.only(right: 24.0)),
+ Expanded
+ (
+ child: Theme
+ (
+ data: ThemeData(accentColor: Colors.lightGreen),
+ child: LinearProgressIndicator
+ (
+ value: 0.7,
+ backgroundColor: Colors.black12,
+ ),
+ ),
+ ),
+ ],
+ ),
+ ),
+ Padding
+ (
+ padding: EdgeInsets.symmetric(vertical: 4.0),
+ child: Row
+ (
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children:
+ [
+ Row
+ (
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children:
+ [
+ Icon(Icons.star, color: Colors.black54, size: 16.0),
+ Icon(Icons.star, color: Colors.black54, size: 16.0),
+ Icon(Icons.star, color: Colors.black54, size: 16.0),
+ Icon(Icons.star, color: Colors.black12, size: 16.0),
+ Icon(Icons.star, color: Colors.black12, size: 16.0),
+ ],
+ ),
+ Padding(padding: EdgeInsets.only(right: 24.0)),
+ Expanded
+ (
+ child: Theme
+ (
+ data: ThemeData(accentColor: Colors.yellow),
+ child: LinearProgressIndicator
+ (
+ value: 0.25,
+ backgroundColor: Colors.black12,
+ ),
+ ),
+ ),
+ ],
+ ),
+ ),
+ Padding
+ (
+ padding: EdgeInsets.symmetric(vertical: 4.0),
+ child: Row
+ (
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children:
+ [
+ Row
+ (
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children:
+ [
+ Icon(Icons.star, color: Colors.black54, size: 16.0),
+ Icon(Icons.star, color: Colors.black54, size: 16.0),
+ Icon(Icons.star, color: Colors.black12, size: 16.0),
+ Icon(Icons.star, color: Colors.black12, size: 16.0),
+ Icon(Icons.star, color: Colors.black12, size: 16.0),
+ ],
+ ),
+ Padding(padding: EdgeInsets.only(right: 24.0)),
+ Expanded
+ (
+ child: Theme
+ (
+ data: ThemeData(accentColor: Colors.orange),
+ child: LinearProgressIndicator
+ (
+ value: 0.07,
+ backgroundColor: Colors.black12,
+ ),
+ ),
+ ),
+ ],
+ ),
+ ),
+ Padding
+ (
+ padding: EdgeInsets.symmetric(vertical: 4.0),
+ child: Row
+ (
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children:
+ [
+ Row
+ (
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children:
+ [
+ Icon(Icons.star, color: Colors.black54, size: 16.0),
+ Icon(Icons.star, color: Colors.black12, size: 16.0),
+ Icon(Icons.star, color: Colors.black12, size: 16.0),
+ Icon(Icons.star, color: Colors.black12, size: 16.0),
+ Icon(Icons.star, color: Colors.black12, size: 16.0),
+ ],
+ ),
+ Padding(padding: EdgeInsets.only(right: 24.0)),
+ Expanded
+ (
+ child: Theme
+ (
+ data: ThemeData(accentColor: Colors.red),
+ child: LinearProgressIndicator
+ (
+ value: 0.12,
+ backgroundColor: Colors.black12,
+ ),
+ ),
+ ),
+ ],
+ ),
+ ),
+ ],
+ ),
+ ),
+ Divider(),
+ /// Review
+ Padding
+ (
+ padding: EdgeInsets.only(left: 16.0, right: 16.0, bottom: 16.0),
+ child: Material
+ (
+ elevation: 12.0,
+ color: Colors.white,
+ borderRadius: BorderRadius.only
+ (
+ topRight: Radius.circular(20.0),
+ bottomLeft: Radius.circular(20.0),
+ bottomRight: Radius.circular(20.0),
+ ),
+ child: Container
+ (
+ margin: EdgeInsets.symmetric(vertical: 10.0, horizontal: 0.0),
+ child: Container
+ (
+ child: ListTile
+ (
+ leading: CircleAvatar
+ (
+ backgroundColor: Colors.purple,
+ child: Text('JG'),
+ ),
+ title: Text('Jhulan Goswami ★★★★★', style: TextStyle()),
+ subtitle: Text('Very well explained. I love reading it after practice.', style: TextStyle()),
+ ),
+ ),
+ ),
+ ),
+ ),
+ /// Review reply
+ Padding
+ (
+ padding: EdgeInsets.only(left: 16.0, right: 16.0, bottom: 16.0),
+ child: Row
+ (
+ mainAxisSize: MainAxisSize.min,
+ mainAxisAlignment: MainAxisAlignment.end,
+ children: [
+ Material
+ (
+ elevation: 12.0,
+ color: Colors.tealAccent,
+ borderRadius: BorderRadius.only
+ (
+ topLeft: Radius.circular(20.0),
+ bottomLeft: Radius.circular(20.0),
+ bottomRight: Radius.circular(20.0),
+ ),
+ child: Container
+ (
+ margin: EdgeInsets.symmetric(vertical: 10.0, horizontal: 16.0),
+ child: Text('Happy to hear that!', style: Theme.of(context).textTheme.subtitle1),
+ ),
+ ),
+ ],
+ ),
+ ),
+ Divider(),
+ /// Review
+ Padding
+ (
+ padding: EdgeInsets.only(left: 16.0, right: 16.0, bottom: 16.0),
+ child: Material
+ (
+ elevation: 12.0,
+ color: Colors.white,
+ borderRadius: BorderRadius.only
+ (
+ topRight: Radius.circular(20.0),
+ bottomLeft: Radius.circular(20.0),
+ bottomRight: Radius.circular(20.0),
+ ),
+ child: Container
+ (
+ margin: EdgeInsets.symmetric(vertical: 10.0, horizontal: 0.0),
+ child: Column
+ (
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.end,
+ children:
+ [
+ Container
+ (
+ child: ListTile
+ (
+ leading: CircleAvatar
+ (
+ backgroundColor: Colors.purple,
+ child: Text('RS'),
+ ),
+ title: Text('Richa Sharma ★★★★★', style: TextStyle()),
+ subtitle: Text('Learning all this in pregnancy helps me a lot. Highly recommended to read.', style: TextStyle()),
+ ),
+ ),
+ Padding
+ (
+ padding: EdgeInsets.only(top: 4.0, right: 10.0),
+ child: FlatButton.icon
+ (
+ onPressed: () {},
+ icon: Icon(Icons.reply, color: Colors.blueAccent),
+ label: Text('Reply', style: TextStyle(color: Colors.blueAccent, fontWeight: FontWeight.w700, fontSize: 16.0))
+ ),
+ )
+ ],
+ ),
+ ),
+ ),
+ ),
+ Divider(),
+ /// Review
+ Padding
+ (
+ padding: EdgeInsets.only(left: 16.0, right: 16.0, bottom: 16.0),
+ child: Material
+ (
+ elevation: 12.0,
+ color: Colors.white,
+ borderRadius: BorderRadius.only
+ (
+ topRight: Radius.circular(20.0),
+ bottomLeft: Radius.circular(20.0),
+ bottomRight: Radius.circular(20.0),
+ ),
+ child: Container
+ (
+ margin: EdgeInsets.symmetric(vertical: 10.0, horizontal: 0.0),
+ child: Column
+ (
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.end,
+ children:
+ [
+ Container
+ (
+ child: ListTile
+ (
+ leading: CircleAvatar
+ (
+ backgroundColor: Colors.purple,
+ child: Text('SG'),
+ ),
+ title: Text('Sonia Gandhi ★☆☆☆☆', style: TextStyle()),
+ subtitle: Text("I don't like the scheme.." , style: TextStyle()),
+ ),
+ ),
+ Padding
+ (
+ padding: EdgeInsets.only(top: 4.0, right: 10.0),
+ child: FlatButton.icon
+ (
+ onPressed: () {},
+ icon: Icon(Icons.reply, color: Colors.blueAccent),
+ label: Text('Reply', style: TextStyle(color: Colors.blueAccent, fontWeight: FontWeight.w700, fontSize: 16.0))
+ ),
+ )
+ ],
+ ),
+ ),
+ ),
+ ),
+ ]
+ ),
+ ),
+ ],
+ ),
+ );
+ }
+}
\ No newline at end of file
diff --git a/Codex/BeingMom/lib/pages/post.dart b/Codex/BeingMom/lib/pages/post.dart
new file mode 100644
index 00000000..264aadf9
--- /dev/null
+++ b/Codex/BeingMom/lib/pages/post.dart
@@ -0,0 +1,450 @@
+import 'package:flutter/material.dart';
+import 'forum.dart';
+
+class ShopItemsPage extends StatefulWidget {
+ @override
+ _ShopItemsPageState createState() => _ShopItemsPageState();
+}
+
+class _ShopItemsPageState extends State {
+ @override
+ Widget build(BuildContext context) {
+ return Scaffold(
+ appBar: AppBar(
+ elevation: 0.0,
+ backgroundColor: Colors.transparent,
+ leading: IconButton(
+ color: Colors.black,
+ onPressed: () => Navigator.of(context).pop(),
+ icon: Icon(Icons.arrow_back, color: Colors.black),
+ ),
+ title: Text('Blogs (3)',
+ style:
+ TextStyle(color: Colors.black, fontWeight: FontWeight.w700)),
+ // actions:
+ // [
+ // Container
+ // (
+ // margin: EdgeInsets.only(right: 8.0),
+ // child: Row
+ // (
+ // mainAxisAlignment: MainAxisAlignment.center,
+ // crossAxisAlignment: CrossAxisAlignment.center,
+ // children:
+ // [
+ // Text('beclothed.com', style: TextStyle(color: Colors.white, fontWeight: FontWeight.w700, fontSize: 14.0)),
+ // Icon(Icons.arrow_drop_down, color: Colors.black54)
+ // ],
+ // ),
+ // )
+ // ],
+ ),
+ body: ListView(
+ scrollDirection: Axis.vertical,
+ padding: EdgeInsets.symmetric(horizontal: 16.0),
+ children: [
+ Container(
+ margin: EdgeInsets.symmetric(vertical: 16.0, horizontal: 54.0),
+ child: Material(
+ elevation: 8.0,
+ color: Colors.black,
+ borderRadius: BorderRadius.circular(32.0),
+ child: InkWell(
+ onTap: () {},
+ child: Padding(
+ padding: EdgeInsets.all(12.0),
+ child: Row(
+ mainAxisSize: MainAxisSize.min,
+ mainAxisAlignment: MainAxisAlignment.center,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children: [
+ Icon(Icons.add, color: Colors.white),
+ Padding(padding: EdgeInsets.only(right: 16.0)),
+ Text('ADD A POST',
+ style: TextStyle(color: Colors.white))
+ ],
+ ),
+ ),
+ ),
+ )),
+ ShopItem(),
+ BadShopItem(),
+ NewShopItem()
+ ],
+ ));
+ }
+}
+
+class ShopItem extends StatelessWidget {
+ @override
+ Widget build(BuildContext context) {
+ return Padding(
+ padding: EdgeInsets.only(bottom: 16.0),
+ child: Stack(
+ children: [
+ /// Item card
+ Align(
+ alignment: Alignment.topCenter,
+ child: SizedBox.fromSize(
+ size: Size.fromHeight(172.0),
+ child: Stack(
+ fit: StackFit.expand,
+ children: [
+ /// Item description inside a material
+ Container(
+ margin: EdgeInsets.only(top: 24.0),
+ child: Material(
+ elevation: 14.0,
+ borderRadius: BorderRadius.circular(12.0),
+ shadowColor: Color(0x802196F3),
+ color: Colors.white,
+ child: InkWell(
+ onTap: () => Navigator.of(context).push(
+ MaterialPageRoute(
+ builder: (_) => ItemReviewsPage())),
+ child: Padding(
+ padding: EdgeInsets.all(24.0),
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ /// Title and rating
+ Column(
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ Text(
+ 'Pradhan Mantri Surakshit Matritva Abhiyan',
+ style: TextStyle(
+ color: Colors.blueAccent,
+ fontSize: 11.0)),
+ Row(
+ mainAxisAlignment:
+ MainAxisAlignment.start,
+ crossAxisAlignment:
+ CrossAxisAlignment.center,
+ children: [
+ Text('4.6',
+ style: TextStyle(
+ color: Colors.black,
+ fontWeight: FontWeight.w700,
+ fontSize: 34.0)),
+ Icon(Icons.star,
+ color: Colors.black, size: 24.0),
+ ],
+ ),
+ ],
+ ),
+
+ /// Infos
+ Row(
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children: [
+ Text('Viewed by', style: TextStyle()),
+ Padding(
+ padding:
+ EdgeInsets.symmetric(horizontal: 4.0),
+ child: Text('1,361',
+ style: TextStyle(
+ fontWeight: FontWeight.w700)),
+ ),
+ ],
+ ),
+ ],
+ ),
+ ),
+ ),
+ ),
+ ),
+
+ /// Item image
+ Align(
+ alignment: Alignment.topRight,
+ child: Padding(
+ padding: EdgeInsets.only(right: 16.0),
+ child: SizedBox.fromSize(
+ size: Size.fromRadius(54.0),
+ child: Material(
+ elevation: 20.0,
+ shadowColor: Color(0x802196F3),
+ shape: CircleBorder(),
+ child: Image.asset('res/shoes1.png'),
+ ),
+ ),
+ ),
+ ),
+ ],
+ )),
+ ),
+
+ /// Review
+ Padding(
+ padding: EdgeInsets.only(top: 160.0, left: 32.0),
+ child: Material(
+ elevation: 12.0,
+ color: Colors.transparent,
+ borderRadius: BorderRadius.only(
+ topLeft: Radius.circular(20.0),
+ bottomLeft: Radius.circular(20.0),
+ bottomRight: Radius.circular(20.0),
+ ),
+ child: Container(
+ decoration: BoxDecoration(
+ gradient: LinearGradient(
+ colors: [Color(0xFF84fab0), Color(0xFF8fd3f4)],
+ end: Alignment.topLeft,
+ begin: Alignment.bottomRight)),
+ child: Container(
+ margin: EdgeInsets.symmetric(vertical: 4.0),
+ child: ListTile(
+ leading: CircleAvatar(
+ backgroundColor: Colors.purple,
+ child: Text('PS'),
+ ),
+ title: Text('Preeti Sabharwal ★★★★★', style: TextStyle()),
+ subtitle: Text(
+ 'This was very useful, thanks for sharing.',
+ maxLines: 2,
+ overflow: TextOverflow.ellipsis,
+ style: TextStyle()),
+ ),
+ ),
+ ),
+ ),
+ )
+ ],
+ ),
+ );
+ }
+}
+
+class BadShopItem extends StatelessWidget {
+ @override
+ Widget build(BuildContext context) {
+ return Padding(
+ padding: EdgeInsets.only(bottom: 16.0),
+ child: Stack(
+ children: [
+ /// Item card
+ Align(
+ alignment: Alignment.topCenter,
+ child: SizedBox.fromSize(
+ size: Size.fromHeight(172.0),
+ child: Stack(
+ fit: StackFit.expand,
+ children: [
+ /// Item description inside a material
+ Container(
+ margin: EdgeInsets.only(top: 24.0),
+ child: Material(
+ elevation: 14.0,
+ borderRadius: BorderRadius.circular(12.0),
+ shadowColor: Color(0x802196F3),
+ color: Colors.transparent,
+ child: Container(
+ decoration: BoxDecoration(
+ gradient: LinearGradient(colors: [
+ Color(0xFFDA4453),
+ Color(0xFF89216B)
+ ])),
+ child: Padding(
+ padding: EdgeInsets.all(24.0),
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ /// Title and rating
+ Column(
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ Text('Rashtriya Bal Swastha Karyakram',
+ style: TextStyle(color: Colors.white)),
+ Row(
+ mainAxisAlignment:
+ MainAxisAlignment.start,
+ crossAxisAlignment:
+ CrossAxisAlignment.center,
+ children: [
+ Text('4.1',
+ style: TextStyle(
+ color: Colors.amber,
+ fontWeight: FontWeight.w700,
+ fontSize: 34.0)),
+ Icon(Icons.star,
+ color: Colors.amber, size: 24.0),
+ ],
+ ),
+ ],
+ ),
+
+ /// Infos
+ Row(
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children: [
+ Text('Viewed by',
+ style: TextStyle(color: Colors.white)),
+ Padding(
+ padding:
+ EdgeInsets.symmetric(horizontal: 4.0),
+ child: Text('1,234',
+ style: TextStyle(
+ color: Colors.white,
+ fontWeight: FontWeight.w700)),
+ ),
+ ],
+ ),
+ ],
+ ),
+ ),
+ ),
+ ),
+ ),
+
+ /// Item image
+ Align(
+ alignment: Alignment.topRight,
+ child: Padding(
+ padding: EdgeInsets.only(right: 16.0),
+ child: SizedBox.fromSize(
+ size: Size.fromRadius(54.0),
+ child: Material(
+ elevation: 20.0,
+ shadowColor: Color(0x802196F3),
+ shape: CircleBorder(),
+ child: Image.asset('res/shoes1.png'),
+ ),
+ ),
+ ),
+ ),
+ ],
+ )),
+ ),
+
+ /// Review
+ Padding(
+ padding: EdgeInsets.only(
+ top: 160.0,
+ right: 32.0,
+ ),
+ child: Material(
+ elevation: 12.0,
+ color: Colors.white,
+ borderRadius: BorderRadius.only(
+ topRight: Radius.circular(20.0),
+ bottomLeft: Radius.circular(20.0),
+ bottomRight: Radius.circular(20.0),
+ ),
+ child: Container(
+ margin: EdgeInsets.symmetric(vertical: 4.0),
+ child: ListTile(
+ leading: CircleAvatar(
+ backgroundColor: Colors.purple,
+ child: Text('BS'),
+ ),
+ title: Text('Vidya Sharma ★★★★☆'),
+ subtitle: Text(
+ 'It is helpful to learn that this covers 30 common health conditions in children',
+ maxLines: 2,
+ overflow: TextOverflow.ellipsis),
+ ),
+ ),
+ ),
+ )
+ ],
+ ),
+ );
+ }
+}
+
+class NewShopItem extends StatelessWidget {
+ @override
+ Widget build(BuildContext context) {
+ return Padding(
+ padding: EdgeInsets.only(bottom: 16.0),
+ child: Align(
+ alignment: Alignment.topCenter,
+ child: SizedBox.fromSize(
+ size: Size.fromHeight(172.0),
+ child: Stack(
+ fit: StackFit.expand,
+ children: [
+ /// Item description inside a material
+ Container(
+ margin: EdgeInsets.only(top: 24.0),
+ child: Material(
+ elevation: 14.0,
+ borderRadius: BorderRadius.circular(12.0),
+ shadowColor: Color(0x802196F3),
+ color: Colors.white,
+ child: Padding(
+ padding: EdgeInsets.all(24.0),
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ /// Title and rating
+ Column(
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ Text('[New] Post',
+ style: TextStyle(color: Colors.blueAccent)),
+ Row(
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children: [
+ Text('Not published',
+ style: TextStyle(
+ color: Colors.black,
+ fontWeight: FontWeight.w700,
+ fontSize: 34.0)),
+ ],
+ ),
+ ],
+ ),
+
+ /// Infos
+ Row(
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children: [
+ Text('Viewed by', style: TextStyle()),
+ Padding(
+ padding: EdgeInsets.symmetric(horizontal: 4.0),
+ child: Text('0',
+ style:
+ TextStyle(fontWeight: FontWeight.w700)),
+ ),
+ ],
+ ),
+ ],
+ ),
+ ),
+ ),
+ ),
+
+ /// Item image
+ Align(
+ alignment: Alignment.topRight,
+ child: Padding(
+ padding: EdgeInsets.only(right: 16.0),
+ child: SizedBox.fromSize(
+ size: Size.fromRadius(54.0),
+ child: Material(
+ elevation: 20.0,
+ shadowColor: Color(0x802196F3),
+ shape: CircleBorder(),
+ child: Image.asset('res/shoes1.png'),
+ ),
+ ),
+ ),
+ ),
+ ],
+ )),
+ ),
+ );
+ }
+}
diff --git a/Codex/BeingMom/lib/pages/reminders.dart b/Codex/BeingMom/lib/pages/reminders.dart
new file mode 100644
index 00000000..72edecd0
--- /dev/null
+++ b/Codex/BeingMom/lib/pages/reminders.dart
@@ -0,0 +1,448 @@
+import 'package:flutter/material.dart';
+import 'forum.dart';
+
+class RemindersPage extends StatefulWidget {
+ @override
+ _RemindersPageState createState() => _RemindersPageState();
+}
+
+class _RemindersPageState extends State {
+ @override
+ Widget build(BuildContext context) {
+ return Scaffold(
+ appBar: AppBar(
+ elevation: 0.0,
+ backgroundColor: Colors.transparent,
+ leading: IconButton(
+ color: Colors.black,
+ onPressed: () => Navigator.of(context).pop(),
+ icon: Icon(Icons.arrow_back, color: Colors.black),
+ ),
+ title: Text('Reminders',
+ style:
+ TextStyle(color: Colors.black, fontWeight: FontWeight.w700)),
+ // actions:
+ // [
+ // Container
+ // (
+ // margin: EdgeInsets.only(right: 8.0),
+ // child: Row
+ // (
+ // mainAxisAlignment: MainAxisAlignment.center,
+ // crossAxisAlignment: CrossAxisAlignment.center,
+ // children:
+ // [
+ // Text('beclothed.com', style: TextStyle(color: Colors.white, fontWeight: FontWeight.w700, fontSize: 14.0)),
+ // Icon(Icons.arrow_drop_down, color: Colors.black54)
+ // ],
+ // ),
+ // )
+ // ],
+ ),
+ body: ListView(
+ scrollDirection: Axis.vertical,
+ padding: EdgeInsets.symmetric(horizontal: 16.0),
+ children: [
+ Container(
+ margin: EdgeInsets.symmetric(vertical: 16.0, horizontal: 54.0),
+ child: Material(
+ elevation: 8.0,
+ color: Colors.black,
+ borderRadius: BorderRadius.circular(32.0),
+ child: InkWell(
+ onTap: () {},
+ child: Padding(
+ padding: EdgeInsets.all(12.0),
+ child: Row(
+ mainAxisSize: MainAxisSize.min,
+ mainAxisAlignment: MainAxisAlignment.center,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children: [
+ Icon(Icons.add, color: Colors.white),
+ Padding(padding: EdgeInsets.only(right: 16.0)),
+ Text('ADD AN APPOINTMENT',
+ style: TextStyle(color: Colors.white))
+ ],
+ ),
+ ),
+ ),
+ )),
+ ShopItem(),
+ BadShopItem(),
+ NewShopItem()
+ ],
+ ));
+ }
+}
+
+class ShopItem extends StatelessWidget {
+ @override
+ Widget build(BuildContext context) {
+ return Padding(
+ padding: EdgeInsets.only(bottom: 16.0),
+ child: Stack(
+ children: [
+ /// Item card
+ Align(
+ alignment: Alignment.topCenter,
+ child: SizedBox.fromSize(
+ size: Size.fromHeight(172.0),
+ child: Stack(
+ fit: StackFit.expand,
+ children: [
+ /// Item description inside a material
+ Container(
+ margin: EdgeInsets.only(top: 24.0),
+ child: Material(
+ elevation: 14.0,
+ borderRadius: BorderRadius.circular(12.0),
+ shadowColor: Color(0x802196F3),
+ color: Colors.white,
+ child: InkWell(
+ onTap: () => Navigator.of(context).push(
+ MaterialPageRoute(
+ builder: (_) => ItemReviewsPage())),
+ child: Padding(
+ padding: EdgeInsets.all(24.0),
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ /// Title and rating
+ Column(
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ Text(
+ 'Monthly Checkup',
+ style: TextStyle(
+ color: Colors.blueAccent,
+ fontSize: 15.0)),
+ Row(
+ mainAxisAlignment:
+ MainAxisAlignment.start,
+ crossAxisAlignment:
+ CrossAxisAlignment.center,
+ children: [
+ Text('Dr. Preeti',
+ style: TextStyle(
+ color: Colors.black,
+ fontWeight: FontWeight.w700,
+ fontSize: 34.0)),
+
+ ],
+ ),
+ ],
+ ),
+
+ /// Infos
+ Row(
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children: [
+ Text('Scheduled', style: TextStyle()),
+ Padding(
+ padding:
+ EdgeInsets.symmetric(horizontal: 4.0),
+ child: Text('Tomorrow',
+ style: TextStyle(
+ fontWeight: FontWeight.w700)),
+ ),
+ ],
+ ),
+ ],
+ ),
+ ),
+ ),
+ ),
+ ),
+
+ /// Item image
+ Align(
+ alignment: Alignment.topRight,
+ child: Padding(
+ padding: EdgeInsets.only(right: 16.0),
+ child: SizedBox.fromSize(
+ size: Size.fromRadius(54.0),
+ child: Material(
+ elevation: 20.0,
+ shadowColor: Color(0x802196F3),
+ shape: CircleBorder(),
+ child: Image.asset('res/shoes1.png'),
+ ),
+ ),
+ ),
+ ),
+ ],
+ )),
+ ),
+
+ /// Review
+ Padding(
+ padding: EdgeInsets.only(top: 160.0, left: 32.0),
+ child: Material(
+ elevation: 12.0,
+ color: Colors.transparent,
+ borderRadius: BorderRadius.only(
+ topLeft: Radius.circular(20.0),
+ bottomLeft: Radius.circular(20.0),
+ bottomRight: Radius.circular(20.0),
+ ),
+ child: Container(
+ decoration: BoxDecoration(
+ gradient: LinearGradient(
+ colors: [Color(0xFF84fab0), Color(0xFF8fd3f4)],
+ end: Alignment.topLeft,
+ begin: Alignment.bottomRight)),
+ child: Container(
+ margin: EdgeInsets.symmetric(vertical: 4.0),
+ child: ListTile(
+ leading: CircleAvatar(
+ backgroundColor: Colors.purple,
+ child: Text('GR'),
+ ),
+ title: Text('Gangaram Hospital', style: TextStyle()),
+ subtitle: Text(
+ 'Karol Bagh, New Delhi - 110096',
+ maxLines: 2,
+ overflow: TextOverflow.ellipsis,
+ style: TextStyle()),
+ ),
+ ),
+ ),
+ ),
+ )
+ ],
+ ),
+ );
+ }
+}
+
+class BadShopItem extends StatelessWidget {
+ @override
+ Widget build(BuildContext context) {
+ return Padding(
+ padding: EdgeInsets.only(bottom: 16.0),
+ child: Stack(
+ children: [
+ /// Item card
+ Align(
+ alignment: Alignment.topCenter,
+ child: SizedBox.fromSize(
+ size: Size.fromHeight(172.0),
+ child: Stack(
+ fit: StackFit.expand,
+ children: [
+ /// Item description inside a material
+ Container(
+ margin: EdgeInsets.only(top: 24.0),
+ child: Material(
+ elevation: 14.0,
+ borderRadius: BorderRadius.circular(12.0),
+ shadowColor: Color(0x802196F3),
+ color: Colors.transparent,
+ child: Container(
+ decoration: BoxDecoration(
+ gradient: LinearGradient(colors: [
+ Color(0xFFDA4453),
+ Color(0xFF89216B)
+ ])),
+ child: Padding(
+ padding: EdgeInsets.all(24.0),
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ /// Title and rating
+ Column(
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ Text('Vaccination',
+ style: TextStyle(color: Colors.white)),
+ Row(
+ mainAxisAlignment:
+ MainAxisAlignment.start,
+ crossAxisAlignment:
+ CrossAxisAlignment.center,
+ children: [
+ Text('Hepatitis B',
+ style: TextStyle(
+ color: Colors.amber,
+ fontWeight: FontWeight.w700,
+ fontSize: 34.0)),
+
+ ],
+ ),
+ ],
+ ),
+
+ /// Infos
+ Row(
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children: [
+ Text('Due By: 28/09/19',
+ style: TextStyle(color: Colors.white)),
+ Padding(
+ padding:
+ EdgeInsets.symmetric(horizontal: 4.0),
+ child: Text('',
+ style: TextStyle(
+ color: Colors.white,
+ fontWeight: FontWeight.w700)),
+ ),
+ ],
+ ),
+ ],
+ ),
+ ),
+ ),
+ ),
+ ),
+
+ /// Item image
+ Align(
+ alignment: Alignment.topRight,
+ child: Padding(
+ padding: EdgeInsets.only(right: 16.0),
+ child: SizedBox.fromSize(
+ size: Size.fromRadius(54.0),
+ child: Material(
+ elevation: 20.0,
+ shadowColor: Color(0x802196F3),
+ shape: CircleBorder(),
+ child: Image.asset('res/shoes1.png'),
+ ),
+ ),
+ ),
+ ),
+ ],
+ )),
+ ),
+
+ /// Review
+ Padding(
+ padding: EdgeInsets.only(
+ top: 160.0,
+ right: 32.0,
+ ),
+ child: Material(
+ elevation: 12.0,
+ color: Colors.white,
+ borderRadius: BorderRadius.only(
+ topRight: Radius.circular(20.0),
+ bottomLeft: Radius.circular(20.0),
+ bottomRight: Radius.circular(20.0),
+ ),
+ child: Container(
+ margin: EdgeInsets.symmetric(vertical: 4.0),
+ child: ListTile(
+ leading: CircleAvatar(
+ backgroundColor: Colors.purple,
+ child: Text('HB'),
+ ),
+ title: Text('Intramuscular'),
+ subtitle: Text(
+ 'Antero lateral side of mid thigh',
+ maxLines: 2,
+ overflow: TextOverflow.ellipsis),
+ ),
+ ),
+ ),
+ )
+ ],
+ ),
+ );
+ }
+}
+
+class NewShopItem extends StatelessWidget {
+ @override
+ Widget build(BuildContext context) {
+ return Padding(
+ padding: EdgeInsets.only(bottom: 16.0),
+ child: Align(
+ alignment: Alignment.topCenter,
+ child: SizedBox.fromSize(
+ size: Size.fromHeight(172.0),
+ child: Stack(
+ fit: StackFit.expand,
+ children: [
+ /// Item description inside a material
+ Container(
+ margin: EdgeInsets.only(top: 24.0),
+ child: Material(
+ elevation: 14.0,
+ borderRadius: BorderRadius.circular(12.0),
+ shadowColor: Color(0x802196F3),
+ color: Colors.white,
+ child: Padding(
+ padding: EdgeInsets.all(24.0),
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ /// Title and rating
+ Column(
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ Text('[New] Post',
+ style: TextStyle(color: Colors.blueAccent)),
+ Row(
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children: [
+ Text('Not published',
+ style: TextStyle(
+ color: Colors.black,
+ fontWeight: FontWeight.w700,
+ fontSize: 34.0)),
+ ],
+ ),
+ ],
+ ),
+
+ /// Infos
+ Row(
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children: [
+ Text('Viewed by', style: TextStyle()),
+ Padding(
+ padding: EdgeInsets.symmetric(horizontal: 4.0),
+ child: Text('0',
+ style:
+ TextStyle(fontWeight: FontWeight.w700)),
+ ),
+ ],
+ ),
+ ],
+ ),
+ ),
+ ),
+ ),
+
+ /// Item image
+ Align(
+ alignment: Alignment.topRight,
+ child: Padding(
+ padding: EdgeInsets.only(right: 16.0),
+ child: SizedBox.fromSize(
+ size: Size.fromRadius(54.0),
+ child: Material(
+ elevation: 20.0,
+ shadowColor: Color(0x802196F3),
+ shape: CircleBorder(),
+ child: Image.asset('res/shoes1.png'),
+ ),
+ ),
+ ),
+ ),
+ ],
+ )),
+ ),
+ );
+ }
+}
diff --git a/Codex/BeingMom/lib/profile_page.dart b/Codex/BeingMom/lib/profile_page.dart
new file mode 100644
index 00000000..f439332a
--- /dev/null
+++ b/Codex/BeingMom/lib/profile_page.dart
@@ -0,0 +1,422 @@
+import 'package:Maternal/pages/dashboard.dart';
+import 'package:flutter/material.dart';
+import 'package:flutter/cupertino.dart';
+
+class ProfilePage extends StatefulWidget {
+ @override
+ MapScreenState createState() => MapScreenState();
+}
+
+class MapScreenState extends State
+ with SingleTickerProviderStateMixin {
+ bool _status = true;
+ final FocusNode myFocusNode = FocusNode();
+
+ @override
+ void initState() {
+ super.initState();
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return new Scaffold(
+ body: new Container(
+ color: Colors.white,
+ child: new ListView(
+ children: [
+ Column(
+ children: [
+ new Container(
+ height: 250.0,
+ color: Colors.white,
+ child: new Column(
+ children: [
+ Padding(
+ padding: EdgeInsets.only(left: 20.0, top: 20.0),
+ child: new Row(
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ new RaisedButton(
+ child: new Text("Back"),
+ color: Colors.white,
+ onPressed: () => {
+ Navigator.pushReplacement(
+ context,
+ MaterialPageRoute(
+ builder: (context) => MainPage()))
+ },
+ ),
+ Padding(
+ padding: EdgeInsets.only(left: 20.0, top: 10.0),
+ child: new Text('Background Information',
+ style: TextStyle(
+ fontWeight: FontWeight.bold,
+ fontSize: 20.0,
+ fontFamily: 'sans-serif-light',
+ color: Colors.black)),
+ )
+ ],
+ )),
+ Padding(
+ padding: EdgeInsets.only(top: 20.0),
+ child: new Stack(fit: StackFit.loose, children: [
+ new Row(
+ crossAxisAlignment: CrossAxisAlignment.center,
+ mainAxisAlignment: MainAxisAlignment.center,
+ children: [
+ new Container(
+ width: 140.0,
+ height: 140.0,
+ decoration: new BoxDecoration(
+ shape: BoxShape.circle,
+ image: new DecorationImage(
+ image: new ExactAssetImage(
+ 'assets/images/as.png'),
+ fit: BoxFit.cover,
+ ),
+ )),
+ ],
+ ),
+ Padding(
+ padding: EdgeInsets.only(top: 90.0, right: 100.0),
+ child: new Row(
+ mainAxisAlignment: MainAxisAlignment.center,
+ children: [
+ new CircleAvatar(
+ backgroundColor: Colors.red,
+ radius: 25.0,
+ child: new Icon(
+ Icons.camera_alt,
+ color: Colors.white,
+ ),
+ )
+ ],
+ )),
+ ]),
+ )
+ ],
+ ),
+ ),
+ new Container(
+ color: Color(0xffFFFFFF),
+ child: Padding(
+ padding: EdgeInsets.only(bottom: 25.0),
+ child: new Column(
+ crossAxisAlignment: CrossAxisAlignment.start,
+ mainAxisAlignment: MainAxisAlignment.start,
+ children: [
+ Padding(
+ padding: EdgeInsets.only(
+ left: 25.0, right: 25.0, top: 25.0),
+ child: new Row(
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ mainAxisSize: MainAxisSize.max,
+ children: [
+ new Column(
+ mainAxisAlignment: MainAxisAlignment.start,
+ mainAxisSize: MainAxisSize.min,
+ children: [
+ new Text(
+ 'Personal Information',
+ style: TextStyle(
+ fontSize: 18.0,
+ fontWeight: FontWeight.bold),
+ ),
+ ],
+ ),
+ new Column(
+ mainAxisAlignment: MainAxisAlignment.end,
+ mainAxisSize: MainAxisSize.min,
+ children: [
+ _status ? _getEditIcon() : new Container(),
+ ],
+ )
+ ],
+ )),
+ Padding(
+ padding: EdgeInsets.only(
+ left: 25.0, right: 25.0, top: 25.0),
+ child: new Row(
+ mainAxisSize: MainAxisSize.max,
+ children: [
+ new Column(
+ mainAxisAlignment: MainAxisAlignment.start,
+ mainAxisSize: MainAxisSize.min,
+ children: [
+ new Text(
+ 'Expected Delivery Date',
+ style: TextStyle(
+ fontSize: 16.0,
+ fontWeight: FontWeight.bold),
+ ),
+ ],
+ ),
+ ],
+ )),
+ Padding(
+ padding: EdgeInsets.only(
+ left: 25.0, right: 25.0, top: 2.0),
+ child: new Row(
+ mainAxisSize: MainAxisSize.max,
+ children: [
+ new Flexible(
+ child: new TextField(
+ decoration: const InputDecoration(
+ hintText: "Enter Date in DD/MM/YYYY format",
+ ),
+ enabled: !_status,
+ autofocus: !_status,
+ ),
+ ),
+ ],
+ )),
+ Padding(
+ padding: EdgeInsets.only(
+ left: 25.0, right: 25.0, top: 25.0),
+ child: new Row(
+ mainAxisSize: MainAxisSize.max,
+ children: [
+ new Column(
+ mainAxisAlignment: MainAxisAlignment.start,
+ mainAxisSize: MainAxisSize.min,
+ children: [
+ new Text(
+ 'Age',
+ style: TextStyle(
+ fontSize: 16.0,
+ fontWeight: FontWeight.bold),
+ ),
+ ],
+ ),
+ ],
+ )),
+ Padding(
+ padding: EdgeInsets.only(
+ left: 25.0, right: 25.0, top: 2.0),
+ child: new Row(
+ mainAxisSize: MainAxisSize.max,
+ children: [
+ new Flexible(
+ child: new TextField(
+ decoration: const InputDecoration(
+ hintText: "Enter your age"),
+ enabled: !_status,
+ ),
+ ),
+ ],
+ )),
+ Padding(
+ padding: EdgeInsets.only(
+ left: 25.0, right: 25.0, top: 25.0),
+ child: new Row(
+ mainAxisSize: MainAxisSize.max,
+ children: [
+ new Column(
+ mainAxisAlignment: MainAxisAlignment.start,
+ mainAxisSize: MainAxisSize.min,
+ children: [
+ new Text(
+ 'Mobile',
+ style: TextStyle(
+ fontSize: 16.0,
+ fontWeight: FontWeight.bold),
+ ),
+ ],
+ ),
+ ],
+ )),
+ Padding(
+ padding: EdgeInsets.only(
+ left: 25.0, right: 25.0, top: 2.0),
+ child: new Row(
+ mainAxisSize: MainAxisSize.max,
+ children: [
+ new Flexible(
+ child: new TextField(
+ decoration: const InputDecoration(
+ hintText: "Enter Mobile Number"),
+ enabled: !_status,
+ ),
+ ),
+ ],
+ )),
+ Padding(
+ padding: EdgeInsets.only(
+ left: 25.0, right: 25.0, top: 25.0),
+ child: new Row(
+ mainAxisSize: MainAxisSize.max,
+ children: [
+ new Column(
+ mainAxisAlignment: MainAxisAlignment.start,
+ mainAxisSize: MainAxisSize.min,
+ children: [
+ new Text(
+ 'Pincode',
+ style: TextStyle(
+ fontSize: 16.0,
+ fontWeight: FontWeight.bold),
+ ),
+ ],
+ ),
+ ],
+ )),
+ Padding(
+ padding: EdgeInsets.only(
+ left: 25.0, right: 25.0, top: 2.0),
+ child: new Row(
+ mainAxisSize: MainAxisSize.max,
+ children: [
+ new Flexible(
+ child: new TextField(
+ decoration: const InputDecoration(
+ hintText: "Enter your pincode"),
+ enabled: !_status,
+ ),
+ ),
+ ],
+ )),
+ Padding(
+ padding: EdgeInsets.only(
+ left: 25.0, right: 25.0, top: 25.0),
+ child: new Row(
+ mainAxisSize: MainAxisSize.max,
+ mainAxisAlignment: MainAxisAlignment.start,
+ children: [
+ Expanded(
+ child: Container(
+ child: new Text(
+ 'Height',
+ style: TextStyle(
+ fontSize: 16.0,
+ fontWeight: FontWeight.bold),
+ ),
+ ),
+ flex: 2,
+ ),
+ Expanded(
+ child: Container(
+ child: new Text(
+ 'Weight',
+ style: TextStyle(
+ fontSize: 16.0,
+ fontWeight: FontWeight.bold),
+ ),
+ ),
+ flex: 2,
+ ),
+ ],
+ )),
+ Padding(
+ padding: EdgeInsets.only(
+ left: 25.0, right: 25.0, top: 2.0),
+ child: new Row(
+ mainAxisSize: MainAxisSize.max,
+ mainAxisAlignment: MainAxisAlignment.start,
+ children: [
+ Flexible(
+ child: Padding(
+ padding: EdgeInsets.only(right: 10.0),
+ child: new TextField(
+ decoration: const InputDecoration(
+ hintText: "in cms"),
+ enabled: !_status,
+ ),
+ ),
+ flex: 2,
+ ),
+ Flexible(
+ child: new TextField(
+ decoration:
+ const InputDecoration(hintText: "in kgs"),
+ enabled: !_status,
+ ),
+ flex: 2,
+ ),
+ ],
+ )),
+ !_status ? _getActionButtons() : new Container(),
+ ],
+ ),
+ ),
+ )
+ ],
+ ),
+ ],
+ ),
+ ));
+ }
+
+ @override
+ void dispose() {
+ // Clean up the controller when the Widget is disposed
+ myFocusNode.dispose();
+ super.dispose();
+ }
+
+ Widget _getActionButtons() {
+ return Padding(
+ padding: EdgeInsets.only(left: 25.0, right: 25.0, top: 45.0),
+ child: new Row(
+ mainAxisSize: MainAxisSize.max,
+ mainAxisAlignment: MainAxisAlignment.start,
+ children: [
+ Expanded(
+ child: Padding(
+ padding: EdgeInsets.only(right: 10.0),
+ child: Container(
+ child: new RaisedButton(
+ child: new Text("Save"),
+ textColor: Colors.white,
+ color: Colors.green,
+ onPressed: () => Navigator.pushReplacement(context,
+ MaterialPageRoute(builder: (context) => MainPage())),
+ shape: new RoundedRectangleBorder(
+ borderRadius: new BorderRadius.circular(20.0)),
+ )),
+ ),
+ flex: 2,
+ ),
+ Expanded(
+ child: Padding(
+ padding: EdgeInsets.only(left: 10.0),
+ child: Container(
+ child: new RaisedButton(
+ child: new Text("Cancel"),
+ textColor: Colors.white,
+ color: Colors.red,
+ onPressed: () {
+ setState(() {
+ _status = true;
+ FocusScope.of(context).requestFocus(new FocusNode());
+ });
+ },
+ shape: new RoundedRectangleBorder(
+ borderRadius: new BorderRadius.circular(20.0)),
+ )),
+ ),
+ flex: 2,
+ ),
+ ],
+ ),
+ );
+ }
+
+ Widget _getEditIcon() {
+ return new GestureDetector(
+ child: new CircleAvatar(
+ backgroundColor: Colors.red,
+ radius: 14.0,
+ child: new Icon(
+ Icons.edit,
+ color: Colors.white,
+ size: 16.0,
+ ),
+ ),
+ onTap: () {
+ setState(() {
+ _status = false;
+ });
+ },
+ );
+ }
+}
diff --git a/Codex/BeingMom/lib/signup.dart b/Codex/BeingMom/lib/signup.dart
new file mode 100644
index 00000000..c9c063be
--- /dev/null
+++ b/Codex/BeingMom/lib/signup.dart
@@ -0,0 +1,117 @@
+import 'package:flutter/material.dart';
+import 'package:login_page_day_23/animation/FadeAnimation.dart';
+
+class SignupPage extends StatelessWidget {
+ @override
+ Widget build(BuildContext context) {
+ return Scaffold(
+ resizeToAvoidBottomInset: true,
+ backgroundColor: Colors.white,
+ appBar: AppBar(
+ elevation: 0,
+ brightness: Brightness.light,
+ backgroundColor: Colors.white,
+ leading: IconButton(
+ onPressed: () {
+ Navigator.pop(context);
+ },
+ icon: Icon(Icons.arrow_back_ios, size: 20, color: Colors.black,),
+ ),
+ ),
+ body: SingleChildScrollView(
+ child: Container(
+ padding: EdgeInsets.symmetric(horizontal: 40),
+ height: MediaQuery.of(context).size.height - 50,
+ width: double.infinity,
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.spaceEvenly,
+ children: [
+ Column(
+ children: [
+ FadeAnimation(1, Text("Sign up", style: TextStyle(
+ fontSize: 30,
+ fontWeight: FontWeight.bold
+ ),)),
+ SizedBox(height: 20,),
+ FadeAnimation(1.2, Text("Create an account, It's free", style: TextStyle(
+ fontSize: 15,
+ color: Colors.grey[700]
+ ),)),
+ ],
+ ),
+ Column(
+ children: [
+ FadeAnimation(1.2, makeInput(label: "Email")),
+ FadeAnimation(1.3, makeInput(label: "Password", obscureText: true)),
+ FadeAnimation(1.4, makeInput(label: "Confirm Password", obscureText: true)),
+ ],
+ ),
+ FadeAnimation(1.5, Container(
+ padding: EdgeInsets.only(top: 3, left: 3),
+ decoration: BoxDecoration(
+ borderRadius: BorderRadius.circular(50),
+ border: Border(
+ bottom: BorderSide(color: Colors.black),
+ top: BorderSide(color: Colors.black),
+ left: BorderSide(color: Colors.black),
+ right: BorderSide(color: Colors.black),
+ )
+ ),
+ child: MaterialButton(
+ minWidth: double.infinity,
+ height: 60,
+ onPressed: () {},
+ color: Colors.greenAccent,
+ elevation: 0,
+ shape: RoundedRectangleBorder(
+ borderRadius: BorderRadius.circular(50)
+ ),
+ child: Text("Sign up", style: TextStyle(
+ fontWeight: FontWeight.w600,
+ fontSize: 18
+ ),),
+ ),
+ )),
+ FadeAnimation(1.6, Row(
+ mainAxisAlignment: MainAxisAlignment.center,
+ children: [
+ Text("Already have an account?"),
+ Text(" Login", style: TextStyle(
+ fontWeight: FontWeight.w600, fontSize: 18
+ ),),
+ ],
+ )),
+ ],
+ ),
+ ),
+ ),
+ );
+ }
+
+ Widget makeInput({label, obscureText = false}) {
+ return Column(
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ Text(label, style: TextStyle(
+ fontSize: 15,
+ fontWeight: FontWeight.w400,
+ color: Colors.black87
+ ),),
+ SizedBox(height: 5,),
+ TextField(
+ obscureText: obscureText,
+ decoration: InputDecoration(
+ contentPadding: EdgeInsets.symmetric(vertical: 0, horizontal: 10),
+ enabledBorder: OutlineInputBorder(
+ borderSide: BorderSide(color: Colors.grey[400])
+ ),
+ border: OutlineInputBorder(
+ borderSide: BorderSide(color: Colors.grey[400])
+ ),
+ ),
+ ),
+ SizedBox(height: 30,),
+ ],
+ );
+ }
+}
\ No newline at end of file
diff --git a/Codex/BeingMom/lib/style/theme.dart b/Codex/BeingMom/lib/style/theme.dart
new file mode 100644
index 00000000..85999489
--- /dev/null
+++ b/Codex/BeingMom/lib/style/theme.dart
@@ -0,0 +1,18 @@
+import 'dart:ui';
+
+import 'package:flutter/cupertino.dart';
+
+class Colors {
+
+ const Colors();
+
+ static const Color loginGradientStart = const Color(0xFFfbab66);
+ static const Color loginGradientEnd = const Color(0xFFf7418c);
+
+ static const primaryGradient = const LinearGradient(
+ colors: const [loginGradientStart, loginGradientEnd],
+ stops: const [0.0, 1.0],
+ begin: Alignment.topCenter,
+ end: Alignment.bottomCenter,
+ );
+}
\ No newline at end of file
diff --git a/Codex/BeingMom/lib/ui/login_page.dart b/Codex/BeingMom/lib/ui/login_page.dart
new file mode 100644
index 00000000..6a75a6c9
--- /dev/null
+++ b/Codex/BeingMom/lib/ui/login_page.dart
@@ -0,0 +1,679 @@
+import 'package:Maternal/pages/dashboard.dart';
+import 'package:flutter/material.dart';
+import 'package:flutter/material.dart' as prefix0;
+import 'package:flutter/services.dart';
+import 'package:font_awesome_flutter/font_awesome_flutter.dart';
+import 'package:Maternal/style/theme.dart' as Theme;
+import 'package:Maternal/utils/bubble_indication_painter.dart';
+
+class LoginPage extends StatefulWidget {
+ LoginPage({Key key}) : super(key: key);
+
+ @override
+ _LoginPageState createState() => new _LoginPageState();
+}
+
+class _LoginPageState extends State
+ with SingleTickerProviderStateMixin {
+ final GlobalKey _scaffoldKey = new GlobalKey();
+
+ final FocusNode myFocusNodeEmailLogin = FocusNode();
+ final FocusNode myFocusNodePasswordLogin = FocusNode();
+
+ final FocusNode myFocusNodePassword = FocusNode();
+ final FocusNode myFocusNodeEmail = FocusNode();
+ final FocusNode myFocusNodeName = FocusNode();
+
+ TextEditingController loginEmailController = new TextEditingController();
+ TextEditingController loginPasswordController = new TextEditingController();
+
+ bool _obscureTextLogin = true;
+ bool _obscureTextSignup = true;
+ bool _obscureTextSignupConfirm = true;
+
+ TextEditingController signupEmailController = new TextEditingController();
+ TextEditingController signupNameController = new TextEditingController();
+ TextEditingController signupPasswordController = new TextEditingController();
+ TextEditingController signupConfirmPasswordController =
+ new TextEditingController();
+
+ PageController _pageController;
+
+ Color left = Colors.black;
+ Color right = Colors.white;
+
+ @override
+ Widget build(BuildContext context) {
+ return new Scaffold(
+ key: _scaffoldKey,
+ body: NotificationListener(
+ onNotification: (overscroll) {
+ overscroll.disallowGlow();
+ },
+ child: SingleChildScrollView(
+ child: Container(
+ width: MediaQuery.of(context).size.width,
+ height: MediaQuery.of(context).size.height >= 775.0
+ ? MediaQuery.of(context).size.height
+ : 775.0,
+ decoration: new BoxDecoration(
+ gradient: new LinearGradient(
+ colors: [
+ Theme.Colors.loginGradientStart,
+ Theme.Colors.loginGradientEnd
+ ],
+ begin: const FractionalOffset(0.0, 0.0),
+ end: const FractionalOffset(1.0, 1.0),
+ stops: [0.0, 1.0],
+ tileMode: TileMode.clamp),
+ ),
+ child: Column(
+ mainAxisSize: MainAxisSize.max,
+ children: [
+ Padding(
+ padding: EdgeInsets.only(top: 75.0),
+ child: new Image(
+ width: 250.0,
+ height: 191.0,
+ fit: BoxFit.fill,
+ image: new AssetImage('assets/img/login_logo.png')),
+ ),
+ Padding(
+ padding: EdgeInsets.only(top: 20.0),
+ child: _buildMenuBar(context),
+ ),
+ Expanded(
+ flex: 2,
+ child: PageView(
+ controller: _pageController,
+ onPageChanged: (i) {
+ if (i == 0) {
+ setState(() {
+ right = Colors.white;
+ left = Colors.black;
+ });
+ } else if (i == 1) {
+ setState(() {
+ right = Colors.black;
+ left = Colors.white;
+ });
+ }
+ },
+ children: [
+ new ConstrainedBox(
+ constraints: const BoxConstraints.expand(),
+ child: _buildSignIn(context),
+ ),
+ new ConstrainedBox(
+ constraints: const BoxConstraints.expand(),
+ child: _buildSignUp(context),
+ ),
+ ],
+ ),
+ ),
+ ],
+ ),
+ ),
+ ),
+ ),
+ );
+ }
+
+ @override
+ void dispose() {
+ myFocusNodePassword.dispose();
+ myFocusNodeEmail.dispose();
+ myFocusNodeName.dispose();
+ _pageController?.dispose();
+ super.dispose();
+ }
+
+ @override
+ void initState() {
+ super.initState();
+
+ SystemChrome.setPreferredOrientations([
+ DeviceOrientation.portraitUp,
+ DeviceOrientation.portraitDown,
+ ]);
+
+ _pageController = PageController();
+ }
+
+ void showInSnackBar(String value) {
+ FocusScope.of(context).requestFocus(new FocusNode());
+ _scaffoldKey.currentState?.removeCurrentSnackBar();
+ _scaffoldKey.currentState.showSnackBar(new SnackBar(
+ content: new Text(
+ value,
+ textAlign: TextAlign.center,
+ style: TextStyle(
+ color: Colors.white,
+ fontSize: 16.0,
+ fontFamily: "WorkSansSemiBold"),
+ ),
+ backgroundColor: Colors.blue,
+ duration: Duration(seconds: 3),
+ ));
+ }
+
+ Widget _buildMenuBar(BuildContext context) {
+ return Container(
+ width: 300.0,
+ height: 50.0,
+ decoration: BoxDecoration(
+ color: Color(0x552B2B2B),
+ borderRadius: BorderRadius.all(Radius.circular(25.0)),
+ ),
+ child: CustomPaint(
+ painter: TabIndicationPainter(pageController: _pageController),
+ child: Row(
+ mainAxisAlignment: MainAxisAlignment.spaceEvenly,
+ children: [
+ Expanded(
+ child: FlatButton(
+ splashColor: Colors.transparent,
+ highlightColor: Colors.transparent,
+ onPressed: _onSignInButtonPress,
+ child: Text(
+ "Existing",
+ style: TextStyle(
+ color: left,
+ fontSize: 16.0,
+ fontFamily: "WorkSansSemiBold"),
+ ),
+ ),
+ ),
+ //Container(height: 33.0, width: 1.0, color: Colors.white),
+ Expanded(
+ child: FlatButton(
+ splashColor: Colors.transparent,
+ highlightColor: Colors.transparent,
+ onPressed: _onSignUpButtonPress,
+ child: Text(
+ "New",
+ style: TextStyle(
+ color: right,
+ fontSize: 16.0,
+ fontFamily: "WorkSansSemiBold"),
+ ),
+ ),
+ ),
+ ],
+ ),
+ ),
+ );
+ }
+
+ Widget _buildSignIn(BuildContext context) {
+ return Container(
+ padding: EdgeInsets.only(top: 23.0),
+ child: Column(
+ children: [
+ Stack(
+ alignment: Alignment.topCenter,
+ overflow: Overflow.visible,
+ children: [
+ Card(
+ elevation: 2.0,
+ color: Colors.white,
+ shape: RoundedRectangleBorder(
+ borderRadius: BorderRadius.circular(8.0),
+ ),
+ child: Container(
+ width: 300.0,
+ height: 190.0,
+ child: Column(
+ children: [
+ Padding(
+ padding: EdgeInsets.only(
+ top: 20.0, bottom: 20.0, left: 25.0, right: 25.0),
+ child: TextField(
+ focusNode: myFocusNodeEmailLogin,
+ controller: loginEmailController,
+ keyboardType: TextInputType.emailAddress,
+ style: TextStyle(
+ fontFamily: "WorkSansSemiBold",
+ fontSize: 16.0,
+ color: Colors.black),
+ decoration: InputDecoration(
+ border: InputBorder.none,
+ icon: Icon(
+ FontAwesomeIcons.envelope,
+ color: Colors.black,
+ size: 22.0,
+ ),
+ hintText: "Email Address",
+ hintStyle: TextStyle(
+ fontFamily: "WorkSansSemiBold", fontSize: 17.0),
+ ),
+ ),
+ ),
+ Container(
+ width: 250.0,
+ height: 1.0,
+ color: Colors.grey[400],
+ ),
+ Padding(
+ padding: EdgeInsets.only(
+ top: 20.0, bottom: 20.0, left: 25.0, right: 25.0),
+ child: TextField(
+ focusNode: myFocusNodePasswordLogin,
+ controller: loginPasswordController,
+ obscureText: _obscureTextLogin,
+ style: TextStyle(
+ fontFamily: "WorkSansSemiBold",
+ fontSize: 16.0,
+ color: Colors.black),
+ decoration: InputDecoration(
+ border: InputBorder.none,
+ icon: Icon(
+ FontAwesomeIcons.lock,
+ size: 22.0,
+ color: Colors.black,
+ ),
+ hintText: "Password",
+ hintStyle: TextStyle(
+ fontFamily: "WorkSansSemiBold", fontSize: 17.0),
+ suffixIcon: GestureDetector(
+ onTap: _toggleLogin,
+ child: Icon(
+ _obscureTextLogin
+ ? FontAwesomeIcons.eye
+ : FontAwesomeIcons.eyeSlash,
+ size: 15.0,
+ color: Colors.black,
+ ),
+ ),
+ ),
+ ),
+ ),
+ ],
+ ),
+ ),
+ ),
+ Container(
+ margin: EdgeInsets.only(top: 170.0),
+ decoration: new BoxDecoration(
+ borderRadius: BorderRadius.all(Radius.circular(5.0)),
+ boxShadow: [
+ BoxShadow(
+ color: Theme.Colors.loginGradientStart,
+ offset: Offset(1.0, 6.0),
+ blurRadius: 20.0,
+ ),
+ BoxShadow(
+ color: Theme.Colors.loginGradientEnd,
+ offset: Offset(1.0, 6.0),
+ blurRadius: 20.0,
+ ),
+ ],
+ gradient: new LinearGradient(
+ colors: [
+ Theme.Colors.loginGradientEnd,
+ Theme.Colors.loginGradientStart
+ ],
+ begin: const FractionalOffset(0.2, 0.2),
+ end: const FractionalOffset(1.0, 1.0),
+ stops: [0.0, 1.0],
+ tileMode: TileMode.clamp),
+ ),
+ child: MaterialButton(
+ highlightColor: Colors.transparent,
+ splashColor: Theme.Colors.loginGradientEnd,
+ //shape: RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(5.0))),
+ child: Padding(
+ padding: const EdgeInsets.symmetric(
+ vertical: 10.0, horizontal: 42.0),
+ child: Text(
+ "LOGIN",
+ style: TextStyle(
+ color: Colors.white,
+ fontSize: 25.0,
+ fontFamily: "WorkSansBold"),
+ ),
+ ),
+ onPressed: () => Navigator.pushReplacement(
+ context,
+ prefix0.MaterialPageRoute(
+ builder: (context) => MainPage()))),
+ )
+ ],
+ ),
+ Padding(
+ padding: EdgeInsets.only(top: 10.0),
+ child: FlatButton(
+ onPressed: () {},
+ child: Text(
+ "Forgot Password?",
+ style: TextStyle(
+ decoration: TextDecoration.underline,
+ color: Colors.white,
+ fontSize: 16.0,
+ fontFamily: "WorkSansMedium"),
+ )),
+ ),
+ Padding(
+ padding: EdgeInsets.only(top: 10.0),
+ child: Row(
+ mainAxisAlignment: MainAxisAlignment.center,
+ children: [
+ Container(
+ decoration: BoxDecoration(
+ gradient: new LinearGradient(
+ colors: [
+ Colors.white10,
+ Colors.white,
+ ],
+ begin: const FractionalOffset(0.0, 0.0),
+ end: const FractionalOffset(1.0, 1.0),
+ stops: [0.0, 1.0],
+ tileMode: TileMode.clamp),
+ ),
+ width: 100.0,
+ height: 1.0,
+ ),
+ Padding(
+ padding: EdgeInsets.only(left: 15.0, right: 15.0),
+ child: Text(
+ "Or",
+ style: TextStyle(
+ color: Colors.white,
+ fontSize: 16.0,
+ fontFamily: "WorkSansMedium"),
+ ),
+ ),
+ Container(
+ decoration: BoxDecoration(
+ gradient: new LinearGradient(
+ colors: [
+ Colors.white,
+ Colors.white10,
+ ],
+ begin: const FractionalOffset(0.0, 0.0),
+ end: const FractionalOffset(1.0, 1.0),
+ stops: [0.0, 1.0],
+ tileMode: TileMode.clamp),
+ ),
+ width: 100.0,
+ height: 1.0,
+ ),
+ ],
+ ),
+ ),
+ Row(
+ mainAxisAlignment: MainAxisAlignment.center,
+ children: [
+ Padding(
+ padding: EdgeInsets.only(top: 10.0, right: 40.0),
+ child: GestureDetector(
+ onTap: () => showInSnackBar("Facebook button pressed"),
+ child: Container(
+ padding: const EdgeInsets.all(15.0),
+ decoration: new BoxDecoration(
+ shape: BoxShape.circle,
+ color: Colors.white,
+ ),
+ child: new Icon(
+ FontAwesomeIcons.facebookF,
+ color: Color(0xFF0084ff),
+ ),
+ ),
+ ),
+ ),
+ Padding(
+ padding: EdgeInsets.only(top: 10.0),
+ child: GestureDetector(
+ onTap: () => showInSnackBar("Google button pressed"),
+ child: Container(
+ padding: const EdgeInsets.all(15.0),
+ decoration: new BoxDecoration(
+ shape: BoxShape.circle,
+ color: Colors.white,
+ ),
+ child: new Icon(
+ FontAwesomeIcons.google,
+ color: Color(0xFF0084ff),
+ ),
+ ),
+ ),
+ ),
+ ],
+ ),
+ ],
+ ),
+ );
+ }
+
+ Widget _buildSignUp(BuildContext context) {
+ return Container(
+ padding: EdgeInsets.only(top: 23.0),
+ child: Column(
+ children: [
+ Stack(
+ alignment: Alignment.topCenter,
+ overflow: Overflow.visible,
+ children: [
+ Card(
+ elevation: 2.0,
+ color: Colors.white,
+ shape: RoundedRectangleBorder(
+ borderRadius: BorderRadius.circular(8.0),
+ ),
+ child: Container(
+ width: 300.0,
+ height: 360.0,
+ child: Column(
+ children: [
+ Padding(
+ padding: EdgeInsets.only(
+ top: 20.0, bottom: 20.0, left: 25.0, right: 25.0),
+ child: TextField(
+ focusNode: myFocusNodeName,
+ controller: signupNameController,
+ keyboardType: TextInputType.text,
+ textCapitalization: TextCapitalization.words,
+ style: TextStyle(
+ fontFamily: "WorkSansSemiBold",
+ fontSize: 16.0,
+ color: Colors.black),
+ decoration: InputDecoration(
+ border: InputBorder.none,
+ icon: Icon(
+ FontAwesomeIcons.user,
+ color: Colors.black,
+ ),
+ hintText: "Name",
+ hintStyle: TextStyle(
+ fontFamily: "WorkSansSemiBold", fontSize: 16.0),
+ ),
+ ),
+ ),
+ Container(
+ width: 250.0,
+ height: 1.0,
+ color: Colors.grey[400],
+ ),
+ Padding(
+ padding: EdgeInsets.only(
+ top: 20.0, bottom: 20.0, left: 25.0, right: 25.0),
+ child: TextField(
+ focusNode: myFocusNodeEmail,
+ controller: signupEmailController,
+ keyboardType: TextInputType.emailAddress,
+ style: TextStyle(
+ fontFamily: "WorkSansSemiBold",
+ fontSize: 16.0,
+ color: Colors.black),
+ decoration: InputDecoration(
+ border: InputBorder.none,
+ icon: Icon(
+ FontAwesomeIcons.envelope,
+ color: Colors.black,
+ ),
+ hintText: "Email Address",
+ hintStyle: TextStyle(
+ fontFamily: "WorkSansSemiBold", fontSize: 16.0),
+ ),
+ ),
+ ),
+ Container(
+ width: 250.0,
+ height: 1.0,
+ color: Colors.grey[400],
+ ),
+ Padding(
+ padding: EdgeInsets.only(
+ top: 20.0, bottom: 20.0, left: 25.0, right: 25.0),
+ child: TextField(
+ focusNode: myFocusNodePassword,
+ controller: signupPasswordController,
+ obscureText: _obscureTextSignup,
+ style: TextStyle(
+ fontFamily: "WorkSansSemiBold",
+ fontSize: 16.0,
+ color: Colors.black),
+ decoration: InputDecoration(
+ border: InputBorder.none,
+ icon: Icon(
+ FontAwesomeIcons.lock,
+ color: Colors.black,
+ ),
+ hintText: "Password",
+ hintStyle: TextStyle(
+ fontFamily: "WorkSansSemiBold", fontSize: 16.0),
+ suffixIcon: GestureDetector(
+ onTap: _toggleSignup,
+ child: Icon(
+ _obscureTextSignup
+ ? FontAwesomeIcons.eye
+ : FontAwesomeIcons.eyeSlash,
+ size: 15.0,
+ color: Colors.black,
+ ),
+ ),
+ ),
+ ),
+ ),
+ Container(
+ width: 250.0,
+ height: 1.0,
+ color: Colors.grey[400],
+ ),
+ Padding(
+ padding: EdgeInsets.only(
+ top: 20.0, bottom: 20.0, left: 25.0, right: 25.0),
+ child: TextField(
+ controller: signupConfirmPasswordController,
+ obscureText: _obscureTextSignupConfirm,
+ style: TextStyle(
+ fontFamily: "WorkSansSemiBold",
+ fontSize: 16.0,
+ color: Colors.black),
+ decoration: InputDecoration(
+ border: InputBorder.none,
+ icon: Icon(
+ FontAwesomeIcons.lock,
+ color: Colors.black,
+ ),
+ hintText: "Confirmation",
+ hintStyle: TextStyle(
+ fontFamily: "WorkSansSemiBold", fontSize: 16.0),
+ suffixIcon: GestureDetector(
+ onTap: _toggleSignupConfirm,
+ child: Icon(
+ _obscureTextSignupConfirm
+ ? FontAwesomeIcons.eye
+ : FontAwesomeIcons.eyeSlash,
+ size: 15.0,
+ color: Colors.black,
+ ),
+ ),
+ ),
+ ),
+ ),
+ ],
+ ),
+ ),
+ ),
+ Container(
+ margin: EdgeInsets.only(top: 340.0),
+ decoration: new BoxDecoration(
+ borderRadius: BorderRadius.all(Radius.circular(5.0)),
+ boxShadow: [
+ BoxShadow(
+ color: Theme.Colors.loginGradientStart,
+ offset: Offset(1.0, 6.0),
+ blurRadius: 20.0,
+ ),
+ BoxShadow(
+ color: Theme.Colors.loginGradientEnd,
+ offset: Offset(1.0, 6.0),
+ blurRadius: 20.0,
+ ),
+ ],
+ gradient: new LinearGradient(
+ colors: [
+ Theme.Colors.loginGradientEnd,
+ Theme.Colors.loginGradientStart
+ ],
+ begin: const FractionalOffset(0.2, 0.2),
+ end: const FractionalOffset(1.0, 1.0),
+ stops: [0.0, 1.0],
+ tileMode: TileMode.clamp),
+ ),
+ child: MaterialButton(
+ highlightColor: Colors.transparent,
+ splashColor: Theme.Colors.loginGradientEnd,
+ //shape: RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(5.0))),
+ child: Padding(
+ padding: const EdgeInsets.symmetric(
+ vertical: 10.0, horizontal: 42.0),
+ child: Text(
+ "SIGN UP",
+ style: TextStyle(
+ color: Colors.white,
+ fontSize: 25.0,
+ fontFamily: "WorkSansBold"),
+ ),
+ ),
+ onPressed: () => Navigator.pushReplacement(
+ context,
+ prefix0.MaterialPageRoute(
+ builder: (context) => LoginPage()))),
+ ),
+ ],
+ ),
+ ],
+ ),
+ );
+ }
+
+ void _onSignInButtonPress() {
+ _pageController.animateToPage(0,
+ duration: Duration(milliseconds: 500), curve: Curves.decelerate);
+ }
+
+ void _onSignUpButtonPress() {
+ _pageController?.animateToPage(1,
+ duration: Duration(milliseconds: 500), curve: Curves.decelerate);
+ }
+
+ void _toggleLogin() {
+ setState(() {
+ _obscureTextLogin = !_obscureTextLogin;
+ });
+ }
+
+ void _toggleSignup() {
+ setState(() {
+ _obscureTextSignup = !_obscureTextSignup;
+ });
+ }
+
+ void _toggleSignupConfirm() {
+ setState(() {
+ _obscureTextSignupConfirm = !_obscureTextSignupConfirm;
+ });
+ }
+}
diff --git a/Codex/BeingMom/lib/utils/bubble_indication_painter.dart b/Codex/BeingMom/lib/utils/bubble_indication_painter.dart
new file mode 100644
index 00000000..353ccca6
--- /dev/null
+++ b/Codex/BeingMom/lib/utils/bubble_indication_painter.dart
@@ -0,0 +1,51 @@
+import 'dart:math';
+
+import 'package:flutter/material.dart';
+
+class TabIndicationPainter extends CustomPainter {
+ Paint painter;
+ final double dxTarget;
+ final double dxEntry;
+ final double radius;
+ final double dy;
+
+ final PageController pageController;
+
+ TabIndicationPainter(
+ {this.dxTarget = 125.0,
+ this.dxEntry = 25.0,
+ this.radius = 21.0,
+ this.dy = 25.0, this.pageController}) : super(repaint: pageController) {
+ painter = new Paint()
+ ..color = Color(0xFFFFFFFF)
+ ..style = PaintingStyle.fill;
+ }
+
+ @override
+ void paint(Canvas canvas, Size size) {
+
+ final pos = pageController.position;
+ double fullExtent = (pos.maxScrollExtent - pos.minScrollExtent + pos.viewportDimension);
+
+ double pageOffset = pos.extentBefore / fullExtent;
+
+ bool left2right = dxEntry < dxTarget;
+ Offset entry = new Offset(left2right ? dxEntry: dxTarget, dy);
+ Offset target = new Offset(left2right ? dxTarget : dxEntry, dy);
+
+ Path path = new Path();
+ path.addArc(
+ new Rect.fromCircle(center: entry, radius: radius), 0.5 * pi, 1 * pi);
+ path.addRect(
+ new Rect.fromLTRB(entry.dx, dy - radius, target.dx, dy + radius));
+ path.addArc(
+ new Rect.fromCircle(center: target, radius: radius), 1.5 * pi, 1 * pi);
+
+ canvas.translate(size.width * pageOffset, 0.0);
+ canvas.drawShadow(path, Color(0xFFfbab66), 3.0, true);
+ canvas.drawPath(path, painter);
+ }
+
+ @override
+ bool shouldRepaint(TabIndicationPainter oldDelegate) => true;
+}
\ No newline at end of file
diff --git a/Codex/BeingMom/pubspec.lock b/Codex/BeingMom/pubspec.lock
new file mode 100644
index 00000000..3eb0c372
--- /dev/null
+++ b/Codex/BeingMom/pubspec.lock
@@ -0,0 +1,182 @@
+# Generated by pub
+# See https://dart.dev/tools/pub/glossary#lockfile
+packages:
+ async:
+ dependency: transitive
+ description:
+ name: async
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.5.0-nullsafety.1"
+ boolean_selector:
+ dependency: transitive
+ description:
+ name: boolean_selector
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.1.0-nullsafety.1"
+ characters:
+ dependency: transitive
+ description:
+ name: characters
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.1.0-nullsafety.3"
+ charcode:
+ dependency: transitive
+ description:
+ name: charcode
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.2.0-nullsafety.1"
+ clock:
+ dependency: transitive
+ description:
+ name: clock
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.1.0-nullsafety.1"
+ collection:
+ dependency: transitive
+ description:
+ name: collection
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.15.0-nullsafety.3"
+ cupertino_icons:
+ dependency: "direct main"
+ description:
+ name: cupertino_icons
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.1.3"
+ fake_async:
+ dependency: transitive
+ description:
+ name: fake_async
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.2.0-nullsafety.1"
+ flutter:
+ dependency: "direct main"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ flutter_sparkline:
+ dependency: "direct dev"
+ description:
+ name: flutter_sparkline
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.1.0"
+ flutter_staggered_grid_view:
+ dependency: "direct dev"
+ description:
+ name: flutter_staggered_grid_view
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.3.2"
+ flutter_test:
+ dependency: "direct dev"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ font_awesome_flutter:
+ dependency: "direct dev"
+ description:
+ name: font_awesome_flutter
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "8.10.0"
+ google_maps_flutter:
+ dependency: "direct dev"
+ description:
+ name: google_maps_flutter
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.4.0"
+ matcher:
+ dependency: transitive
+ description:
+ name: matcher
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.12.10-nullsafety.1"
+ meta:
+ dependency: transitive
+ description:
+ name: meta
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.3.0-nullsafety.3"
+ path:
+ dependency: transitive
+ description:
+ name: path
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.8.0-nullsafety.1"
+ sky_engine:
+ dependency: transitive
+ description: flutter
+ source: sdk
+ version: "0.0.99"
+ source_span:
+ dependency: transitive
+ description:
+ name: source_span
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.8.0-nullsafety.2"
+ stack_trace:
+ dependency: transitive
+ description:
+ name: stack_trace
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.10.0-nullsafety.1"
+ stream_channel:
+ dependency: transitive
+ description:
+ name: stream_channel
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.1.0-nullsafety.1"
+ string_scanner:
+ dependency: transitive
+ description:
+ name: string_scanner
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.1.0-nullsafety.1"
+ term_glyph:
+ dependency: transitive
+ description:
+ name: term_glyph
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.2.0-nullsafety.1"
+ test_api:
+ dependency: transitive
+ description:
+ name: test_api
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.2.19-nullsafety.2"
+ typed_data:
+ dependency: transitive
+ description:
+ name: typed_data
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.3.0-nullsafety.3"
+ vector_math:
+ dependency: transitive
+ description:
+ name: vector_math
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.1.0-nullsafety.3"
+sdks:
+ dart: ">=2.10.0-110 <2.11.0"
+ flutter: ">=1.17.0 <2.0.0"
diff --git a/Codex/BeingMom/pubspec.yaml b/Codex/BeingMom/pubspec.yaml
new file mode 100644
index 00000000..da2beb1d
--- /dev/null
+++ b/Codex/BeingMom/pubspec.yaml
@@ -0,0 +1,61 @@
+name: Maternal
+description: An App to assist indian women to create awareness towards Maternal care.
+
+version: 1.0.0+1
+
+environment:
+ sdk: ">=2.7.0 <3.0.0"
+
+dependencies:
+ flutter:
+ sdk: flutter
+
+
+
+ cupertino_icons: ^0.1.2
+
+dev_dependencies:
+ flutter_test:
+ sdk: flutter
+
+ font_awesome_flutter: ^8.0.1
+ flutter_sparkline: any
+ flutter_staggered_grid_view: any
+ google_maps_flutter: ^0.4.0
+ # fluttery_seekbar: ^0.0.1
+flutter:
+
+ uses-material-design: true
+
+ assets:
+ - assets/login_logo.png
+ - assets/shoes1.png
+ - assets/focus.jpeg
+ - assets/images/logo.png
+ - assets/images/powered_by.png
+ - assets/images/email_icon.png
+ - assets/images/password_icon.png
+ - assets/images/user_icon.png
+ - assets/images/as.png
+
+
+
+ fonts:
+ - family: WorkSansSemiBold
+ fonts:
+ - asset: assets/fonts/Work_Sans/WorkSans-SemiBold.ttf
+
+ - family: WorkSansBold
+ fonts:
+ - asset: assets/fonts/Work_Sans/WorkSans-Bold.ttf
+
+ - family: WorkSansMedium
+ fonts:
+ - asset: assets/fonts/Work_Sans/WorkSans-Medium.ttf
+ - family: Nexa
+ fonts:
+ - asset: assets/Nexa-Bold.otf
+
+ - family: NexaLight
+ fonts:
+ - asset: assets/Nexa-Light.otf
diff --git a/Codex/BeingMom/screenshots/01.png b/Codex/BeingMom/screenshots/01.png
new file mode 100644
index 00000000..04d0b174
Binary files /dev/null and b/Codex/BeingMom/screenshots/01.png differ
diff --git a/Codex/BeingMom/screenshots/02.png b/Codex/BeingMom/screenshots/02.png
new file mode 100644
index 00000000..e7e0101f
Binary files /dev/null and b/Codex/BeingMom/screenshots/02.png differ
diff --git a/Codex/BeingMom/screenshots/03.png b/Codex/BeingMom/screenshots/03.png
new file mode 100644
index 00000000..8fd2d49a
Binary files /dev/null and b/Codex/BeingMom/screenshots/03.png differ
diff --git a/Codex/BeingMom/screenshots/04.png b/Codex/BeingMom/screenshots/04.png
new file mode 100644
index 00000000..d3b38e50
Binary files /dev/null and b/Codex/BeingMom/screenshots/04.png differ
diff --git a/Codex/BeingMom/screenshots/08.png b/Codex/BeingMom/screenshots/08.png
new file mode 100644
index 00000000..8b7265f4
Binary files /dev/null and b/Codex/BeingMom/screenshots/08.png differ
diff --git a/Codex/BeingMom/screenshots/09.png b/Codex/BeingMom/screenshots/09.png
new file mode 100644
index 00000000..c7e452ba
Binary files /dev/null and b/Codex/BeingMom/screenshots/09.png differ
diff --git a/Codex/BeingMom/screenshots/12.png b/Codex/BeingMom/screenshots/12.png
new file mode 100644
index 00000000..bcd47ba5
Binary files /dev/null and b/Codex/BeingMom/screenshots/12.png differ
diff --git a/Codex/BeingMom/screenshots/26.png b/Codex/BeingMom/screenshots/26.png
new file mode 100644
index 00000000..559ecd7f
Binary files /dev/null and b/Codex/BeingMom/screenshots/26.png differ
diff --git a/Codex/BeingMom/test/widget_test.dart b/Codex/BeingMom/test/widget_test.dart
new file mode 100644
index 00000000..5c7b7358
--- /dev/null
+++ b/Codex/BeingMom/test/widget_test.dart
@@ -0,0 +1,30 @@
+// This is a basic Flutter widget test.
+//
+// To perform an interaction with a widget in your test, use the WidgetTester
+// utility that Flutter provides. For example, you can send tap and scroll
+// gestures. You can also use WidgetTester to find child widgets in the widget
+// tree, read text, and verify that the values of widget properties are correct.
+
+import 'package:flutter/material.dart';
+import 'package:flutter_test/flutter_test.dart';
+
+import 'package:Maternal/main.dart';
+
+void main() {
+ testWidgets('Counter increments smoke test', (WidgetTester tester) async {
+ // Build our app and trigger a frame.
+ await tester.pumpWidget(MyApp());
+
+ // Verify that our counter starts at 0.
+ expect(find.text('0'), findsOneWidget);
+ expect(find.text('1'), findsNothing);
+
+ // Tap the '+' icon and trigger a frame.
+ await tester.tap(find.byIcon(Icons.add));
+ await tester.pump();
+
+ // Verify that our counter has incremented.
+ expect(find.text('0'), findsNothing);
+ expect(find.text('1'), findsOneWidget);
+ });
+}
diff --git a/Codex/Codex.ppt b/Codex/Codex.ppt
new file mode 100644
index 00000000..367ede6f
Binary files /dev/null and b/Codex/Codex.ppt differ
diff --git a/Codex/READM.md b/Codex/READM.md
new file mode 100644
index 00000000..42ae511e
--- /dev/null
+++ b/Codex/READM.md
@@ -0,0 +1,28 @@
+# BeingMom App
+
+A personalized healthcare app specially designed for parents to get regular assistance during the pregnancy and parenting period.
+
+## Tech Stack :
+- Flutter (For app development)
+- Dart, Java
+- Firebase (For Backend Services)
+- Google Map API
+
+### The app is having the following features :
+
+- The app will notify about the daily development of the child. According to the expected delivery date, it will generate the whole timeline.
+- A list of hospitals available near the mother can be looked upon.
+- The proposed checkup dates and medicines reminder will be notified by the app.
+- A local community forum can be created so that the mothers can connect with others going the same phase.
+- Fixing an appointment with the doctor through the platform
+- Primary contacts will be alerted in case of medical emergencies.
+
+## Project Directory Contents
+
+- BeingMom assistance app dart files, assets and fonts.
+- UI design of the proposed app.
+
+## Testing
+
+- Install Flutter --> https://flutter.dev/docs/get-started/install
+- run 'flutter run'