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

@ -74,14 +74,13 @@ class UserBottomSheet extends StatefulWidget {
final Object? profileSearchError;
const UserBottomSheet({
Key? key,
super.key,
this.user,
this.profile,
required this.outerContext,
this.onMention,
this.profileSearchError,
}) : assert(user != null || profile != null),
super(key: key);
}) : assert(user != null || profile != null);
@override
UserBottomSheetController createState() => UserBottomSheetController();

View file

@ -11,7 +11,7 @@ import 'user_bottom_sheet.dart';
class UserBottomSheetView extends StatelessWidget {
final UserBottomSheetController controller;
const UserBottomSheetView(this.controller, {Key? key}) : super(key: key);
const UserBottomSheetView(this.controller, {super.key});
@override
Widget build(BuildContext context) {