1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +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

@@ -14,7 +14,7 @@ void main() {
}
class PlatformChannelSample extends StatelessWidget {
const PlatformChannelSample({Key? key}) : super(key: key);
const PlatformChannelSample({super.key});
@override
Widget build(BuildContext context) {
@@ -64,7 +64,7 @@ List<DemoInfo> demoList = [
];
class HomePage extends StatelessWidget {
const HomePage({Key? key}) : super(key: key);
const HomePage({super.key});
@override
Widget build(BuildContext context) {
@@ -83,7 +83,7 @@ class HomePage extends StatelessWidget {
class DemoTile extends StatelessWidget {
final DemoInfo demoInfo;
const DemoTile(this.demoInfo, {Key? key}) : super(key: key);
const DemoTile(this.demoInfo, {super.key});
@override
Widget build(BuildContext context) {