mirror of
https://github.com/flutter/flutter
synced 2024-08-27 03:50:33 +00:00
Remove trailing spaces in repo (#101191)
* Remove trailing spaces * more * empty commit
This commit is contained in:
parent
5077067b61
commit
b9528c057a
|
@ -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).
|
||||
|
|
|
@ -426,7 +426,7 @@ class FlutterPlugin implements Plugin<Project> {
|
|||
|
||||
/**
|
||||
* 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<Project> {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
<!--
|
||||
<!--
|
||||
This README describes the package. If you publish this package to pub.dev,
|
||||
this README's contents appear on the landing page for your package.
|
||||
|
||||
For information about how to write a good package README, see the guide for
|
||||
[writing package pages](https://dart.dev/guides/libraries/writing-package-pages).
|
||||
[writing package pages](https://dart.dev/guides/libraries/writing-package-pages).
|
||||
|
||||
For general information about developing packages, see the Dart guide for
|
||||
[creating packages](https://dart.dev/guides/libraries/create-library-packages)
|
||||
and the Flutter guide for
|
||||
[developing packages and plugins](https://flutter.dev/developing-packages).
|
||||
[developing packages and plugins](https://flutter.dev/developing-packages).
|
||||
-->
|
||||
|
||||
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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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');
|
||||
});
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue