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:
@@ -30,7 +30,7 @@ int fib(int n) {
|
||||
}
|
||||
|
||||
class PerformancePage extends StatefulWidget {
|
||||
const PerformancePage({Key? key}) : super(key: key);
|
||||
const PerformancePage({super.key});
|
||||
|
||||
@override
|
||||
State<PerformancePage> createState() => _PerformancePageState();
|
||||
@@ -127,7 +127,7 @@ class _PerformancePageState extends State<PerformancePage> {
|
||||
}
|
||||
|
||||
class SmoothAnimationWidget extends StatefulWidget {
|
||||
const SmoothAnimationWidget({Key? key}) : super(key: key);
|
||||
const SmoothAnimationWidget({super.key});
|
||||
|
||||
@override
|
||||
State<SmoothAnimationWidget> createState() => _SmoothAnimationWidgetState();
|
||||
|
||||
Reference in New Issue
Block a user