Files
oott/frontend/pubspec.yaml
T
rzuastiandClaude Sonnet 4.6 b5da90be59 Pause polling and show a banner when the backend is unreachable
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>
2026-05-31 18:21:55 -04:00

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