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:
@@ -13,7 +13,7 @@ void main() {
|
||||
// The same content is shown for both the main app target and in the App
|
||||
// Clip.
|
||||
class Demo extends StatefulWidget {
|
||||
const Demo({Key? key}) : super(key: key);
|
||||
const Demo({super.key});
|
||||
|
||||
@override
|
||||
State<Demo> createState() => _DemoState();
|
||||
|
||||
Reference in New Issue
Block a user