fix: flutter analyze Warnings beheben (totes/unerreichbares Code)

Entfernt tatsächlich toten Code, den flutter analyze als Warning markiert
hatte: unbenutzte Felder/Parameter (_saved, _hovered wird jetzt für Hover-
Feedback genutzt, destructive-Flag ohne Aufrufer, size-Parameter ohne
Override), unerreichbaren dead_code (Room.topic/Space.topic sind laut SDK
nie null, client.database ist nie null) sowie Legacy-Funktionen aus der
alten Push-Architektur (_showNotif/_fetchTitle, ersetzt durch natives
PushService.kt) und einen leeren Noise-Suppression-Stub ohne Aufrufer.
Keine funktionale Verhaltensänderung an aktiven Code-Pfaden.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Bernd Steckmeister
2026-07-03 06:26:31 +02:00
parent 594e6718be
commit 9dc11757e2
9 changed files with 31 additions and 132 deletions
+3 -1
View File
@@ -333,7 +333,9 @@ class _ControlBtnState extends State<_ControlBtn> {
duration: pt.durationFast,
height: 32,
decoration: BoxDecoration(
color: widget.active ? (widget.danger ? pt.danger : pt.accent) : pt.bg3,
color: widget.active
? (widget.danger ? pt.danger : pt.accent)
: (_hovered ? pt.bgHover : pt.bg3),
borderRadius: BorderRadius.circular(pt.rSm),
),
child: Icon(