├── ios
├── Flutter
│ ├── Debug.xcconfig
│ ├── Release.xcconfig
│ └── AppFrameworkInfo.plist
├── Runner
│ ├── Runner-Bridging-Header.h
│ ├── Assets.xcassets
│ │ ├── LaunchImage.imageset
│ │ │ ├── LaunchImage.png
│ │ │ ├── LaunchImage@2x.png
│ │ │ ├── LaunchImage@3x.png
│ │ │ ├── README.md
│ │ │ └── Contents.json
│ │ └── AppIcon.appiconset
│ │ │ ├── Icon-App-20x20@1x.png
│ │ │ ├── Icon-App-20x20@2x.png
│ │ │ ├── Icon-App-20x20@3x.png
│ │ │ ├── Icon-App-29x29@1x.png
│ │ │ ├── Icon-App-29x29@2x.png
│ │ │ ├── Icon-App-29x29@3x.png
│ │ │ ├── Icon-App-40x40@1x.png
│ │ │ ├── Icon-App-40x40@2x.png
│ │ │ ├── Icon-App-40x40@3x.png
│ │ │ ├── Icon-App-60x60@2x.png
│ │ │ ├── Icon-App-60x60@3x.png
│ │ │ ├── Icon-App-76x76@1x.png
│ │ │ ├── Icon-App-76x76@2x.png
│ │ │ ├── Icon-App-1024x1024@1x.png
│ │ │ ├── Icon-App-83.5x83.5@2x.png
│ │ │ └── Contents.json
│ ├── AppDelegate.swift
│ ├── Base.lproj
│ │ ├── Main.storyboard
│ │ └── LaunchScreen.storyboard
│ └── Info.plist
├── Runner.xcodeproj
│ ├── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ ├── WorkspaceSettings.xcsettings
│ │ │ └── IDEWorkspaceChecks.plist
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ ├── WorkspaceSettings.xcsettings
│ │ └── IDEWorkspaceChecks.plist
└── .gitignore
├── .gitattributes
├── assets
├── images
│ ├── logo.png
│ ├── plus.png
│ ├── email.png
│ ├── google.png
│ ├── logOut.png
│ ├── minus.png
│ ├── aboutUs.png
│ ├── business.png
│ ├── compass.png
│ ├── facebook.png
│ ├── location.png
│ ├── macLogo.png
│ ├── MaskGroup1.png
│ ├── alhijraLogo.png
│ ├── alnoorLogo.png
│ ├── chathamLogo.png
│ ├── editProfile.png
│ ├── hifzProgram.png
│ ├── windsorLogo.png
│ ├── Notifications.png
│ ├── alhijra_img.jpeg
│ ├── masjidNoorLogo.jpg
│ ├── member_module.png
│ ├── prayerTimings.png
│ ├── logoBackground.jpeg
│ ├── mosqueBackground.jpg
│ ├── windsorMemorials.png
│ ├── prayerPagePicture.png
│ ├── countryMeadowsCemetery.png
│ ├── needle.svg
│ ├── logIn.svg
│ ├── logOut.svg
│ ├── kaaba-building.svg
│ ├── reading-quran.svg
│ ├── signUp.svg
│ ├── shop.svg
│ ├── corpse.svg
│ ├── community.svg
│ ├── aboutUs.svg
│ └── muslim-man-praying.svg
├── introPics
│ ├── 1.png
│ ├── 2.png
│ ├── 3.png
│ ├── 4.png
│ ├── 5.png
│ ├── 6.png
│ ├── 7.png
│ ├── 8.png
│ ├── 9.png
│ └── 10.png
└── policy.md
├── android
├── gradle.properties
├── app
│ ├── src
│ │ ├── main
│ │ │ ├── res
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ ├── mipmap-hdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── mipmap-mdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ └── mipmap-xhdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable
│ │ │ │ │ └── launch_background.xml
│ │ │ │ ├── drawable-v21
│ │ │ │ │ └── launch_background.xml
│ │ │ │ ├── values
│ │ │ │ │ └── styles.xml
│ │ │ │ └── values-night
│ │ │ │ │ └── styles.xml
│ │ │ ├── kotlin
│ │ │ │ └── com
│ │ │ │ │ └── hassan
│ │ │ │ │ └── windsor_essex_muslim_care
│ │ │ │ │ └── MainActivity.kt
│ │ │ └── AndroidManifest.xml
│ │ ├── debug
│ │ │ └── AndroidManifest.xml
│ │ └── profile
│ │ │ └── AndroidManifest.xml
│ ├── google-services.json
│ └── build.gradle
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
├── .gitignore
├── settings.gradle
└── build.gradle
├── .metadata
├── lib
├── screens
│ ├── islamicSchools.dart
│ ├── aboutUs.dart
│ ├── hifzProgram.dart
│ ├── mosquesList.dart
│ ├── allBusinessPage.dart
│ ├── homePage.dart
│ ├── qiblaPage.dart
│ ├── announcements
│ │ └── announcements.dart
│ ├── credentials
│ │ └── loginRelated
│ │ │ └── forgetPasswordPage.dart
│ ├── onBardingPage.dart
│ └── prayerTimings.dart
├── tools
│ ├── loading.dart
│ ├── custom_toast.dart
│ ├── glassmorphism
│ │ └── src
│ │ │ ├── blur.dart
│ │ │ ├── glass_container.dart
│ │ │ └── hollow_shadow_painter.dart
│ ├── loadingErrorWidget.dart
│ ├── neuomorphic.dart
│ ├── policy.dart
│ └── notificationHandler.dart
├── config
│ └── collection_names.dart
├── models
│ ├── bankDetailsModel.dart
│ ├── announcementsModel.dart
│ ├── businessModel.dart
│ ├── communityServiceModel.dart
│ └── userModel.dart
├── data
│ └── boardOfDirectors.dart
├── credentials
│ ├── signUpRelated
│ │ ├── signUpPage.dart
│ │ └── signUpOptions.dart
│ └── loginRelated
│ │ └── forgetPasswordPage.dart
├── Database
│ ├── local_database.dart
│ └── database.dart
├── main.dart
├── services
│ └── authentication_service.dart
├── constants.dart
└── commonUIFunctions.dart
├── README.md
├── .vscode
└── launch.json
├── .gitignore
├── test
└── widget_test.dart
└── pubspec.yaml
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
--------------------------------------------------------------------------------
/assets/images/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/logo.png
--------------------------------------------------------------------------------
/assets/images/plus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/plus.png
--------------------------------------------------------------------------------
/assets/introPics/1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/introPics/1.png
--------------------------------------------------------------------------------
/assets/introPics/2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/introPics/2.png
--------------------------------------------------------------------------------
/assets/introPics/3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/introPics/3.png
--------------------------------------------------------------------------------
/assets/introPics/4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/introPics/4.png
--------------------------------------------------------------------------------
/assets/introPics/5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/introPics/5.png
--------------------------------------------------------------------------------
/assets/introPics/6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/introPics/6.png
--------------------------------------------------------------------------------
/assets/introPics/7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/introPics/7.png
--------------------------------------------------------------------------------
/assets/introPics/8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/introPics/8.png
--------------------------------------------------------------------------------
/assets/introPics/9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/introPics/9.png
--------------------------------------------------------------------------------
/assets/images/email.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/email.png
--------------------------------------------------------------------------------
/assets/images/google.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/google.png
--------------------------------------------------------------------------------
/assets/images/logOut.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/logOut.png
--------------------------------------------------------------------------------
/assets/images/minus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/minus.png
--------------------------------------------------------------------------------
/assets/introPics/10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/introPics/10.png
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.useAndroidX=true
3 | android.enableJetifier=true
4 |
--------------------------------------------------------------------------------
/assets/images/aboutUs.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/aboutUs.png
--------------------------------------------------------------------------------
/assets/images/business.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/business.png
--------------------------------------------------------------------------------
/assets/images/compass.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/compass.png
--------------------------------------------------------------------------------
/assets/images/facebook.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/facebook.png
--------------------------------------------------------------------------------
/assets/images/location.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/location.png
--------------------------------------------------------------------------------
/assets/images/macLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/macLogo.png
--------------------------------------------------------------------------------
/assets/images/MaskGroup1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/MaskGroup1.png
--------------------------------------------------------------------------------
/assets/images/alhijraLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/alhijraLogo.png
--------------------------------------------------------------------------------
/assets/images/alnoorLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/alnoorLogo.png
--------------------------------------------------------------------------------
/assets/images/chathamLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/chathamLogo.png
--------------------------------------------------------------------------------
/assets/images/editProfile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/editProfile.png
--------------------------------------------------------------------------------
/assets/images/hifzProgram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/hifzProgram.png
--------------------------------------------------------------------------------
/assets/images/windsorLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/windsorLogo.png
--------------------------------------------------------------------------------
/assets/images/Notifications.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/Notifications.png
--------------------------------------------------------------------------------
/assets/images/alhijra_img.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/alhijra_img.jpeg
--------------------------------------------------------------------------------
/assets/images/masjidNoorLogo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/masjidNoorLogo.jpg
--------------------------------------------------------------------------------
/assets/images/member_module.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/member_module.png
--------------------------------------------------------------------------------
/assets/images/prayerTimings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/prayerTimings.png
--------------------------------------------------------------------------------
/assets/images/logoBackground.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/logoBackground.jpeg
--------------------------------------------------------------------------------
/assets/images/mosqueBackground.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/mosqueBackground.jpg
--------------------------------------------------------------------------------
/assets/images/windsorMemorials.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/windsorMemorials.png
--------------------------------------------------------------------------------
/assets/images/prayerPagePicture.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/prayerPagePicture.png
--------------------------------------------------------------------------------
/assets/images/countryMeadowsCemetery.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/assets/images/countryMeadowsCemetery.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/android/app/src/main/res/mipmap-xxhdpi/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/android/app/src/main/res/mipmap-xxhdpi/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/android/app/src/main/res/mipmap-xxhdpi/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hassan-zafar/muslim_community_app/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/com/hassan/windsor_essex_muslim_care/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.hassan.windsor_essex_muslim_care
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity: FlutterActivity() {
6 | }
7 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Jun 23 08:50:38 CEST 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
7 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
9 | # Remember to never publicly share your keystore.
10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11 | key.properties
12 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/.metadata:
--------------------------------------------------------------------------------
1 | # This file tracks properties of this Flutter project.
2 | # Used by Flutter tool to assess capabilities and perform upgrades etc.
3 | #
4 | # This file should be version controlled and should not be manually edited.
5 |
6 | version:
7 | revision: 1d9032c7e1d867f071f2277eb1673e8f9b0274e3
8 | channel: stable
9 |
10 | project_type: app
11 |
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/lib/screens/islamicSchools.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | class IslamicSchools extends StatefulWidget {
3 | @override
4 | _IslamicSchoolsState createState() => _IslamicSchoolsState();
5 | }
6 |
7 | class _IslamicSchoolsState extends State {
8 | @override
9 | Widget build(BuildContext context) {
10 | return Container(
11 |
12 | );
13 | }
14 | }
--------------------------------------------------------------------------------
/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @UIApplicationMain
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
4 | def properties = new Properties()
5 |
6 | assert localPropertiesFile.exists()
7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
8 |
9 | def flutterSdkPath = properties.getProperty("flutter.sdk")
10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
12 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-v21/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchImage.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchImage@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "LaunchImage@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/lib/tools/loading.dart:
--------------------------------------------------------------------------------
1 | import 'dart:io';
2 |
3 | import 'package:flutter/cupertino.dart';
4 | import 'package:flutter/material.dart';
5 |
6 | class LoadingIndicator extends StatelessWidget {
7 | @override
8 | Widget build(BuildContext context) {
9 | final widget = (Platform.isAndroid)
10 | ? CircularProgressIndicator(
11 | backgroundColor: Colors.black,
12 | )
13 | : CupertinoActivityIndicator();
14 | return Container(
15 | alignment: Alignment.center,
16 | child: widget,
17 | );
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/lib/tools/custom_toast.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:fluttertoast/fluttertoast.dart';
3 |
4 | void successToast({
5 | @required String message,
6 | int duration = 3,
7 | }) {
8 | Fluttertoast.showToast(
9 | msg: message,
10 | timeInSecForIosWeb: duration,
11 | backgroundColor: Colors.green,
12 | );
13 | }
14 |
15 | void errorToast({
16 | @required String message,
17 | int duration = 4,
18 | }) {
19 | Fluttertoast.showToast(
20 | msg: message,
21 | timeInSecForIosWeb: duration,
22 | backgroundColor: Colors.red,
23 | );
24 | }
25 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # windsor_essex_muslim_care
2 |
3 | A new Flutter application.
4 |
5 | ## Getting Started
6 |
7 | This project is a starting point for a Flutter application.
8 |
9 | A few resources to get you started if this is your first Flutter project:
10 |
11 | - [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
12 | - [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
13 |
14 | For help getting started with Flutter, view our
15 | [online documentation](https://flutter.dev/docs), which offers tutorials,
16 | samples, guidance on mobile development, and a full API reference.
17 |
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | *.mode1v3
2 | *.mode2v3
3 | *.moved-aside
4 | *.pbxuser
5 | *.perspectivev3
6 | **/*sync/
7 | .sconsign.dblite
8 | .tags*
9 | **/.vagrant/
10 | **/DerivedData/
11 | Icon?
12 | **/Pods/
13 | **/.symlinks/
14 | profile
15 | xcuserdata
16 | **/.generated/
17 | Flutter/App.framework
18 | Flutter/Flutter.framework
19 | Flutter/Flutter.podspec
20 | Flutter/Generated.xcconfig
21 | Flutter/app.flx
22 | Flutter/app.zip
23 | Flutter/flutter_assets/
24 | Flutter/flutter_export_environment.sh
25 | ServiceDefinitions.json
26 | Runner/GeneratedPluginRegistrant.*
27 |
28 | # Exceptions to above rules.
29 | !default.mode1v3
30 | !default.mode2v3
31 | !default.pbxuser
32 | !default.perspectivev3
33 |
--------------------------------------------------------------------------------
/lib/screens/aboutUs.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:windsor_essex_muslim_care/constants.dart';
3 | import 'package:webview_flutter/webview_flutter.dart';
4 |
5 | class AboutUsPage extends StatefulWidget {
6 | @override
7 | _AboutUsPageState createState() => _AboutUsPageState();
8 | }
9 |
10 | class _AboutUsPageState extends State {
11 | @override
12 | Widget build(BuildContext context) {
13 | return SafeArea(
14 | child: Container(
15 | decoration: backgroundColorBoxDecoration(),
16 | child: WebView(
17 | initialUrl: "https://wemuslimcare.ca/about-us",
18 | javascriptMode: JavascriptMode.unrestricted,
19 | ),
20 | ));
21 | }
22 | }
23 | //bla bla
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.6.10'
3 | repositories {
4 | google()
5 | jcenter()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:4.1.0'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 | classpath 'com.google.gms:google-services:4.3.5'
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | google()
18 | jcenter()
19 | }
20 | }
21 |
22 | rootProject.buildDir = '../build'
23 | subprojects {
24 | project.buildDir = "${rootProject.buildDir}/${project.name}"
25 | project.evaluationDependsOn(':app')
26 | }
27 |
28 | task clean(type: Delete) {
29 | delete rootProject.buildDir
30 | }
31 |
--------------------------------------------------------------------------------
/lib/config/collection_names.dart:
--------------------------------------------------------------------------------
1 | import 'package:cloud_firestore/cloud_firestore.dart';
2 |
3 | const String userDataCollection = "userData";
4 | const String bankInfoCollection = "bankInfo";
5 | const String communityServicesCollection = "communityServices";
6 | final bankInfoRef =
7 | FirebaseFirestore.instance.collection(bankInfoCollection);
8 | const String businessDetailsCollection = "businessDetails";
9 | final userRef = FirebaseFirestore.instance.collection(userDataCollection);
10 | final businessRef =
11 | FirebaseFirestore.instance.collection(businessDetailsCollection);
12 | final communityRef =
13 | FirebaseFirestore.instance.collection(communityServicesCollection);
14 | final announcementsRef = FirebaseFirestore.instance.collection('announcements');
15 |
--------------------------------------------------------------------------------
/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // Use IntelliSense to learn about possible attributes.
3 | // Hover to view descriptions of existing attributes.
4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5 | "version": "0.2.0",
6 | "configurations": [
7 | {
8 | "name": "muslim_community_app",
9 | "request": "launch",
10 | "type": "dart"
11 | },
12 | {
13 | "name": "muslim_community_app (profile mode)",
14 | "request": "launch",
15 | "type": "dart",
16 | "flutterMode": "profile"
17 | },
18 | {
19 | "name": "muslim_community_app (release mode)",
20 | "request": "launch",
21 | "type": "dart",
22 | "flutterMode": "release"
23 | }
24 | ]
25 | }
--------------------------------------------------------------------------------
/lib/models/bankDetailsModel.dart:
--------------------------------------------------------------------------------
1 | class BankDetailsModel {
2 | final String email;
3 |
4 | final String bankName;
5 | final String transitNo;
6 | final String accountNo;
7 | final String referenceNo;
8 | final String timeStamp;
9 |
10 | BankDetailsModel({
11 | this.bankName,
12 | this.email,
13 | this.transitNo,
14 | this.referenceNo,
15 | this.timeStamp,
16 | this.accountNo,
17 | });
18 |
19 | Map toMap() {
20 | return {};
21 | }
22 |
23 | factory BankDetailsModel.fromDocument(doc) {
24 | return BankDetailsModel(
25 | bankName: doc.data()["bankName"],
26 | email: doc.data()["email"],
27 | transitNo: doc.data()["transitNo"],
28 | referenceNo: doc.data()["referenceNo"],
29 | accountNo: doc.data()["accountNo"],
30 | timeStamp: doc.data()["timeStamp"],
31 | );
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 8.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 |
12 | # IntelliJ related
13 | *.iml
14 | *.ipr
15 | *.iws
16 | .idea/
17 |
18 | # The .vscode folder contains launch configuration and tasks you configure in
19 | # VS Code which you may wish to be included in version control, so this line
20 | # is commented out by default.
21 | #.vscode/
22 |
23 | # Flutter/Dart/Pub related
24 | **/doc/api/
25 | **/ios/Flutter/.last_build_id
26 | .dart_tool/
27 | .flutter-plugins
28 | .flutter-plugins-dependencies
29 | .packages
30 | .pub-cache/
31 | .pub/
32 | /build/
33 |
34 | # Web related
35 | lib/generated_plugin_registrant.dart
36 |
37 | # Symbolication related
38 | app.*.symbols
39 |
40 | # Obfuscation related
41 | app.*.map.json
42 |
43 | # Android Studio will place build artifacts here
44 | /android/app/debug
45 | /android/app/profile
46 | /android/app/release
47 |
--------------------------------------------------------------------------------
/lib/tools/glassmorphism/src/blur.dart:
--------------------------------------------------------------------------------
1 | import 'dart:ui';
2 |
3 | import 'package:flutter/material.dart';
4 |
5 | /// Widget that blur it's child
6 | class Blur extends StatelessWidget {
7 | /// Widget that blur it's child
8 | const Blur({key, this.blur, this.child});
9 |
10 | ///Blur intensity
11 | final double blur;
12 |
13 | ///[Widget] child to be blurred.
14 | final Widget child;
15 |
16 | @override
17 | Widget build(BuildContext context) {
18 | if (blur < 1) return child;
19 |
20 | return ImageFiltered(
21 | imageFilter: ImageFilter.blur(sigmaX: blur, sigmaY: blur),
22 | child: child,
23 | );
24 | }
25 | }
26 |
27 | ///Widget Blur Extensions
28 | extension BlurWidgetExt on Widget {
29 | ///Blur the widget
30 | Widget blur({double blur}) {
31 | return Blur(blur: blur, child: this);
32 | }
33 |
34 | ///[Blur] widget with [ClipRect] parent
35 | Widget blurClipped({double blur}) {
36 | return ClipRect(child: Blur(blur: blur, child: this));
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/lib/tools/glassmorphism/src/glass_container.dart:
--------------------------------------------------------------------------------
1 | import 'dart:ui';
2 |
3 | import 'package:flutter/material.dart';
4 |
5 | /// Widget that blur it's child
6 | class Blur extends StatelessWidget {
7 | /// Widget that blur it's child
8 | const Blur({key, this.blur, this.child});
9 |
10 | ///Blur intensity
11 | final double blur;
12 |
13 | ///[Widget] child to be blurred.
14 | final Widget child;
15 |
16 | @override
17 | Widget build(BuildContext context) {
18 | if (blur < 1) return child;
19 |
20 | return ImageFiltered(
21 | imageFilter: ImageFilter.blur(sigmaX: blur, sigmaY: blur),
22 | child: child,
23 | );
24 | }
25 | }
26 |
27 | ///Widget Blur Extensions
28 | extension BlurWidgetExt on Widget {
29 | ///Blur the widget
30 | Widget blur({ double blur}) {
31 | return Blur(blur: blur, child: this);
32 | }
33 |
34 | ///[Blur] widget with [ClipRect] parent
35 | Widget blurClipped({ double blur}) {
36 | return ClipRect(child: Blur(blur: blur, child: this));
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/lib/models/announcementsModel.dart:
--------------------------------------------------------------------------------
1 | import 'package:cloud_firestore/cloud_firestore.dart';
2 |
3 | class AnnouncementsModel {
4 | final String userId;
5 | final String announcementId;
6 | final String announcementTitle;
7 | final String description;
8 | final Timestamp timestamp;
9 | final String token;
10 | final String imageUrl;
11 |
12 | AnnouncementsModel({
13 | this.userId,
14 | this.announcementId,
15 | this.announcementTitle,
16 | this.description,
17 | this.timestamp,
18 | this.token,
19 | this.imageUrl,
20 | });
21 |
22 | Map toMap() {
23 | return {};
24 | }
25 |
26 | factory AnnouncementsModel.fromDocument(doc) {
27 | return AnnouncementsModel(
28 | userId: doc.data()["userId"],
29 | announcementId: doc.data()["announcementId"],
30 | announcementTitle: doc.data()["announcementTitle"],
31 | description: doc.data()["description"],
32 | timestamp: doc.data()["timestamp"],
33 | token: doc.data()["token"],
34 | imageUrl: doc.data()["imageUrl"],
35 | );
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values-night/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/test/widget_test.dart:
--------------------------------------------------------------------------------
1 | // This is a basic Flutter widget test.
2 | //
3 | // To perform an interaction with a widget in your test, use the WidgetTester
4 | // utility that Flutter provides. For example, you can send tap and scroll
5 | // gestures. You can also use WidgetTester to find child widgets in the widget
6 | // tree, read text, and verify that the values of widget properties are correct.
7 |
8 | import 'package:flutter/material.dart';
9 | import 'package:flutter_test/flutter_test.dart';
10 |
11 | import 'package:windsor_essex_muslim_care/main.dart';
12 |
13 | void main() {
14 | testWidgets('Counter increments smoke test', (WidgetTester tester) async {
15 | // Build our app and trigger a frame.
16 | await tester.pumpWidget(MyApp());
17 |
18 | // Verify that our counter starts at 0.
19 | expect(find.text('0'), findsOneWidget);
20 | expect(find.text('1'), findsNothing);
21 |
22 | // Tap the '+' icon and trigger a frame.
23 | await tester.tap(find.byIcon(Icons.add));
24 | await tester.pump();
25 |
26 | // Verify that our counter has incremented.
27 | expect(find.text('0'), findsNothing);
28 | expect(find.text('1'), findsOneWidget);
29 | });
30 | }
31 |
--------------------------------------------------------------------------------
/lib/models/businessModel.dart:
--------------------------------------------------------------------------------
1 | class BusinessModel {
2 | final String id;
3 |
4 | final String businessName;
5 | final String imageUrl;
6 | final String websiteLink;
7 | final String description;
8 | final String location;
9 | final bool approve;
10 | final String userId;
11 | final String email;
12 | final String token;
13 |
14 | BusinessModel(
15 | {this.id,
16 | this.businessName,
17 | this.description,
18 | this.imageUrl,
19 | this.location,
20 | this.websiteLink,
21 | this.email,
22 | this.userId,
23 | this.token,
24 | this.approve});
25 |
26 | Map toMap() {
27 | return {};
28 | }
29 |
30 | factory BusinessModel.fromDocument(doc) {
31 | return BusinessModel(
32 | id: doc.data()["id"],
33 | businessName: doc.data()["businessName"],
34 | description: doc.data()["description"],
35 | imageUrl: doc.data()["imageUrl"],
36 | location: doc.data()["location"],
37 | websiteLink: doc.data()["websiteLink"],
38 | approve: doc.data()["approve"],
39 | userId: doc.data()["userId"],
40 | email: doc.data()["email"],
41 | token: doc.data()["token"],
42 | );
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/lib/tools/loadingErrorWidget.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class LocationErrorWidget extends StatelessWidget {
4 | final String error;
5 | final Function callback;
6 |
7 | const LocationErrorWidget({Key key, this.error, this.callback})
8 | : super(key: key);
9 |
10 |
11 | @override
12 | Widget build(BuildContext context) {
13 | final box = SizedBox(height: 32);
14 | final errorColor = Color(0xffb00020);
15 |
16 | return Container(
17 | child: Center(
18 | child: Column(
19 | mainAxisSize: MainAxisSize.min,
20 | children: [
21 | Icon(
22 | Icons.location_off,
23 | size: 150,
24 | color: errorColor,
25 | ),
26 | box,
27 | Text(
28 | error,
29 | style: TextStyle(
30 | color: errorColor, fontWeight: FontWeight.bold),
31 | ),
32 | box,
33 | RaisedButton(
34 | child: Text("Retry"),
35 | onPressed: () {
36 | if (callback != null) callback();
37 | },
38 | )
39 | ],
40 | ),
41 | ),
42 | );
43 | }
44 | }
--------------------------------------------------------------------------------
/lib/models/communityServiceModel.dart:
--------------------------------------------------------------------------------
1 | class CommunityServiceModel {
2 | final String id;
3 | final String communityName;
4 | final String imageUrl;
5 | final String websiteLink;
6 | final String description;
7 | final String location;
8 | final String token;
9 |
10 | final bool isApproved;
11 |
12 | final String email;
13 | final String userId;
14 | CommunityServiceModel(
15 | {this.id,
16 | this.communityName,
17 | this.description,
18 | this.imageUrl,
19 | this.location,
20 | this.websiteLink,
21 | this.userId,
22 | this.token,
23 | this.email,
24 | this.isApproved});
25 |
26 | Map toMap() {
27 | return {};
28 | }
29 |
30 | factory CommunityServiceModel.fromDocument(doc) {
31 | return CommunityServiceModel(
32 | id: doc.data()["id"],
33 | communityName: doc.data()["communityName"],
34 | description: doc.data()["description"],
35 | imageUrl: doc.data()["imageUrl"],
36 | location: doc.data()["location"],
37 | websiteLink: doc.data()["websiteLink"],
38 | isApproved: doc.data()["isApproved"],
39 | email: doc.data()["email"],
40 | userId: doc.data()["userId"],
41 | token: doc.data()["token"],
42 | );
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/lib/data/boardOfDirectors.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | TextStyle directorTextStyle() {
4 | return TextStyle(fontSize: 16, fontWeight: FontWeight.w200);
5 | }
6 |
7 | Column boardOfDirectorsList() {
8 | return Column(
9 | children: [
10 | Padding(
11 | padding: const EdgeInsets.all(8.0),
12 | child: Text(
13 | "Sr. Rubina Waqar, President",
14 | style: directorTextStyle(),
15 | ),
16 | ),
17 | Padding(
18 | padding: const EdgeInsets.all(8.0),
19 | child: Text(
20 | "Sr. Abeer Rizek, Secretary",
21 | style: directorTextStyle(),
22 | ),
23 | ),
24 | Padding(
25 | padding: const EdgeInsets.all(8.0),
26 | child: Text(
27 | "Br. Gihad Gawanmeh, Board Member",
28 | style: directorTextStyle(),
29 | ),
30 | ),
31 | Padding(
32 | padding: const EdgeInsets.all(8.0),
33 | child: Text(
34 | "Br. Sami Issa, Board Member",
35 | style: directorTextStyle(),
36 | ),
37 | ),
38 | Padding(
39 | padding: const EdgeInsets.all(8.0),
40 | child: Text(
41 | "Sh. Abdullah Hammoud, Imam & Religious Advisor",
42 | style: directorTextStyle(),
43 | ),
44 | ),
45 | Padding(
46 | padding: const EdgeInsets.all(8.0),
47 | child: Text(
48 | "Sr. Waheeda Khan, School Principal",
49 | style: directorTextStyle(),
50 | ),
51 | ),
52 | ],
53 | );
54 | }
55 |
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/assets/images/needle.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | windsor_essex_muslim_care
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | $(FLUTTER_BUILD_NAME)
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | $(FLUTTER_BUILD_NUMBER)
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UISupportedInterfaceOrientations
30 |
31 | UIInterfaceOrientationPortrait
32 | UIInterfaceOrientationLandscapeLeft
33 | UIInterfaceOrientationLandscapeRight
34 |
35 | UISupportedInterfaceOrientations~ipad
36 |
37 | UIInterfaceOrientationPortrait
38 | UIInterfaceOrientationPortraitUpsideDown
39 | UIInterfaceOrientationLandscapeLeft
40 | UIInterfaceOrientationLandscapeRight
41 |
42 | UIViewControllerBasedStatusBarAppearance
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/assets/images/logIn.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/assets/images/logOut.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/android/app/google-services.json:
--------------------------------------------------------------------------------
1 | {
2 | "project_info": {
3 | "project_number": "570384505161",
4 | "project_id": "muslimcare-app",
5 | "storage_bucket": "muslimcare-app.appspot.com"
6 | },
7 | "client": [
8 | {
9 | "client_info": {
10 | "mobilesdk_app_id": "1:570384505161:android:e52507ea4665c98664e298",
11 | "android_client_info": {
12 | "package_name": "com.hassan.windsor_essex_muslim_care"
13 | }
14 | },
15 | "oauth_client": [
16 | {
17 | "client_id": "570384505161-94jkuppj2430cl95euti2t02nhkmhide.apps.googleusercontent.com",
18 | "client_type": 1,
19 | "android_info": {
20 | "package_name": "com.hassan.windsor_essex_muslim_care",
21 | "certificate_hash": "bc0cbf9062896b59c22e63101bb302cef893ef3c"
22 | }
23 | },
24 | {
25 | "client_id": "570384505161-sqt69i6dc0rggkitac5bneopvin7kdu2.apps.googleusercontent.com",
26 | "client_type": 1,
27 | "android_info": {
28 | "package_name": "com.hassan.windsor_essex_muslim_care",
29 | "certificate_hash": "a38e75bc78f57ab76e91317120445129ba6d45ca"
30 | }
31 | },
32 | {
33 | "client_id": "570384505161-573i8067dntpq8uft0nr8ugt61nt6l12.apps.googleusercontent.com",
34 | "client_type": 3
35 | }
36 | ],
37 | "api_key": [
38 | {
39 | "current_key": "AIzaSyAQvdN54zrfpL6IXRboIs5fkGiJQiNG6qc"
40 | }
41 | ],
42 | "services": {
43 | "appinvite_service": {
44 | "other_platform_oauth_client": [
45 | {
46 | "client_id": "570384505161-573i8067dntpq8uft0nr8ugt61nt6l12.apps.googleusercontent.com",
47 | "client_type": 3
48 | }
49 | ]
50 | }
51 | }
52 | }
53 | ],
54 | "configuration_version": "1"
55 | }
--------------------------------------------------------------------------------
/lib/credentials/signUpRelated/signUpPage.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import '../../constants.dart';
4 |
5 | class SignUpPage extends StatefulWidget {
6 | @override
7 | _SignUpPageState createState() => _SignUpPageState();
8 | }
9 |
10 | class _SignUpPageState extends State {
11 | bool _obscureText = true;
12 | TextEditingController _passwordController = TextEditingController();
13 | @override
14 | Widget build(BuildContext context) {
15 | return Container(
16 | decoration: backgroundColorBoxDecoration(),
17 | child: Scaffold(
18 | body: Column(
19 | children: [
20 | //Password
21 | Padding(
22 | padding: const EdgeInsets.only(left: 18.0, right: 18.0),
23 | child: TextFormField(
24 | obscureText: _obscureText,
25 | validator: (val) =>
26 | val != null && val.length < 6 ? 'Password Too Short' : null,
27 | controller: _passwordController,
28 | decoration: InputDecoration(
29 | suffixIcon: GestureDetector(
30 | onTap: () {
31 | setState(() {
32 | _obscureText = !_obscureText;
33 | });
34 | },
35 | child: Icon(
36 | _obscureText ? Icons.visibility : Icons.visibility_off),
37 | ),
38 | border: OutlineInputBorder(
39 | borderRadius: BorderRadius.all(Radius.circular(5.0)),
40 | ),
41 | labelText: "Password",
42 | hintText: "Enter a valid password, min length 6",
43 | icon: Icon(
44 | Icons.lock,
45 | color: Theme.of(context).accentColor,
46 | ),
47 | ),
48 | ),
49 | ),
50 | ],
51 | ),
52 | ),
53 | );
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/lib/tools/neuomorphic.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_svg/svg.dart';
3 | import 'package:neuomorphic_container/neuomorphic_container.dart';
4 |
5 | import '../constants.dart';
6 |
7 | class EditedNeuomprphicContainer extends StatelessWidget {
8 | EditedNeuomprphicContainer(
9 | {this.icon, this.text, this.isImage = false, this.isLanding = false});
10 | final String icon;
11 | final String text;
12 | final isImage;
13 | final bool isLanding;
14 | @override
15 | Widget build(BuildContext context) {
16 | return Padding(
17 | padding: const EdgeInsets.all(12.0),
18 | child: NeuomorphicContainer(
19 | color: containerColor,
20 | borderRadius: BorderRadius.circular(20),
21 | style: NeuomorphicStyle.Convex,
22 | intensity: 0.6,
23 | width: isImage && !isLanding ? 120 : 100,
24 | //blur: 8,
25 | // shadowStrength: 10,
26 | height: isImage && !isLanding ? 120 : 100,
27 | // opacity: 0.2,
28 | child: Center(
29 | child: Padding(
30 | padding: const EdgeInsets.all(8.0),
31 | child: Column(
32 | mainAxisAlignment: MainAxisAlignment.center,
33 | crossAxisAlignment: CrossAxisAlignment.center,
34 | children: [
35 | isImage
36 | ? Image.asset(
37 | icon,
38 | height: 40,
39 | )
40 | : SvgPicture.asset(
41 | icon,
42 | height: 35,
43 | ),
44 | Padding(
45 | padding: const EdgeInsets.all(4.0),
46 | child: Text(
47 | text,
48 | textAlign: TextAlign.center,
49 | style: TextStyle(fontWeight: FontWeight.bold),
50 | ),
51 | )
52 | ],
53 | ),
54 | ),
55 | ),
56 | ),
57 | );
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/lib/tools/policy.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter/services.dart';
3 | import 'package:flutter_markdown/flutter_markdown.dart';
4 | import 'package:windsor_essex_muslim_care/tools/loading.dart';
5 |
6 | class PolicyDialog extends StatelessWidget {
7 | PolicyDialog({
8 | Key key,
9 | this.radius = 8,
10 | @required this.mdFileName,
11 | }) : assert(mdFileName.contains('.md'),
12 | 'The file must contain the .md extension'),
13 | super(key: key);
14 |
15 | final double radius;
16 | final String mdFileName;
17 |
18 | @override
19 | Widget build(BuildContext context) {
20 | return Dialog(
21 | shape:
22 | RoundedRectangleBorder(borderRadius: BorderRadius.circular(radius)),
23 | child: Column(
24 | children: [
25 | Expanded(
26 | child: FutureBuilder(
27 | future: Future.delayed(Duration(milliseconds: 150)).then((value) {
28 | return rootBundle.loadString('assets/$mdFileName');
29 | }),
30 | builder: (context, snapshot) {
31 | if (snapshot.hasData) {
32 | return Markdown(
33 | data: snapshot.data,
34 | );
35 | }
36 | return Center(
37 | child: LoadingIndicator(),
38 | );
39 | },
40 | ),
41 | ),
42 | FlatButton(
43 | padding: EdgeInsets.all(0),
44 | color: Theme.of(context).buttonColor,
45 | onPressed: () => Navigator.of(context).pop(),
46 | shape: RoundedRectangleBorder(
47 | borderRadius: BorderRadius.only(
48 | bottomLeft: Radius.circular(radius),
49 | bottomRight: Radius.circular(radius),
50 | ),
51 | ),
52 | child: Container(
53 | decoration: BoxDecoration(
54 | borderRadius: BorderRadius.only(
55 | bottomLeft: Radius.circular(radius),
56 | bottomRight: Radius.circular(radius),
57 | ),
58 | ),
59 | alignment: Alignment.center,
60 | height: 50,
61 | width: double.infinity,
62 | child: Text(
63 | "CLOSE",
64 | style: TextStyle(
65 | fontSize: 20,
66 | fontWeight: FontWeight.bold,
67 | color: Theme.of(context).textTheme.button.color,
68 | ),
69 | ),
70 | ),
71 | ),
72 | ],
73 | ),
74 | );
75 | }
76 | }
77 |
--------------------------------------------------------------------------------
/lib/tools/glassmorphism/src/hollow_shadow_painter.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | ///Render Shadow around the container
4 | class HollowShadowPainter extends CustomPainter {
5 | HollowShadowPainter({
6 | this.shape,
7 | this.borderRadius,
8 | this.shadowColor,
9 | this.shadowStrength = 1,
10 | });
11 |
12 | final double shadowStrength;
13 | final Color shadowColor;
14 | final BoxShape shape;
15 | final BorderRadius borderRadius;
16 |
17 | static double _convertRadiusToSigma(double radius) {
18 | return radius * 0.57735 + 0.5;
19 | }
20 |
21 | Paint customPainter({
22 | double blurStrength,
23 | Color color,
24 | double strokeWidth,
25 | }) {
26 | return Paint()
27 | ..style = PaintingStyle.stroke
28 | ..color = color
29 | ..strokeWidth = strokeWidth
30 | ..maskFilter = MaskFilter.blur(
31 | BlurStyle.normal,
32 | _convertRadiusToSigma(blurStrength),
33 | );
34 | }
35 |
36 | @override
37 | void paint(Canvas canvas, Size size) {
38 | if (shadowStrength == 0) return;
39 |
40 | if (shape == BoxShape.circle) {
41 | return canvas.drawCircle(
42 | Offset(size.width / 2, size.height / 2),
43 | size.width / 2 + shadowStrength / 2,
44 | customPainter(
45 | color: shadowColor,
46 | blurStrength: 20,
47 | strokeWidth: shadowStrength,
48 | ),
49 | );
50 | }
51 |
52 | final RRect rrect = RRect.fromRectAndCorners(
53 | Rect.fromPoints(
54 | Offset(-shadowStrength / 2, -shadowStrength / 2),
55 | Offset(
56 | size.width + shadowStrength / 2,
57 | size.height + shadowStrength / 2,
58 | ),
59 | ),
60 | bottomLeft: borderRadius.bottomLeft,
61 | bottomRight: borderRadius.bottomRight,
62 | topLeft: borderRadius.topLeft,
63 | topRight: borderRadius.topRight,
64 | );
65 |
66 | canvas.drawRRect(
67 | rrect,
68 | customPainter(
69 | color: shadowColor,
70 | blurStrength: 20,
71 | strokeWidth: shadowStrength,
72 | ),
73 | );
74 | }
75 |
76 | @override
77 | bool shouldRepaint(HollowShadowPainter oldDelegate) => oldDelegate != this;
78 |
79 | @override
80 | bool operator ==(Object other) {
81 | if (identical(this, other)) return true;
82 |
83 | return other is HollowShadowPainter &&
84 | other.shadowStrength == shadowStrength &&
85 | other.shadowColor == shadowColor &&
86 | other.shape == shape &&
87 | other.borderRadius == borderRadius;
88 | }
89 |
90 | @override
91 | int get hashCode {
92 | return shadowStrength.hashCode ^
93 | shadowColor.hashCode ^
94 | shape.hashCode ^
95 | borderRadius.hashCode;
96 | }
97 | }
98 |
--------------------------------------------------------------------------------
/assets/images/kaaba-building.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/screens/hifzProgram.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:url_launcher/url_launcher.dart';
3 | import 'package:windsor_essex_muslim_care/constants.dart';
4 | import 'package:windsor_essex_muslim_care/tools/neuomorphic.dart';
5 |
6 | class HifzProgram extends StatefulWidget {
7 | @override
8 | _HifzProgramState createState() => _HifzProgramState();
9 | }
10 |
11 | class _HifzProgramState extends State {
12 | void launchURL(String _url) async => await canLaunch(_url)
13 | ? await launch(
14 | _url,
15 | )
16 | : throw 'Could not launch $_url';
17 | @override
18 | Widget build(BuildContext context) {
19 | return SafeArea(
20 | child: Container(
21 | decoration: backgroundColorBoxDecoration(),
22 | child: Scaffold(
23 | body: SingleChildScrollView(
24 | child: Column(
25 | children: [
26 | // LottieBuilder.asset(
27 | // reciteKoranLottie,
28 | // repeat: true,
29 | // ),
30 | SizedBox(
31 | height: MediaQuery.of(context).size.height * 0.12,
32 | ),
33 | Image.asset(
34 | logo,
35 | height: 200,
36 | ),
37 | SizedBox(
38 | height: MediaQuery.of(context).size.height * 0.12,
39 | ),
40 | Row(
41 | mainAxisAlignment: MainAxisAlignment.center,
42 | children: [
43 | hifzPrograms(
44 | image: alnoorLogo,
45 | programName: "An-Noor Private School",
46 | url: "http://www.annoorschool.ca/islamic-atmosphere/"),
47 | hifzPrograms(
48 | image: alhijraLogo,
49 | programName: "Al Hijra Academy",
50 | url:
51 | "http://alhijraacademy.com/academics/quran-program/"),
52 | ],
53 | ),
54 | hifzPrograms(
55 | image: chathamLogo,
56 | programName: "Chatham Islamic Centre",
57 | url: "https://www.thecic.ca/"),
58 | ],
59 | ),
60 | ),
61 | ),
62 | ),
63 | );
64 | }
65 |
66 | Widget hifzPrograms({
67 | String programName,
68 | String url,
69 | String image,
70 | }) =>
71 | Padding(
72 | padding: const EdgeInsets.all(12.0),
73 | child: InkWell(
74 | onTap: () {
75 | launchURL(url);
76 | },
77 | child: EditedNeuomprphicContainer(
78 | isImage: true,
79 | icon: image,
80 | text: programName,
81 | ),
82 | ),
83 | );
84 | }
85 |
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | def localProperties = new Properties()
2 | def localPropertiesFile = rootProject.file('local.properties')
3 | if (localPropertiesFile.exists()) {
4 | localPropertiesFile.withReader('UTF-8') { reader ->
5 | localProperties.load(reader)
6 | }
7 | }
8 |
9 | def flutterRoot = localProperties.getProperty('flutter.sdk')
10 | if (flutterRoot == null) {
11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12 | }
13 |
14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15 | if (flutterVersionCode == null) {
16 | flutterVersionCode = '1'
17 | }
18 |
19 | def flutterVersionName = localProperties.getProperty('flutter.versionName')
20 | if (flutterVersionName == null) {
21 | flutterVersionName = '1.0'
22 | }
23 |
24 | apply plugin: 'com.android.application'
25 | apply plugin: 'kotlin-android'
26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27 | apply plugin: 'com.google.gms.google-services'
28 |
29 | def keystoreProperties = new Properties()
30 | def keystorePropertiesFile = rootProject.file('key.properties')
31 | if (keystorePropertiesFile.exists()) {
32 | keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
33 | }
34 |
35 | android {
36 | compileSdkVersion 31
37 |
38 | sourceSets {
39 | main.java.srcDirs += 'src/main/kotlin'
40 | }
41 | lintOptions {
42 | disable 'InvalidPackage'
43 | disable "Instantiatable"
44 | checkReleaseBuilds false
45 | abortOnError false
46 | }
47 | defaultConfig {
48 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
49 | applicationId "com.hassan.windsor_essex_muslim_care"
50 | minSdkVersion 23
51 | targetSdkVersion 31
52 | versionCode flutterVersionCode.toInteger()
53 | versionName flutterVersionName
54 | multiDexEnabled true
55 |
56 | }
57 | signingConfigs {
58 | // release {
59 | // keyAlias keystoreProperties['keyAlias']
60 | // keyPassword keystoreProperties['keyPassword']
61 | // storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
62 | // storePassword keystoreProperties['storePassword']
63 | // }
64 | }
65 | buildTypes {
66 | release {
67 | // TODO: Add your own signing config for the release build.
68 | // Signing with the debug keys for now, so `flutter run --release` works.
69 | signingConfig signingConfigs.debug
70 | }
71 | }
72 | }
73 |
74 | flutter {
75 | source '../..'
76 | }
77 |
78 | dependencies {
79 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
80 | implementation 'com.google.firebase:firebase-analytics-ktx'
81 | implementation platform('com.google.firebase:firebase-bom:27.1.0')
82 | implementation 'androidx.multidex:multidex:2.0.1'
83 |
84 | }
85 |
--------------------------------------------------------------------------------
/assets/images/reading-quran.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
62 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-App-20x20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-App-20x20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-App-29x29@1x.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "Icon-App-29x29@2x.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "Icon-App-29x29@3x.png",
31 | "scale" : "3x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "Icon-App-40x40@2x.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "Icon-App-40x40@3x.png",
43 | "scale" : "3x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "Icon-App-60x60@2x.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "60x60",
53 | "idiom" : "iphone",
54 | "filename" : "Icon-App-60x60@3x.png",
55 | "scale" : "3x"
56 | },
57 | {
58 | "size" : "20x20",
59 | "idiom" : "ipad",
60 | "filename" : "Icon-App-20x20@1x.png",
61 | "scale" : "1x"
62 | },
63 | {
64 | "size" : "20x20",
65 | "idiom" : "ipad",
66 | "filename" : "Icon-App-20x20@2x.png",
67 | "scale" : "2x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "Icon-App-29x29@1x.png",
73 | "scale" : "1x"
74 | },
75 | {
76 | "size" : "29x29",
77 | "idiom" : "ipad",
78 | "filename" : "Icon-App-29x29@2x.png",
79 | "scale" : "2x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "Icon-App-40x40@1x.png",
85 | "scale" : "1x"
86 | },
87 | {
88 | "size" : "40x40",
89 | "idiom" : "ipad",
90 | "filename" : "Icon-App-40x40@2x.png",
91 | "scale" : "2x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "Icon-App-76x76@1x.png",
97 | "scale" : "1x"
98 | },
99 | {
100 | "size" : "76x76",
101 | "idiom" : "ipad",
102 | "filename" : "Icon-App-76x76@2x.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "83.5x83.5",
107 | "idiom" : "ipad",
108 | "filename" : "Icon-App-83.5x83.5@2x.png",
109 | "scale" : "2x"
110 | },
111 | {
112 | "size" : "1024x1024",
113 | "idiom" : "ios-marketing",
114 | "filename" : "Icon-App-1024x1024@1x.png",
115 | "scale" : "1x"
116 | }
117 | ],
118 | "info" : {
119 | "version" : 1,
120 | "author" : "xcode"
121 | }
122 | }
123 |
--------------------------------------------------------------------------------
/lib/tools/notificationHandler.dart:
--------------------------------------------------------------------------------
1 | import 'dart:async';
2 | import 'dart:convert';
3 | import 'package:flutter_local_notifications/flutter_local_notifications.dart';
4 | import 'package:meta/meta.dart';
5 | import 'package:firebase_messaging/firebase_messaging.dart';
6 | import 'package:flutter/material.dart';
7 | import 'package:http/http.dart' as http;
8 | import 'package:windsor_essex_muslim_care/main.dart';
9 |
10 | Future