style: verbleibende flutter-analyze Deprecations beheben

withOpacity/activeColor/cacheExtent/PublicRoomsChunk durch die neuen
Flutter-3.44-Äquivalente ersetzt.
This commit is contained in:
Bernd Steckmeister
2026-07-03 09:40:10 +02:00
parent 90593d2f81
commit 057ac1e4ea
6 changed files with 26 additions and 19 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'package:flutter/rendering.dart' show ScrollCacheExtent;
import 'package:flutter/services.dart' show Clipboard, ClipboardData;
import 'package:desktop_drop/desktop_drop.dart';
@@ -1598,7 +1599,7 @@ class _MessageList extends StatelessWidget {
reverse: true,
physics: const ClampingScrollPhysics(),
padding: const EdgeInsets.only(bottom: 8),
cacheExtent: 2500,
scrollCacheExtent: const ScrollCacheExtent.pixels(2500),
itemCount: itemKeys.length,
findChildIndexCallback: (Key key) {
// Only return an index when the key still maps to that exact slot —