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:
vjrj 2026-07-10 15:18:16 +02:00
parent 5741d6bde8
commit 1ac954a09e
11 changed files with 135 additions and 5 deletions

View file

@ -98,6 +98,7 @@ class _Translations$common$pt extends Translations$common$en {
@override String get edit => 'Editar';
@override String get type => 'Tipo';
@override String get comingSoon => 'Em breve';
@override String get offline => 'Sem ligação — a partilha está em pausa';
}
// Path: home
@ -1053,6 +1054,7 @@ extension on TranslationsPt {
'common.edit' => 'Editar',
'common.type' => 'Tipo',
'common.comingSoon' => 'Em breve',
'common.offline' => 'Sem ligação — a partilha está em pausa',
'home.tagline' => 'Partilha e cultiva sementes locais',
'home.openMarket' => 'Mercado',
'home.openMarketSubtitle' => 'Descobre e partilha sementes por perto',