From 80cb489ac4319e67849a490b3adbfa144a727816 Mon Sep 17 00:00:00 2001 From: Igor Molchanov <66907532+meg4cyberc4t@users.noreply.github.com> Date: Mon, 3 Jun 2024 17:34:08 +0300 Subject: [PATCH] Correcting the typo of Flutter in projects --- .../lib/src/android_camera_camerax_flutter_api_impls.dart | 2 +- script/tool/lib/src/create_all_packages_app_command.dart | 2 +- script/tool/lib/src/pubspec_check_command.dart | 2 +- script/tool/lib/src/update_min_sdk_command.dart | 2 +- script/tool/test/pubspec_check_command_test.dart | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/camera/camera_android_camerax/lib/src/android_camera_camerax_flutter_api_impls.dart b/packages/camera/camera_android_camerax/lib/src/android_camera_camerax_flutter_api_impls.dart index c4e95d0037f9..5a2af4e576a8 100644 --- a/packages/camera/camera_android_camerax/lib/src/android_camera_camerax_flutter_api_impls.dart +++ b/packages/camera/camera_android_camerax/lib/src/android_camera_camerax_flutter_api_impls.dart @@ -182,7 +182,7 @@ class AndroidCameraXCameraFlutterApis { late final FocusMeteringResultFlutterApiImpl focusMeteringResultFlutterApiImpl; - /// Fluter Api implementation for [Camera2CameraInfo]. + /// Flutter Api implementation for [Camera2CameraInfo]. late final Camera2CameraInfoFlutterApiImpl camera2CameraInfoFlutterApiImpl; /// Ensures all the Flutter APIs have been setup to receive calls from native code. diff --git a/script/tool/lib/src/create_all_packages_app_command.dart b/script/tool/lib/src/create_all_packages_app_command.dart index 380ced430b63..ee1804fc1420 100644 --- a/script/tool/lib/src/create_all_packages_app_command.dart +++ b/script/tool/lib/src/create_all_packages_app_command.dart @@ -429,7 +429,7 @@ dev_dependencies:${_pubspecMapString(pubspec.devDependencies)} _adjustFile( pbxprojFile, replacements: >{ - // iOS 14 is required by google_maps_fluter. + // iOS 14 is required by google_maps_flutter. 'IPHONEOS_DEPLOYMENT_TARGET': [ ' IPHONEOS_DEPLOYMENT_TARGET = 14.0;' ], diff --git a/script/tool/lib/src/pubspec_check_command.dart b/script/tool/lib/src/pubspec_check_command.dart index 250cff9efb50..34aa3813a41c 100644 --- a/script/tool/lib/src/pubspec_check_command.dart +++ b/script/tool/lib/src/pubspec_check_command.dart @@ -473,7 +473,7 @@ class PubspecCheckCommand extends PackageLoopingCommand { Version? minMinFlutterVersion, }) { String unknownDartVersionError(Version flutterVersion) { - return 'Dart SDK version for Fluter SDK version ' + return 'Dart SDK version for Flutter SDK version ' '$flutterVersion is unknown. ' 'Please update the map for getDartSdkForFlutterSdk with the ' 'corresponding Dart version.'; diff --git a/script/tool/lib/src/update_min_sdk_command.dart b/script/tool/lib/src/update_min_sdk_command.dart index c1c86e8f2cd3..429036a47ef9 100644 --- a/script/tool/lib/src/update_min_sdk_command.dart +++ b/script/tool/lib/src/update_min_sdk_command.dart @@ -45,7 +45,7 @@ class UpdateMinSdkCommand extends PackageLoopingCommand { _flutterMinVersion = Version.parse(getStringArg(_flutterMinFlag)); final Version? dartMinVersion = getDartSdkForFlutterSdk(_flutterMinVersion); if (dartMinVersion == null) { - printError('Dart SDK version for Fluter SDK version ' + printError('Dart SDK version for Flutter SDK version ' '$_flutterMinVersion is unknown. ' 'Please update the map for getDartSdkForFlutterSdk with the ' 'corresponding Dart version.'); diff --git a/script/tool/test/pubspec_check_command_test.dart b/script/tool/test/pubspec_check_command_test.dart index 07a6861e2f77..2cf27027c7c7 100644 --- a/script/tool/test/pubspec_check_command_test.dart +++ b/script/tool/test/pubspec_check_command_test.dart @@ -1518,7 +1518,7 @@ ${_topicsSection()} expect( output, containsAllInOrder([ - contains('Dart SDK version for Fluter SDK version 2.0.0 is unknown'), + contains('Dart SDK version for Flutter SDK version 2.0.0 is unknown'), ]), ); });