mirror of
https://github.com/flutter/samples.git
synced 2025-11-10 14:58:34 +00:00
Deps update, utilize super.key (#1265)
* Deps update, utilize `super.key` * `flutter format`
This commit is contained in:
@@ -10,7 +10,7 @@ class TriviaView extends StatefulWidget {
|
||||
final int? id;
|
||||
final String? restorationId;
|
||||
|
||||
const TriviaView({this.id, this.restorationId, Key? key}) : super(key: key);
|
||||
const TriviaView({this.id, this.restorationId, super.key});
|
||||
|
||||
@override
|
||||
State<TriviaView> createState() => _TriviaViewState();
|
||||
|
||||
Reference in New Issue
Block a user