Use PlatformDispatcher.instance over window where possible (#99496)
This commit is contained in:
committed by
GitHub
parent
a4aeb77876
commit
7f2c1cd772
@@ -10,6 +10,6 @@ import 'package:flutter_driver/driver_extension.dart';
|
||||
|
||||
void main() {
|
||||
enableFlutterDriverExtension(handler: (String? message) async {
|
||||
return ui.window.defaultRouteName;
|
||||
return ui.PlatformDispatcher.instance.defaultRouteName;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user