mirror of
https://github.com/flutter/samples.git
synced 2025-11-10 14:58:34 +00:00
Deps update, utilize super.key (#1265)
* Deps update, utilize `super.key` * `flutter format`
This commit is contained in:
@@ -56,7 +56,7 @@ void setupWindow() {
|
||||
}
|
||||
|
||||
class UnsplashSearchApp extends StatelessWidget {
|
||||
const UnsplashSearchApp({Key? key}) : super(key: key);
|
||||
const UnsplashSearchApp({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -71,7 +71,7 @@ class UnsplashSearchApp extends StatelessWidget {
|
||||
}
|
||||
|
||||
class UnsplashHomePage extends StatelessWidget {
|
||||
const UnsplashHomePage({required this.title, Key? key}) : super(key: key);
|
||||
const UnsplashHomePage({required this.title, super.key});
|
||||
final String title;
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user