1
0
mirror of https://github.com/flutter/samples.git synced 2026-06-10 08:18:55 +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

@@ -11,8 +11,7 @@ import 'package:veggieseasons/widgets/settings_group.dart';
import 'package:veggieseasons/widgets/settings_item.dart';
class VeggieCategorySettingsScreen extends StatelessWidget {
const VeggieCategorySettingsScreen({Key? key, this.restorationId})
: super(key: key);
const VeggieCategorySettingsScreen({super.key, this.restorationId});
final String? restorationId;
@@ -92,7 +91,7 @@ class VeggieCategorySettingsScreen extends StatelessWidget {
}
class CalorieSettingsScreen extends StatelessWidget {
const CalorieSettingsScreen({Key? key, this.restorationId}) : super(key: key);
const CalorieSettingsScreen({super.key, this.restorationId});
final String? restorationId;
@@ -167,7 +166,7 @@ class CalorieSettingsScreen extends StatelessWidget {
}
class SettingsScreen extends StatefulWidget {
const SettingsScreen({this.restorationId, Key? key}) : super(key: key);
const SettingsScreen({this.restorationId, super.key});
final String? restorationId;