mirror of
https://github.com/flutter/samples.git
synced 2026-05-14 10:58:29 +00:00
Deps update, utilize super.key (#1265)
* Deps update, utilize `super.key` * `flutter format`
This commit is contained in:
@@ -17,7 +17,7 @@ void showCustomNameDialog(BuildContext context) {
|
||||
class CustomNameDialog extends StatefulWidget {
|
||||
final Animation<double> animation;
|
||||
|
||||
const CustomNameDialog({required this.animation, Key? key}) : super(key: key);
|
||||
const CustomNameDialog({required this.animation, super.key});
|
||||
|
||||
@override
|
||||
State<CustomNameDialog> createState() => _CustomNameDialogState();
|
||||
|
||||
Reference in New Issue
Block a user