Prepare examples for use_super_parameters (#100514)
This commit is contained in:
committed by
GitHub
parent
195a1cc413
commit
91bcf4200e
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user