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

@ -22,7 +22,7 @@ import 'package:fluffychat/widgets/matrix.dart';
import '../../utils/matrix_sdk_extensions/client_stories_extension.dart';
class AddStoryPage extends StatefulWidget {
const AddStoryPage({Key? key}) : super(key: key);
const AddStoryPage({super.key});
@override
AddStoryController createState() => AddStoryController();

View file

@ -8,7 +8,7 @@ import 'add_story.dart';
class AddStoryView extends StatelessWidget {
final AddStoryController controller;
const AddStoryView(this.controller, {Key? key}) : super(key: key);
const AddStoryView(this.controller, {super.key});
@override
Widget build(BuildContext context) {

View file

@ -14,8 +14,8 @@ class InviteStoryPage extends StatefulWidget {
final Room? storiesRoom;
const InviteStoryPage({
required this.storiesRoom,
Key? key,
}) : super(key: key);
super.key,
});
@override
InviteStoryPageState createState() => InviteStoryPageState();