How edith-farzana/prj_47-dv-evidence-preservation works
Secure Evidence is a discreet Flutter app for capturing and preserving evidence for survivors of domestic violence. The user opens a calculator decoy, unlocks with a PIN and sequence, captures evidence in-app, then stores it encrypted and can review, verify, audit, or export it. The README describes implemented capabilities alongside planned or switched-off ones; paths below come from the repository tree, but Dart source was not sampled, so relationships are limited to those explicitly documented in the README.
Main entry points: home_page.dart Home and helplines · evidence_storage.dart Encrypted local store · pin_page.dart PIN unlock · integrity_page.dart Integrity verification
Components 23
Discreet Access
- App entry
lib/main.dart - Calculator decoy
lib/features/calculator/presentation/calculator_page.dart - PIN unlock
lib/features/auth/presentation/pin_page.dart - Unlock sequence
lib/features/auth/domain/unlock_sequence.dart - Home and helplines
lib/features/home/home_page.dart
Evidence Lifecycle
- Photo and video capture
lib/features/evidence/capture/in_app_camera_page.dart - Audio capture
lib/features/evidence/capture/audio_capture_page.dart - Evidence vault
lib/features/vault/evidence_vault_page.dart - Evidence playback
lib/features/evidence/detail/evidence_detail_page.dart
Protection and Audit
- Evidence encryption
lib/services/crypto/crypto_service.dart - Key management
lib/services/crypto/key_manager.dart - Secure key storage
lib/services/crypto/secure_store.dart - Encrypted local store
lib/services/storage/evidence_storage.dart - Encrypted evidence index
lib/services/storage/evidence_index.dart - Tamper-evident activity log
lib/services/audit/audit_log.dart
Verification and Export
- Integrity verification
lib/features/evidence/detail/integrity_page.dart - Evidence sync
lib/services/sync/evidence_sync.dart - Firebase evidence records
lib/services/sync/firebase_evidence_client.dart - Activity log view
lib/features/audit/activity_log_page.dart - Court export bundle
lib/services/export/court_exporter.dart - Export selection
lib/features/export/export_page.dart
Other components
- User
- Firebase backend
Connections 27
- User → App entry: opens
README.md - App entry → Calculator decoy: shows decoy
README.md - Calculator decoy → PIN unlock: starts unlock
README.md - PIN unlock → Unlock sequence: checks sequence
README.md - PIN unlock → Home and helplines: unlocks
README.md - Home and helplines → Photo and video capture: starts capture
README.md - Home and helplines → Audio capture: starts capture
README.md - Photo and video capture → Encrypted local store: stores evidence
README.md - Audio capture → Encrypted local store: stores evidence
README.md - Encrypted local store → Evidence encryption: encrypts files
README.md - Key management → Secure key storage: protects master key
README.md - PIN unlock → Key management: unlocks master key
README.md - Encrypted local store → Encrypted evidence index: updates index
README.md - Home and helplines → Evidence vault: opens vault
README.md - Evidence vault → Evidence playback: opens evidence
README.md - Evidence playback → Integrity verification: requests verification
README.md - Integrity verification → Encrypted local store: checks local records
README.md - Integrity verification → Firebase evidence records: checks server records
README.md - Firebase evidence records → Firebase backend: records fingerprints
README.md - Home and helplines → Activity log view: opens activity log
README.md - Tamper-evident activity log → Activity log view: provides history
README.md - Home and helplines → Export selection: starts export
README.md - Export selection → Court export bundle: creates bundle
README.md - Court export bundle → Encrypted local store: selects verified items
README.md - Court export bundle → Tamper-evident activity log: includes custody history
README.md - Evidence sync → Firebase evidence records: sends fingerprints
README.md - Evidence sync → Firebase backend: backs up encrypted files
README.md