mirror of
https://github.com/flutter/samples.git
synced 2025-11-09 22:38:42 +00:00
Deps update, utilize super.key (#1265)
* Deps update, utilize `super.key` * `flutter format`
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class ExpandCardDemo extends StatelessWidget {
|
||||
const ExpandCardDemo({Key? key}) : super(key: key);
|
||||
const ExpandCardDemo({super.key});
|
||||
static const String routeName = '/misc/expand_card';
|
||||
|
||||
@override
|
||||
@@ -22,7 +22,7 @@ class ExpandCardDemo extends StatelessWidget {
|
||||
}
|
||||
|
||||
class ExpandCard extends StatefulWidget {
|
||||
const ExpandCard({Key? key}) : super(key: key);
|
||||
const ExpandCard({super.key});
|
||||
@override
|
||||
State<ExpandCard> createState() => _ExpandCardState();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user