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

@ -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();