Apply dart auto fixes

This commit is contained in:
2024-01-14 11:58:16 +01:00
parent b0bddb5cd7
commit 9edbfd81af
29 changed files with 29 additions and 31 deletions

View File

@ -18,7 +18,7 @@ import 'joinChat.dart';
import 'searchChat.dart';
class ChatList extends StatefulWidget {
const ChatList({Key? key}) : super(key: key);
const ChatList({super.key});
@override
State<ChatList> createState() => _ChatListState();

View File

@ -21,7 +21,7 @@ class ChatView extends StatefulWidget {
final String selfId;
final UserAvatar avatar;
const ChatView({Key? key, required this.room, required this.selfId, required this.avatar}) : super(key: key);
const ChatView({super.key, required this.room, required this.selfId, required this.avatar});
@override
State<ChatView> createState() => _ChatViewState();

View File

@ -34,7 +34,7 @@ class ChatBubble extends StatefulWidget {
required this.bubbleData,
required this.chatData,
required this.refetch,
Key? key}) : super(key: key);
super.key});
@override
State<ChatBubble> createState() => _ChatBubbleState();

View File

@ -18,7 +18,7 @@ import '../../files/fileUploadDialog.dart';
class ChatTextfield extends StatefulWidget {
final String sendToToken;
const ChatTextfield(this.sendToToken, {Key? key}) : super(key: key);
const ChatTextfield(this.sendToToken, {super.key});
@override
State<ChatTextfield> createState() => _ChatTextfieldState();

View File

@ -23,7 +23,7 @@ class ChatTile extends StatefulWidget {
final bool disableContextActions;
final bool hasDraft;
const ChatTile({Key? key, required this.data, required this.query, this.disableContextActions = false, this.hasDraft = false}) : super(key: key);
const ChatTile({super.key, required this.data, required this.query, this.disableContextActions = false, this.hasDraft = false});
@override
State<ChatTile> createState() => _ChatTileState();

View File

@ -72,7 +72,7 @@ class _MessageReactionsState extends State<MessageReactions> {
);
}).toList(),
);
}).toList()
})
],
);
},