Move semantic-related bindings to SemanticsBinding (#121289)
Move semantic-related bindings to SemanticsBinding
This commit is contained in:
committed by
GitHub
parent
cb67ecd97d
commit
b1b7284a72
@@ -184,8 +184,8 @@ void main() {
|
||||
);
|
||||
|
||||
testWidgets('Flutter Gallery app smoke test with semantics', (WidgetTester tester) async {
|
||||
RendererBinding.instance.setSemanticsEnabled(true);
|
||||
final SemanticsHandle handle = SemanticsBinding.instance.ensureSemantics();
|
||||
await smokeGallery(tester);
|
||||
RendererBinding.instance.setSemanticsEnabled(false);
|
||||
handle.dispose();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user