Apply dart auto fixes
This commit is contained in:
@ -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();
|
||||
|
@ -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();
|
||||
|
@ -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();
|
||||
|
@ -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();
|
||||
|
@ -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();
|
||||
|
@ -72,7 +72,7 @@ class _MessageReactionsState extends State<MessageReactions> {
|
||||
);
|
||||
}).toList(),
|
||||
);
|
||||
}).toList()
|
||||
})
|
||||
],
|
||||
);
|
||||
},
|
||||
|
Reference in New Issue
Block a user