-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
Description
π― Goal
Remove direct dependency of dashboard_home_provider on health_check_provider.
π Affected Files
| File | Coupling Type | Risk |
|---|---|---|
dashboard_home_provider.dart |
ref.watch(healthCheckProvider) | π΄ High |
π‘ Suggested Solution
// Solution: Extract HealthCheck results to shared layer
// lib/providers/network_health_provider.dart
final networkHealthProvider = Provider<NetworkHealthState>((ref) {
final speedTestResult = ref.watch(_speedTestResultProvider);
return NetworkHealthState(lastSpeedTest: speedTestResult);
});β Acceptance Criteria
dashboard_home_provider.dartno longer importshealth_check_provider- Create
lib/providers/network_health_provider.dartas shared layer
Parent: #549