Prepare examples for use_super_parameters (#100514)
This commit is contained in:
committed by
GitHub
parent
195a1cc413
commit
91bcf4200e
@@ -12,7 +12,7 @@ void main() {
|
||||
}
|
||||
|
||||
class PlatformView extends StatelessWidget {
|
||||
const PlatformView({Key? key}) : super(key: key);
|
||||
const PlatformView({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -27,7 +27,7 @@ class PlatformView extends StatelessWidget {
|
||||
}
|
||||
|
||||
class MyHomePage extends StatefulWidget {
|
||||
const MyHomePage({Key? key, required this.title}) : super(key: key);
|
||||
const MyHomePage({super.key, required this.title});
|
||||
|
||||
final String title;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: platform_view
|
||||
|
||||
environment:
|
||||
sdk: ">=2.12.0-0 <3.0.0"
|
||||
sdk: ">=2.17.0-0 <3.0.0"
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
|
||||
Reference in New Issue
Block a user