1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-12 15:58:32 +00:00

Deps update, utilize super.key (#1265)

* Deps update, utilize `super.key`

* `flutter format`
This commit is contained in:
Brett Morgan
2022-05-13 12:31:56 -07:00
committed by GitHub
parent 52ef797b9a
commit 58bc5d7a58
244 changed files with 449 additions and 500 deletions

View File

@@ -32,8 +32,8 @@ class Confetti extends StatefulWidget {
const Confetti({
this.colors = _defaultColors,
this.isStopped = false,
Key? key,
}) : super(key: key);
super.key,
});
@override
State<Confetti> createState() => _ConfettiState();

View File

@@ -42,8 +42,7 @@ class _MyReveal extends StatefulWidget {
required this.child,
required this.animation,
required this.color,
Key? key,
}) : super(key: key);
});
@override
State<_MyReveal> createState() => _MyRevealState();

View File

@@ -28,8 +28,8 @@ class ResponsiveScreen extends StatelessWidget {
required this.rectangularMenuArea,
this.topMessageArea = const SizedBox.shrink(),
this.mainAreaProminence = 0.8,
Key? key,
}) : super(key: key);
super.key,
});
@override
Widget build(BuildContext context) {