mirror of
https://github.com/flutter/samples.git
synced 2025-11-11 15:28:44 +00:00
Deps update, utilize super.key (#1265)
* Deps update, utilize `super.key` * `flutter format`
This commit is contained in:
@@ -9,7 +9,7 @@ import 'package:provider/provider.dart';
|
||||
class AppLifecycleObserver extends StatefulWidget {
|
||||
final Widget child;
|
||||
|
||||
const AppLifecycleObserver({required this.child, Key? key}) : super(key: key);
|
||||
const AppLifecycleObserver({required this.child, super.key});
|
||||
|
||||
@override
|
||||
State<AppLifecycleObserver> createState() => _AppLifecycleObserverState();
|
||||
|
||||
Reference in New Issue
Block a user