build: Update packages and flutter super.key refactoring

This commit is contained in:
krille-chan 2023-10-28 13:03:16 +02:00
commit eca4825c70
No known key found for this signature in database
129 changed files with 294 additions and 324 deletions

View file

@ -24,9 +24,9 @@ class ChatDetails extends StatefulWidget {
final String roomId;
const ChatDetails({
Key? key,
super.key,
required this.roomId,
}) : super(key: key);
});
@override
ChatDetailsController createState() => ChatDetailsController();
@ -109,8 +109,7 @@ class ChatDetailsController extends State<ChatDetails> {
if (adminMode)
AlertDialogAction(label: L10n.of(context)!.create, key: 'new'),
...aliases.result!
.map((alias) => AlertDialogAction(key: alias, label: alias))
.toList(),
.map((alias) => AlertDialogAction(key: alias, label: alias)),
],
);
if (select == null) return;