feat: Implement husband features and fix iOS Safari web startup

Implement initial features for husband's companion app, including mock data
service and husband notes screen. Refactor scripture and cycle services
for improved stability and testability. Address iOS Safari web app
startup issue by removing deprecated initialization.

- Implemented MockDataService and HusbandNotesScreen.
- Converted _DashboardTab and DevotionalScreen to StatefulWidgets for robust
  scripture provider initialization.
- Refactored CycleService to use immutable CycleInfo class, reducing UI rebuilds.
- Removed deprecated window.flutterConfiguration from index.html, resolving
  Flutter web app startup failure on iOS Safari.
- Updated and fixed related tests.
This commit is contained in:
2025-12-26 22:40:52 -06:00
parent 464692ce56
commit b4b2bfe749
47 changed files with 240110 additions and 2578 deletions

View File

@@ -37,6 +37,7 @@ dependencies:
# Utils
uuid: ^4.5.1
shared_preferences: ^2.3.2
xml: ^6.3.0 # Added for XML parsing
dev_dependencies:
flutter_test:
@@ -44,9 +45,13 @@ dev_dependencies:
flutter_lints: ^4.0.0
hive_generator: ^2.0.1
build_runner: ^2.4.7
mockito: ^5.0.0 # Added for testing
analyzer: ^6.4.1 # Downgraded to resolve dependency conflict with hive_generator
flutter:
uses-material-design: true
assets:
- assets/images/
- assets/scriptures.json
- assets/scriptures_optimized.json
- assets/bible_xml/