mirror of
https://github.com/flutter/samples.git
synced 2026-04-06 11:41:26 +00:00
Deps update, utilize super.key (#1265)
* Deps update, utilize `super.key` * `flutter format`
This commit is contained in:
@@ -13,8 +13,8 @@ class AuthorList extends StatelessWidget {
|
||||
const AuthorList({
|
||||
required this.authors,
|
||||
this.onTap,
|
||||
Key? key,
|
||||
}) : super(key: key);
|
||||
super.key,
|
||||
});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) => ListView.builder(
|
||||
|
||||
@@ -13,8 +13,8 @@ class BookList extends StatelessWidget {
|
||||
const BookList({
|
||||
required this.books,
|
||||
this.onTap,
|
||||
Key? key,
|
||||
}) : super(key: key);
|
||||
super.key,
|
||||
});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) => ListView.builder(
|
||||
|
||||
Reference in New Issue
Block a user