Prepare examples for use_super_parameters (#100514)

This commit is contained in:
Michael Goderbauer
2022-03-29 12:53:08 -07:00
committed by GitHub
parent 195a1cc413
commit 91bcf4200e
23 changed files with 32 additions and 33 deletions

View File

@@ -197,7 +197,7 @@ class CalculationManager {
// This is a StatefulWidget in order to hold the CalculationManager and
// the AnimationController for the running animation.
class IsolateExampleWidget extends StatefulWidget {
const IsolateExampleWidget({Key? key}) : super(key: key);
const IsolateExampleWidget({super.key});
@override
IsolateExampleState createState() => IsolateExampleState();

View File

@@ -5,7 +5,7 @@
import 'package:flutter/widgets.dart';
class LifecycleWatcher extends StatefulWidget {
const LifecycleWatcher({ Key? key }) : super(key: key);
const LifecycleWatcher({ super.key });
@override
State<LifecycleWatcher> createState() => _LifecycleWatcherState();