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:
@@ -12,6 +12,8 @@ class SettingsTab extends StatefulWidget {
|
||||
static const androidIcon = Icon(Icons.settings);
|
||||
static const iosIcon = Icon(CupertinoIcons.gear);
|
||||
|
||||
const SettingsTab({Key? key}) : super(key: key);
|
||||
|
||||
@override
|
||||
_SettingsTabState createState() => _SettingsTabState();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user