diff --git a/packages/patrol/example/integration_test/open_app_test.dart b/packages/patrol/example/integration_test/open_app_test.dart index fa1a4b231..c52a7a13c 100644 --- a/packages/patrol/example/integration_test/open_app_test.dart +++ b/packages/patrol/example/integration_test/open_app_test.dart @@ -6,7 +6,7 @@ import 'common.dart'; void main() { patrol('open maps', ($) async { - late String mapsId; + final String mapsId; if (Platform.isIOS) { mapsId = 'com.apple.Maps'; } else if (Platform.isAndroid) { @@ -30,7 +30,7 @@ void main() { }); patrol('open browser', ($) async { - late String browserId; + final String browserId; if (Platform.isIOS) { browserId = 'com.apple.mobilesafari'; } else if (Platform.isAndroid) { diff --git a/packages/patrol/example/integration_test/swipe_test.dart b/packages/patrol/example/integration_test/swipe_test.dart index 02ef39835..370223659 100644 --- a/packages/patrol/example/integration_test/swipe_test.dart +++ b/packages/patrol/example/integration_test/swipe_test.dart @@ -3,7 +3,7 @@ import 'dart:io' show Platform; import 'common.dart'; void main() { - late String appId; + final String appId; if (Platform.isIOS) { appId = 'com.apple.Preferences'; } else if (Platform.isAndroid) {