1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00

platform_design: Enforce use_key_in_widget_constructors (#927)

This commit is contained in:
Brett Morgan
2021-10-12 11:12:35 +11:00
committed by GitHub
parent ac2bef7d83
commit 0061b0d70d
8 changed files with 35 additions and 18 deletions

View File

@@ -15,6 +15,8 @@ class NewsTab extends StatefulWidget {
static const androidIcon = Icon(Icons.library_books);
static const iosIcon = Icon(CupertinoIcons.news);
const NewsTab({Key? key}) : super(key: key);
@override
_NewsTabState createState() => _NewsTabState();
}