diff --git a/packages/patrol/lib/src/binding.dart b/packages/patrol/lib/src/binding.dart index 8c7a806ab..8ac5bd9d2 100644 --- a/packages/patrol/lib/src/binding.dart +++ b/packages/patrol/lib/src/binding.dart @@ -183,9 +183,8 @@ class PatrolBinding extends LiveTestWidgetsFlutterBinding { } @override - ViewConfiguration createViewConfiguration() { - final view = platformDispatcher.implicitView!; - + ViewConfiguration createViewConfigurationFor(RenderView renderView) { + final view = renderView.flutterView; return TestViewConfiguration.fromView( size: view.physicalSize / view.devicePixelRatio, view: view, diff --git a/packages/patrol/lib/src/native/native_automator.dart b/packages/patrol/lib/src/native/native_automator.dart index 65eddd1d3..5ac4f1df3 100644 --- a/packages/patrol/lib/src/native/native_automator.dart +++ b/packages/patrol/lib/src/native/native_automator.dart @@ -78,7 +78,6 @@ class NativeAutomatorConfig { this.logger = _defaultPrintLogger, }); - /// Apps installed on the simulator for purpose of native view inspection in DevTools extension final String iosInstalledApps; /// Host on which Patrol server instrumentation is running.