Mr. Defence is a Flutter-based safety and security mobile application developed as our graduation project during the journey at ITI - ICC Frontend & Cross-Platform Mobile Development Track.
Mr. Defence empowers users to report emergencies effectively using their smartphones. It provides two main safety features:
- π Alert Button β For generic or non-extreme emergencies.
- π SOS Button β For urgent, life-threatening situations requiring immediate autonomous response.
This app was developed by a team of four:
- Yousef Khalaf
- Malak Haitham
- Alaa Ahmed
- Used for less urgent emergencies (e.g., fire, harassment, theft, missing pet).
- Users can:
- Choose from predefined tags (or skip).
- Proceed to a form for optional attachments:
- Images
- Description
- GPS Location
- Time of alert
- User profile data
- Requires user to assign guardians before activation.
- Sends notifications and all attached data to selected guardians (who must be Dispatcher users).
- Designed for extreme emergencies (e.g., accidents, violence, serious injuries).
- Triggered by triple-press gesture for quick action.
- Autonomous data capture includes:
- Front camera snapshot
- Rear camera snapshot
- 1-minute voice recording
- GPS location, time, and optional tag
- Sends request to both:
- Guardians
- Nearest authorities (e.g., police, hospital, fire station)
- Strong notification behavior for recipients (e.g., vibration until response).
- Guardians can Accept or Decline the SOS request via the app.
- Phone number sign-in and sign-up via Firebase Authentication.
- No passwords or usernames required.
- Onboarding and splash screen experience included.
- Flutter with FVM for version management
- Firebase (Authentication & Firestore)
- Cloudinary for media storage
- goRouter for navigation
- Cubit for state management
- Shared Preferences for local data
- VS Code for development
- Trello for task management and planning
Users can pre-fill critical personal information such as:
String nid = '';
String passport = '';
String driverLicense = '';
String firstName = '';
String lastName = '';
String birthDate = '';
String bloodType = '';
bool wheelchair = false;
bool diabetes = false;
bool heartDisease = false;
String profileImage = '';
String height = '';
String weight = '';
String gender = '';
String tattoo = '';
String scar = '';
String nationality = '';
GeoPoint? homeLocation;
GeoPoint? workLocation;
String nativeLanguage = '';
String email = '';
List<String>? guardians;This data is automatically attached to every emergency request for quick assistance.
-
User signs in with phone number
-
Sets up profile & adds guardians
-
Uses:
- Alert Button for minor emergencies
- SOS Button for extreme cases
-
Guardian (also Dispatcher user) receives:
- Normal notification for Alert
- Strong, unmissable notification for SOS
-
Guardian can Accept or Decline request
| Splash & Onboarding | Alert Flow | SOS Flow |
|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Watch the app in action: http://bit.ly/3IshXpW
flutter pub get
fvm use
flutter runMake sure to configure your own Firebase project and Cloudinary keys before running.
- Real-time location tracking for guardians
- Panic shortcut via volume keys
- Multilingual support
- Accessibility options
For any inquiries, suggestions, or bug reports, please contact yousef.mohamed.abdelhameed@gmail.com .














