diff --git a/lib/main.dart b/lib/main.dart index f35fb4a..60d0812 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -18,7 +18,7 @@ void main() { } class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); + const MyApp({super.key}); @override Widget build(BuildContext context) { @@ -33,7 +33,7 @@ class MyApp extends StatelessWidget { } class HomePage extends StatefulWidget { - const HomePage({Key? key, required this.title}) : super(key: key); + const HomePage({super.key, required this.title}); final String title;