From b9528c057a749e63d4c6369af95952f0f2a52e0a Mon Sep 17 00:00:00 2001 From: Pierre-Louis <6655696+guidezpl@users.noreply.github.com> Date: Fri, 15 Apr 2022 12:06:30 +0000 Subject: [PATCH] Remove trailing spaces in repo (#101191) * Remove trailing spaces * more * empty commit --- dev/docs/README.md | 6 +++--- packages/flutter_tools/gradle/flutter.gradle | 4 ++-- .../android-java.tmpl/app/build.gradle.tmpl | 2 +- .../flutter_tools/templates/package/README.md.tmpl | 12 ++++++------ .../lib/projectName_platform_interface.dart.tmpl | 2 +- .../templates/plugin/test/projectName_test.dart.tmpl | 4 ++-- .../templates/plugin_ffi/README.md.tmpl | 2 +- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/dev/docs/README.md b/dev/docs/README.md index 7cb28a93dd..669e978722 100644 --- a/dev/docs/README.md +++ b/dev/docs/README.md @@ -1,6 +1,6 @@ **Welcome to the Flutter API reference documentation!** -Flutter is Google's SDK for crafting beautiful, fast user experiences for +Flutter is Google's SDK for crafting beautiful, fast user experiences for mobile, web, and desktop from a single codebase. Flutter works with existing code, is used by developers and organizations around the world, and is free and open source. @@ -57,8 +57,8 @@ import 'package:file/local.dart'; ### Packages on pub.dev Flutter has a rich ecosystem of packages that have been contributed by the -Flutter team and the broader open source community to a central repository. -Among the thousands of packages, you'll find support for Firebase, Google +Flutter team and the broader open source community to a central repository. +Among the thousands of packages, you'll find support for Firebase, Google Fonts, hardware services like Bluetooth and camera, new widgets and animations, and integration with other popular web services. You can browse those packages at [pub.dev](https://pub.dev). diff --git a/packages/flutter_tools/gradle/flutter.gradle b/packages/flutter_tools/gradle/flutter.gradle index 553e969460..18da70bf2e 100644 --- a/packages/flutter_tools/gradle/flutter.gradle +++ b/packages/flutter_tools/gradle/flutter.gradle @@ -426,7 +426,7 @@ class FlutterPlugin implements Plugin { /** * Compares semantic versions ignoring labels. - * + * * If the versions are equal (ignoring labels), returns one of the two strings arbitrarily. * * If minor or patch are omitted (non-conformant to semantic versioning), they are considered zero. @@ -484,7 +484,7 @@ class FlutterPlugin implements Plugin { } } } - } + } } /** diff --git a/packages/flutter_tools/templates/app_shared/android-java.tmpl/app/build.gradle.tmpl b/packages/flutter_tools/templates/app_shared/android-java.tmpl/app/build.gradle.tmpl index d0c732af98..b7056e692c 100644 --- a/packages/flutter_tools/templates/app_shared/android-java.tmpl/app/build.gradle.tmpl +++ b/packages/flutter_tools/templates/app_shared/android-java.tmpl/app/build.gradle.tmpl @@ -37,7 +37,7 @@ android { defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "{{androidIdentifier}}" - // You can update the following values to match your application needs. + // You can update the following values to match your application needs. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration. minSdkVersion flutter.minSdkVersion targetSdkVersion flutter.targetSdkVersion diff --git a/packages/flutter_tools/templates/package/README.md.tmpl b/packages/flutter_tools/templates/package/README.md.tmpl index 8b55e735b5..02fe8ecabc 100644 --- a/packages/flutter_tools/templates/package/README.md.tmpl +++ b/packages/flutter_tools/templates/package/README.md.tmpl @@ -1,14 +1,14 @@ - TODO: Put a short description of the package here that helps potential users @@ -26,7 +26,7 @@ start using the package. ## Usage TODO: Include short and useful examples for package users. Add longer examples -to `/example` folder. +to `/example` folder. ```dart const like = 'sample'; @@ -34,6 +34,6 @@ const like = 'sample'; ## Additional information -TODO: Tell users more about the package: where to find more information, how to -contribute to the package, how to file issues, what response they can expect +TODO: Tell users more about the package: where to find more information, how to +contribute to the package, how to file issues, what response they can expect from the package authors, and more. diff --git a/packages/flutter_tools/templates/plugin/lib/projectName_platform_interface.dart.tmpl b/packages/flutter_tools/templates/plugin/lib/projectName_platform_interface.dart.tmpl index c350f33eb0..fad513e85e 100644 --- a/packages/flutter_tools/templates/plugin/lib/projectName_platform_interface.dart.tmpl +++ b/packages/flutter_tools/templates/plugin/lib/projectName_platform_interface.dart.tmpl @@ -14,7 +14,7 @@ abstract class {{pluginDartClass}}Platform extends PlatformInterface { /// /// Defaults to [MethodChannel{{pluginDartClass}}]. static {{pluginDartClass}}Platform get instance => _instance; - + /// Platform-specific implementations should set this with their own /// platform-specific class that extends [{{pluginDartClass}}Platform] when /// they register themselves. diff --git a/packages/flutter_tools/templates/plugin/test/projectName_test.dart.tmpl b/packages/flutter_tools/templates/plugin/test/projectName_test.dart.tmpl index e394e632ee..a07a888aae 100644 --- a/packages/flutter_tools/templates/plugin/test/projectName_test.dart.tmpl +++ b/packages/flutter_tools/templates/plugin/test/projectName_test.dart.tmpl @@ -4,7 +4,7 @@ import 'package:{{projectName}}/{{projectName}}_platform_interface.dart'; import 'package:{{projectName}}/{{projectName}}_method_channel.dart'; import 'package:plugin_platform_interface/plugin_platform_interface.dart'; -class Mock{{pluginDartClass}}Platform +class Mock{{pluginDartClass}}Platform with MockPlatformInterfaceMixin implements {{pluginDartClass}}Platform { @@ -23,7 +23,7 @@ void main() { {{pluginDartClass}} {{pluginClassLowerCamelCase}} = {{pluginDartClass}}(); Mock{{pluginDartClass}}Platform fakePlatform = Mock{{pluginDartClass}}Platform(); {{pluginDartClass}}Platform.instance = fakePlatform; - + expect(await {{pluginClassLowerCamelCase}}.getPlatformVersion(), '42'); }); } diff --git a/packages/flutter_tools/templates/plugin_ffi/README.md.tmpl b/packages/flutter_tools/templates/plugin_ffi/README.md.tmpl index 7f1dfb82a9..d02610c68e 100644 --- a/packages/flutter_tools/templates/plugin_ffi/README.md.tmpl +++ b/packages/flutter_tools/templates/plugin_ffi/README.md.tmpl @@ -4,7 +4,7 @@ ## Getting Started -This project is a starting point for a Flutter +This project is a starting point for a Flutter [FFI plugin](https://docs.flutter.dev/development/platform-integration/c-interop), a specialized package that includes native code directly invoked with Dart FFI.