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:
@@ -15,7 +15,7 @@ class NewsTab extends StatefulWidget {
|
||||
static const androidIcon = Icon(Icons.library_books);
|
||||
static const iosIcon = Icon(CupertinoIcons.news);
|
||||
|
||||
const NewsTab({Key? key}) : super(key: key);
|
||||
const NewsTab({super.key});
|
||||
|
||||
@override
|
||||
State<NewsTab> createState() => _NewsTabState();
|
||||
|
||||
Reference in New Issue
Block a user