mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
Adds a centralized BackendReachability singleton fed by a Dio interceptor (connection-level failures only) and connectivity_plus. PolledValue subscribes to it and pauses on offline / reloads immediately on reconnect, replacing the previous per-card error cascade. MainShell renders a global OfflineBanner with Retry and Settings actions; cards downgrade error→stale when offline so the banner is the only red element. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
31 lines
560 B
YAML
31 lines
560 B
YAML
name: frontend
|
|
description: "OOTT - Easy to setup and use network device discovery and alert system"
|
|
publish_to: "none"
|
|
version: 0.1.0
|
|
|
|
environment:
|
|
sdk: ^3.10.8
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
go_router: ^17.1.0
|
|
intl: ^0.20.2
|
|
provider: ^6.1.5
|
|
dio: ^5.9.1
|
|
dio_smart_retry: ^7.0.1
|
|
connectivity_plus: ^7.0.0
|
|
encrypter: ^2.0.0
|
|
shared_preferences: ^2.5.4
|
|
fl_chart: ^1.2.0
|
|
google_fonts: ^6.2.1
|
|
url_launcher: ^6.3.0
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
flutter_lints: ^6.0.0
|
|
|
|
flutter:
|
|
uses-material-design: true
|