Prepare dev (minus flutter_gallery) for use_super_parameters (#100516)
This commit is contained in:
committed by
GitHub
parent
43029bebc4
commit
195a1cc413
@@ -2,7 +2,7 @@ name: complex_layout
|
||||
description: A benchmark of a relatively complex layout.
|
||||
|
||||
environment:
|
||||
sdk: ">=2.12.0 <3.0.0"
|
||||
sdk: ">=2.17.0-0 <3.0.0"
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
|
||||
@@ -2,7 +2,7 @@ name: macrobenchmarks
|
||||
description: Performance benchmarks using flutter drive.
|
||||
|
||||
environment:
|
||||
sdk: ">=2.12.0 <3.0.0"
|
||||
sdk: ">=2.17.0-0 <3.0.0"
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
|
||||
@@ -2,7 +2,7 @@ name: microbenchmarks
|
||||
description: Small benchmarks for very specific parts of the Flutter framework.
|
||||
|
||||
environment:
|
||||
sdk: ">=2.12.0 <3.0.0"
|
||||
sdk: ">=2.17.0-0 <3.0.0"
|
||||
|
||||
dependencies:
|
||||
meta: 1.7.0
|
||||
|
||||
@@ -4,7 +4,7 @@ description: A module that is embedded in the multiple_flutters benchmark test.
|
||||
version: 1.0.0+1
|
||||
|
||||
environment:
|
||||
sdk: ">=2.12.0 <3.0.0"
|
||||
sdk: ">=2.17.0-0 <3.0.0"
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
|
||||
@@ -5,7 +5,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
||||
version: 1.0.0+1
|
||||
|
||||
environment:
|
||||
sdk: ">=2.12.0 <3.0.0"
|
||||
sdk: ">=2.17.0-0 <3.0.0"
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
|
||||
@@ -15,8 +15,8 @@ void main() {
|
||||
|
||||
class PlatformViewApp extends StatefulWidget {
|
||||
const PlatformViewApp({
|
||||
Key? key,
|
||||
}) : super(key: key);
|
||||
super.key,
|
||||
});
|
||||
|
||||
@override
|
||||
PlatformViewAppState createState() => PlatformViewAppState();
|
||||
@@ -40,7 +40,7 @@ class PlatformViewAppState extends State<PlatformViewApp> {
|
||||
}
|
||||
|
||||
class PlatformViewLayout extends StatelessWidget {
|
||||
const PlatformViewLayout({ Key? key }) : super(key: key);
|
||||
const PlatformViewLayout({ super.key });
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -70,7 +70,7 @@ class PlatformViewLayout extends StatelessWidget {
|
||||
}
|
||||
|
||||
class DummyPlatformView extends StatelessWidget {
|
||||
const DummyPlatformView({Key? key}) : super(key: key);
|
||||
const DummyPlatformView({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -96,7 +96,7 @@ class DummyPlatformView extends StatelessWidget {
|
||||
}
|
||||
|
||||
class RotationContainer extends StatefulWidget {
|
||||
const RotationContainer({Key? key}) : super(key: key);
|
||||
const RotationContainer({super.key});
|
||||
|
||||
@override
|
||||
State<RotationContainer> createState() => _RotationContainerState();
|
||||
|
||||
@@ -2,7 +2,7 @@ name: platform_views_layout
|
||||
description: A benchmark for platform views.
|
||||
|
||||
environment:
|
||||
sdk: ">=2.12.0-0 <3.0.0"
|
||||
sdk: ">=2.17.0-0 <3.0.0"
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
|
||||
@@ -12,9 +12,9 @@ class AndroidPlatformView extends StatelessWidget {
|
||||
/// Creates a platform view for Android, which is rendered as a
|
||||
/// native view.
|
||||
const AndroidPlatformView({
|
||||
Key? key,
|
||||
super.key,
|
||||
required this.viewType,
|
||||
}) : super(key: key);
|
||||
});
|
||||
|
||||
/// The unique identifier for the view type to be embedded by this widget.
|
||||
///
|
||||
|
||||
@@ -19,8 +19,8 @@ void main() {
|
||||
|
||||
class PlatformViewApp extends StatefulWidget {
|
||||
const PlatformViewApp({
|
||||
Key? key
|
||||
}) : super(key: key);
|
||||
super.key
|
||||
});
|
||||
|
||||
@override
|
||||
PlatformViewAppState createState() => PlatformViewAppState();
|
||||
@@ -44,7 +44,7 @@ class PlatformViewAppState extends State<PlatformViewApp> {
|
||||
}
|
||||
|
||||
class PlatformViewLayout extends StatelessWidget {
|
||||
const PlatformViewLayout({ Key? key }) : super(key: key);
|
||||
const PlatformViewLayout({ super.key });
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -74,7 +74,7 @@ class PlatformViewLayout extends StatelessWidget {
|
||||
}
|
||||
|
||||
class DummyPlatformView extends StatelessWidget {
|
||||
const DummyPlatformView({Key? key}) : super(key: key);
|
||||
const DummyPlatformView({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -101,7 +101,7 @@ class DummyPlatformView extends StatelessWidget {
|
||||
}
|
||||
|
||||
class RotationContainer extends StatefulWidget {
|
||||
const RotationContainer({Key? key}) : super(key: key);
|
||||
const RotationContainer({super.key});
|
||||
|
||||
@override
|
||||
State<RotationContainer> createState() => _RotationContainerState();
|
||||
|
||||
@@ -2,7 +2,7 @@ name: platform_views_layout_hybrid_composition
|
||||
description: A benchmark for platform views, using hybrid composition on android.
|
||||
|
||||
environment:
|
||||
sdk: ">=2.12.0-0 <3.0.0"
|
||||
sdk: ">=2.17.0-0 <3.0.0"
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: stocks
|
||||
|
||||
environment:
|
||||
sdk: ">=2.12.0 <3.0.0"
|
||||
sdk: ">=2.17.0-0 <3.0.0"
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
|
||||
Reference in New Issue
Block a user