feat(block2): global 'you're offline' banner (network state)
Feedback: offline, the social layer stops working with no clear reason. A slim amber strip now shows above every screen when there's no network (connectivity_ plus), so it's obvious WHY sharing is paused — the inventory keeps working. Wrapped once via the MaterialApp builder; connectivity check is guarded so it no-ops where the plugin is absent (tests/unsupported platforms). i18n en/es/pt. Analyzer clean.
This commit is contained in:
parent
5741d6bde8
commit
1ac954a09e
11 changed files with 135 additions and 5 deletions
|
|
@ -71,6 +71,9 @@ dependencies:
|
|||
# typing a code. Low accuracy only; the value is immediately reduced to a
|
||||
# low-precision geohash. Behind an interface so it's fakeable and pluggable.
|
||||
geolocator: ^13.0.1
|
||||
# Network reachability (BSD-3) to show a global "you're offline" banner — the
|
||||
# social layer needs a connection; the inventory works regardless.
|
||||
connectivity_plus: ^6.1.0
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue