Clean up the bindings APIs (#86388)

This commit is contained in:
Ian Hickson
2021-07-13 18:31:11 -07:00
committed by GitHub
parent 13a84f5a22
commit 31de052e3f
248 changed files with 1614 additions and 1266 deletions

View File

@@ -13,6 +13,6 @@ void main() {
test('layers smoketest for rendering/custom_coordinate_systems.dart', () {
FlutterError.onError = (FlutterErrorDetails details) { throw details.exception; };
demo.main();
expect(SchedulerBinding.instance!.hasScheduledFrame, true);
expect(SchedulerBinding.instance.hasScheduledFrame, true);
});
}

View File

@@ -13,6 +13,6 @@ void main() {
test('layers smoketest for rendering/flex_layout.dart', () {
FlutterError.onError = (FlutterErrorDetails details) { throw details.exception; };
demo.main();
expect(SchedulerBinding.instance!.hasScheduledFrame, true);
expect(SchedulerBinding.instance.hasScheduledFrame, true);
});
}

View File

@@ -13,6 +13,6 @@ void main() {
test('layers smoketest for rendering/hello_world.dart', () {
FlutterError.onError = (FlutterErrorDetails details) { throw details.exception; };
demo.main();
expect(SchedulerBinding.instance!.hasScheduledFrame, true);
expect(SchedulerBinding.instance.hasScheduledFrame, true);
});
}

View File

@@ -13,6 +13,6 @@ void main() {
test('layers smoketest for rendering/spinning_square.dart', () {
FlutterError.onError = (FlutterErrorDetails details) { throw details.exception; };
demo.main();
expect(SchedulerBinding.instance!.hasScheduledFrame, true);
expect(SchedulerBinding.instance.hasScheduledFrame, true);
});
}

View File

@@ -13,6 +13,6 @@ void main() {
test('layers smoketest for rendering/touch_input.dart', () {
FlutterError.onError = (FlutterErrorDetails details) { throw details.exception; };
demo.main();
expect(SchedulerBinding.instance!.hasScheduledFrame, true);
expect(SchedulerBinding.instance.hasScheduledFrame, true);
});
}