1
0
mirror of https://github.com/flutter/samples.git synced 2026-07-15 05:21:30 +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 @@ final _unsplashPrivacyPolicy = Uri.parse(
'https://unsplash.com/privacy?utm_source=${Uri.encodeFull(unsplashAppName)}&utm_medium=referral');
class UnsplashNotice extends StatefulWidget {
const UnsplashNotice({Key? key, required this.child}) : super(key: key);
const UnsplashNotice({super.key, required this.child});
final Widget child;
@override
@@ -48,7 +48,7 @@ class _UnsplashNoticeState extends State<UnsplashNotice> {
}
class _UnsplashDialog extends StatelessWidget {
const _UnsplashDialog({Key? key, required this.accepted}) : super(key: key);
const _UnsplashDialog({required this.accepted});
final Function accepted;
@override