diff --git a/.ci/legacy_project/all_packages/android/.gitignore b/.ci/legacy_project/all_packages/android/.gitignore index 0a741cb43d66..8e599af9f211 100644 --- a/.ci/legacy_project/all_packages/android/.gitignore +++ b/.ci/legacy_project/all_packages/android/.gitignore @@ -7,5 +7,5 @@ gradle-wrapper.jar GeneratedPluginRegistrant.java # Remember to never publicly share your keystore. -# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app +# See https://flutter.dev/to/reference-keystore key.properties diff --git a/README.md b/README.md index efbdb9794eef..494f828b91a2 100644 --- a/README.md +++ b/README.md @@ -21,10 +21,10 @@ Issues pertaining to this repository are [labeled ## Contributing If you wish to contribute a new package to the Flutter ecosystem, please -see the documentation for [developing packages](https://flutter.io/developing-packages/). You can store +see the documentation for [developing packages](https://flutter.dev/to/develop-packages). You can store your package source code in any GitHub repository (the present repo is only intended for packages developed by the core Flutter team). Once your package -is ready you can [publish](https://flutter.io/developing-packages/#publish) +is ready you can [publish](https://flutter.dev/to/develop-packages#publish) to the [pub repository](https://pub.dev/). If you wish to contribute a change to any of the existing packages in this repo, diff --git a/packages/camera/camera/README.md b/packages/camera/camera/README.md index a07c4ebbda9a..1ebac1e02f07 100644 --- a/packages/camera/camera/README.md +++ b/packages/camera/camera/README.md @@ -17,9 +17,7 @@ A Flutter plugin for iOS, Android and Web allowing access to the device cameras. * Record video. * Add access to the image stream from Dart. -## Installation - -First, add `camera` as a [dependency in your pubspec.yaml file](https://flutter.dev/using-packages/). +## Setup ### iOS diff --git a/packages/camera/camera_android/README.md b/packages/camera/camera_android/README.md index 486db6743284..36f1dd5c3c04 100644 --- a/packages/camera/camera_android/README.md +++ b/packages/camera/camera_android/README.md @@ -17,7 +17,7 @@ when recording a video with sound enabled and trying to play it back, the durati you will only see the first frame. [1]: https://pub.dev/packages/camera -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin [3]: https://pub.dev/packages/camera_android_camerax [4]: https://developer.android.com/media/camera/camera2 [5]: https://developer.android.com/reference/android/media/MediaRecorder diff --git a/packages/camera/camera_android_camerax/README.md b/packages/camera/camera_android_camerax/README.md index 1e40f53eb591..b6b1a46a383f 100644 --- a/packages/camera/camera_android_camerax/README.md +++ b/packages/camera/camera_android_camerax/README.md @@ -81,7 +81,7 @@ For more information on contributing to this plugin, see [`CONTRIBUTING.md`](CON [1]: https://pub.dev/packages/camera [2]: https://developer.android.com/training/camerax -[3]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[3]: https://flutter.dev/to/endorsed-federated-plugin [4]: https://pub.dev/packages/camera_android [5]: https://github.com/flutter/flutter/issues/new/choose [6]: https://developer.android.com/media/camera/camerax/architecture#combine-use-cases diff --git a/packages/camera/camera_avfoundation/README.md b/packages/camera/camera_avfoundation/README.md index 970450c59da6..459211b046cb 100644 --- a/packages/camera/camera_avfoundation/README.md +++ b/packages/camera/camera_avfoundation/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/camera -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/camera/camera_web/README.md b/packages/camera/camera_web/README.md index 6ebf24e9bb53..1d20e9a88fcb 100644 --- a/packages/camera/camera_web/README.md +++ b/packages/camera/camera_web/README.md @@ -8,7 +8,7 @@ The web implementation of [`camera`][camera]. ### Depend on the package -This package is [endorsed](https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin), +This package is [endorsed](https://flutter.dev/to/endorsed-federated-plugin), which means you can simply use `camera` normally. This package will be automatically included in your app when you do, so you do not need to add it to your `pubspec.yaml`. diff --git a/packages/camera/camera_web/example/README.md b/packages/camera/camera_web/example/README.md index 4a01887de7fb..932e9f227cbe 100644 --- a/packages/camera/camera_web/example/README.md +++ b/packages/camera/camera_web/example/README.md @@ -15,5 +15,5 @@ This package uses `package:integration_test` to run its tests in a web browser. See [Plugin Tests > Web Tests](https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#web-tests) in the Flutter documentation for instructions to set up and run the tests in this package. -Check [flutter.dev > Integration testing](https://flutter.dev/docs/testing/integration-tests) +Check [flutter.dev > Integration testing](https://docs.flutter.dev/testing/integration-tests) for more info. diff --git a/packages/camera/camera_windows/README.md b/packages/camera/camera_windows/README.md index 4b66ad3dfe32..429e1f6e47fe 100644 --- a/packages/camera/camera_windows/README.md +++ b/packages/camera/camera_windows/README.md @@ -61,7 +61,7 @@ disposing of the camera is the only way to reset the situation. [camera]: https://pub.dev/packages/camera -[endorsed-federated-plugin]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[endorsed-federated-plugin]: https://flutter.dev/to/endorsed-federated-plugin [install]: https://pub.dev/packages/camera_windows/install [camera-control-issue]: https://github.com/flutter/flutter/issues/97537 [device-orientation-issue]: https://github.com/flutter/flutter/issues/97540 diff --git a/packages/extension_google_sign_in_as_googleapis_auth/example/android/.gitignore b/packages/extension_google_sign_in_as_googleapis_auth/example/android/.gitignore index 6f568019d3c6..55afd919c659 100644 --- a/packages/extension_google_sign_in_as_googleapis_auth/example/android/.gitignore +++ b/packages/extension_google_sign_in_as_googleapis_auth/example/android/.gitignore @@ -7,7 +7,7 @@ gradle-wrapper.jar GeneratedPluginRegistrant.java # Remember to never publicly share your keystore. -# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app +# See https://flutter.dev/to/reference-keystore key.properties **/*.keystore **/*.jks diff --git a/packages/file_selector/file_selector/README.md b/packages/file_selector/file_selector/README.md index 798c9e9c7bc8..b316a4687133 100644 --- a/packages/file_selector/file_selector/README.md +++ b/packages/file_selector/file_selector/README.md @@ -10,9 +10,7 @@ A Flutter plugin that manages files and interactions with file dialogs. |-------------|---------|---------|-------|--------|-----|-------------| | **Support** | SDK 19+ | iOS 12+ | Any | 10.14+ | Any | Windows 10+ | -## Usage - -To use this plugin, add `file_selector` as a [dependency in your pubspec.yaml file](https://flutter.dev/platform-plugins/). +## Setup ### macOS diff --git a/packages/file_selector/file_selector/example/android/.gitignore b/packages/file_selector/file_selector/example/android/.gitignore index 6f568019d3c6..55afd919c659 100644 --- a/packages/file_selector/file_selector/example/android/.gitignore +++ b/packages/file_selector/file_selector/example/android/.gitignore @@ -7,7 +7,7 @@ gradle-wrapper.jar GeneratedPluginRegistrant.java # Remember to never publicly share your keystore. -# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app +# See https://flutter.dev/to/reference-keystore key.properties **/*.keystore **/*.jks diff --git a/packages/file_selector/file_selector_android/README.md b/packages/file_selector/file_selector_android/README.md index 0a24663376dd..c52b5c2a8602 100644 --- a/packages/file_selector/file_selector_android/README.md +++ b/packages/file_selector/file_selector_android/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/file_selector -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/file_selector/file_selector_ios/README.md b/packages/file_selector/file_selector_ios/README.md index 104d05c6e470..8acef6503733 100644 --- a/packages/file_selector/file_selector_ios/README.md +++ b/packages/file_selector/file_selector_ios/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/file_selector -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/file_selector/file_selector_linux/README.md b/packages/file_selector/file_selector_linux/README.md index f3c2d30c424c..aa0653238c56 100644 --- a/packages/file_selector/file_selector_linux/README.md +++ b/packages/file_selector/file_selector_linux/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/file_selector -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/file_selector/file_selector_macos/README.md b/packages/file_selector/file_selector_macos/README.md index 6fcca5a34bd4..ce243a811f88 100644 --- a/packages/file_selector/file_selector_macos/README.md +++ b/packages/file_selector/file_selector_macos/README.md @@ -26,5 +26,5 @@ or read/write access: depending on your use case. [1]: https://pub.dev/packages/file_selector -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin [3]: https://flutter.dev/desktop#entitlements-and-the-app-sandbox diff --git a/packages/file_selector/file_selector_web/README.md b/packages/file_selector/file_selector_web/README.md index 3906b2f50825..9c5f94a8ef4b 100644 --- a/packages/file_selector/file_selector_web/README.md +++ b/packages/file_selector/file_selector_web/README.md @@ -12,7 +12,7 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/file_selector -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin ## Limitations on the Web platform diff --git a/packages/file_selector/file_selector_web/example/README.md b/packages/file_selector/file_selector_web/example/README.md index 4a01887de7fb..932e9f227cbe 100644 --- a/packages/file_selector/file_selector_web/example/README.md +++ b/packages/file_selector/file_selector_web/example/README.md @@ -15,5 +15,5 @@ This package uses `package:integration_test` to run its tests in a web browser. See [Plugin Tests > Web Tests](https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#web-tests) in the Flutter documentation for instructions to set up and run the tests in this package. -Check [flutter.dev > Integration testing](https://flutter.dev/docs/testing/integration-tests) +Check [flutter.dev > Integration testing](https://docs.flutter.dev/testing/integration-tests) for more info. diff --git a/packages/file_selector/file_selector_windows/README.md b/packages/file_selector/file_selector_windows/README.md index 7c6ddff34e4b..cf2b722b1a5b 100644 --- a/packages/file_selector/file_selector_windows/README.md +++ b/packages/file_selector/file_selector_windows/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/file_selector -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/flutter_adaptive_scaffold/example/android/.gitignore b/packages/flutter_adaptive_scaffold/example/android/.gitignore index 6f568019d3c6..55afd919c659 100644 --- a/packages/flutter_adaptive_scaffold/example/android/.gitignore +++ b/packages/flutter_adaptive_scaffold/example/android/.gitignore @@ -7,7 +7,7 @@ gradle-wrapper.jar GeneratedPluginRegistrant.java # Remember to never publicly share your keystore. -# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app +# See https://flutter.dev/to/reference-keystore key.properties **/*.keystore **/*.jks diff --git a/packages/flutter_image/example/android/.gitignore b/packages/flutter_image/example/android/.gitignore index 6f568019d3c6..55afd919c659 100644 --- a/packages/flutter_image/example/android/.gitignore +++ b/packages/flutter_image/example/android/.gitignore @@ -7,7 +7,7 @@ gradle-wrapper.jar GeneratedPluginRegistrant.java # Remember to never publicly share your keystore. -# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app +# See https://flutter.dev/to/reference-keystore key.properties **/*.keystore **/*.jks diff --git a/packages/flutter_markdown/example/android/.gitignore b/packages/flutter_markdown/example/android/.gitignore index 0a741cb43d66..8e599af9f211 100644 --- a/packages/flutter_markdown/example/android/.gitignore +++ b/packages/flutter_markdown/example/android/.gitignore @@ -7,5 +7,5 @@ gradle-wrapper.jar GeneratedPluginRegistrant.java # Remember to never publicly share your keystore. -# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app +# See https://flutter.dev/to/reference-keystore key.properties diff --git a/packages/flutter_migrate/test/migrate_test.dart b/packages/flutter_migrate/test/migrate_test.dart index beeddb329c86..f07085bfbd5c 100644 --- a/packages/flutter_migrate/test/migrate_test.dart +++ b/packages/flutter_migrate/test/migrate_test.dart @@ -382,10 +382,10 @@ flutter: - images/a_dot_ham.jpeg # An image asset can refer to one or more resolution-specific "variants", see - # https://flutter.dev/assets-and-images/#resolution-aware. + # https://flutter.dev/to/resolution-aware-images. # For details regarding adding assets from package dependencies, see - # https://flutter.dev/assets-and-images/#from-packages + # https://flutter.dev/to/asset-from-package # To add custom fonts to your application, add a fonts section here, # in this "flutter" section. Each entry in this list should have a @@ -405,7 +405,7 @@ flutter: # weight: 700 # # For details regarding fonts from package dependencies, - # see https://flutter.dev/custom-fonts/#from-packages + # see https://flutter.dev/to/font-from-package ''', flush: true); diff --git a/packages/flutter_migrate/test/test_data/migrate_project.dart b/packages/flutter_migrate/test/test_data/migrate_project.dart index 4f3b4023e2c9..2590834a4c55 100644 --- a/packages/flutter_migrate/test/test_data/migrate_project.dart +++ b/packages/flutter_migrate/test/test_data/migrate_project.dart @@ -278,10 +278,10 @@ flutter: - images/a_dot_ham.jpeg # An image asset can refer to one or more resolution-specific "variants", see - # https://flutter.dev/assets-and-images/#resolution-aware. + # https://flutter.dev/to/resolution-aware-images. # For details regarding adding assets from package dependencies, see - # https://flutter.dev/assets-and-images/#from-packages + # https://flutter.dev/to/asset-from-package # To add custom fonts to your application, add a fonts section here, # in this "flutter" section. Each entry in this list should have a @@ -301,7 +301,7 @@ flutter: # weight: 700 # # For details regarding fonts from package dependencies, - # see https://flutter.dev/custom-fonts/#from-packages + # see https://flutter.dev/to/font-from-package '''; } diff --git a/packages/flutter_plugin_android_lifecycle/README.md b/packages/flutter_plugin_android_lifecycle/README.md index 6db96fb85e78..69a5be88f9df 100644 --- a/packages/flutter_plugin_android_lifecycle/README.md +++ b/packages/flutter_plugin_android_lifecycle/README.md @@ -13,10 +13,6 @@ major version of the Android `Lifecycle` API they expect. |-------------|---------| | **Support** | SDK 16+ | -## Installation - -Add `flutter_plugin_android_lifecycle` as a [dependency in your pubspec.yaml file](https://flutter.dev/using-packages/). - ## Example Use a `FlutterLifecycleAdapter` within another Flutter plugin's Android implementation, as shown diff --git a/packages/go_router/example/android/.gitignore b/packages/go_router/example/android/.gitignore index 6f568019d3c6..55afd919c659 100644 --- a/packages/go_router/example/android/.gitignore +++ b/packages/go_router/example/android/.gitignore @@ -7,7 +7,7 @@ gradle-wrapper.jar GeneratedPluginRegistrant.java # Remember to never publicly share your keystore. -# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app +# See https://flutter.dev/to/reference-keystore key.properties **/*.keystore **/*.jks diff --git a/packages/go_router/lib/fix_data.yaml b/packages/go_router/lib/fix_data.yaml index 6a20a7de55ab..9770fd40004b 100644 --- a/packages/go_router/lib/fix_data.yaml +++ b/packages/go_router/lib/fix_data.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://flutter.dev/docs/development/tools/flutter-fix +# https://flutter.dev/to/flutter-fix # Please add new fixes to the top of the file, separated by one blank line # from other fixes. In a comment, include a link to the PR where the change diff --git a/packages/google_maps_flutter/google_maps_flutter/README.md b/packages/google_maps_flutter/google_maps_flutter/README.md index 0a9dd2fce995..1f1f68a73443 100644 --- a/packages/google_maps_flutter/google_maps_flutter/README.md +++ b/packages/google_maps_flutter/google_maps_flutter/README.md @@ -12,10 +12,6 @@ A Flutter plugin that provides a [Google Maps](https://developers.google.com/map [web-support]: https://docs.flutter.dev/reference/supported-platforms -## Usage - -To use this plugin, add `google_maps_flutter` as a [dependency in your pubspec.yaml file](https://flutter.dev/docs/development/platform-integration/platform-channels). - ## Getting Started * Get an API key at . @@ -58,7 +54,7 @@ This means that app will only be available for users that run Android SDK 20 or #### Display Mode The Android implementation supports multiple -[platform view display modes](https://flutter.dev/docs/development/platform-integration/platform-views). +[platform view display modes](https://docs.flutter.dev/platform-integration/android/platform-views). For details, see [the Android README](https://pub.dev/packages/google_maps_flutter_android#display-mode). #### Cloud-based map styling diff --git a/packages/google_maps_flutter/google_maps_flutter/lib/src/google_map.dart b/packages/google_maps_flutter/google_maps_flutter/lib/src/google_map.dart index c50ffccfa634..bbd3a425248d 100644 --- a/packages/google_maps_flutter/google_maps_flutter/lib/src/google_map.dart +++ b/packages/google_maps_flutter/google_maps_flutter/lib/src/google_map.dart @@ -52,7 +52,7 @@ class AndroidGoogleMapsFlutter { /// This implementation uses hybrid composition to render the Google Maps /// Widget on Android. This comes at the cost of some performance on Android /// versions below 10. See - /// https://flutter.dev/docs/development/platform-integration/platform-views#performance for more + /// https://docs.flutter.dev/platform-integration/android/platform-views#performance for more /// information. @Deprecated( 'See https://pub.dev/packages/google_maps_flutter_android#display-mode') @@ -70,7 +70,7 @@ class AndroidGoogleMapsFlutter { /// This implementation uses hybrid composition to render the Google Maps /// Widget on Android. This comes at the cost of some performance on Android /// versions below 10. See - /// https://flutter.dev/docs/development/platform-integration/platform-views#performance for more + /// https://docs.flutter.dev/platform-integration/android/platform-views#performance for more /// information. @Deprecated( 'See https://pub.dev/packages/google_maps_flutter_android#display-mode') diff --git a/packages/google_maps_flutter/google_maps_flutter_android/README.md b/packages/google_maps_flutter/google_maps_flutter_android/README.md index 8c482864dfdf..ccef3a0b1277 100644 --- a/packages/google_maps_flutter/google_maps_flutter_android/README.md +++ b/packages/google_maps_flutter/google_maps_flutter_android/README.md @@ -79,7 +79,7 @@ WARNING: `AndroidMapRenderer.legacy` is known to crash apps and is no longer sup and therefore cannot be supported by the Flutter team. [1]: https://pub.dev/packages/google_maps_flutter -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin [3]: https://docs.flutter.dev/development/platform-integration/android/platform-views [4]: https://github.com/flutter/flutter/issues/103686 [5]: https://developers.google.com/maps/documentation/android-sdk/renderer diff --git a/packages/google_maps_flutter/google_maps_flutter_ios/README.md b/packages/google_maps_flutter/google_maps_flutter_ios/README.md index 5594c6f2bfee..6b481626dbca 100644 --- a/packages/google_maps_flutter/google_maps_flutter_ios/README.md +++ b/packages/google_maps_flutter/google_maps_flutter_ios/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/google_maps_flutter -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/method_channel/method_channel_google_maps_flutter.dart b/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/method_channel/method_channel_google_maps_flutter.dart index f57ca28f05fb..308d0e76b85b 100644 --- a/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/method_channel/method_channel_google_maps_flutter.dart +++ b/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/method_channel/method_channel_google_maps_flutter.dart @@ -540,7 +540,7 @@ class MethodChannelGoogleMapsFlutter extends GoogleMapsFlutterPlatform { /// This implementation uses hybrid composition to render the Google Maps /// Widget on Android. This comes at the cost of some performance on Android /// versions below 10. See - /// https://flutter.dev/docs/development/platform-integration/platform-views#performance for more + /// https://docs.flutter.dev/platform-integration/android/platform-views#performance for more /// information. /// /// If set to true, the google map widget should be built with diff --git a/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/bitmap.dart b/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/bitmap.dart index fe3f9d8a0f7e..71b5e267f643 100644 --- a/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/bitmap.dart +++ b/packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/types/bitmap.dart @@ -174,7 +174,7 @@ class BitmapDescriptor { /// Creates a [BitmapDescriptor] from an asset image. /// /// Asset images in flutter are stored per: - /// https://flutter.dev/docs/development/ui/assets-and-images#declaring-resolution-aware-image-assets + /// https://flutter.dev/to/resolution-aware-images /// This method takes into consideration various asset resolutions /// and scales the images to the right resolution depending on the dpi. /// Set `mipmaps` to false to load the exact dpi version of the image, @@ -392,7 +392,7 @@ abstract class MapBitmap extends BitmapDescriptor { /// instances of this class. It dynamically resolves the correct asset version /// based on the device's pixel ratio, ensuring optimal resolution without /// manual configuration. -/// See https://docs.flutter.dev/ui/assets/assets-and-images#resolution-aware +/// See https://flutter.dev/to/resolution-aware-images /// for more information on resolution-aware assets. /// /// Note that it's important to either provide high-resolution diff --git a/packages/google_maps_flutter/google_maps_flutter_web/README.md b/packages/google_maps_flutter/google_maps_flutter_web/README.md index 22acc45a8074..c87e1082025d 100644 --- a/packages/google_maps_flutter/google_maps_flutter_web/README.md +++ b/packages/google_maps_flutter/google_maps_flutter_web/README.md @@ -6,7 +6,7 @@ Powered by [a14n](https://github.com/a14n)'s [google_maps](https://pub.dev/packa ## Usage -This package is [endorsed](https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin), +This package is [endorsed](https://flutter.dev/to/endorsed-federated-plugin), which means you can simply use `google_maps_flutter` normally. This package will be automatically included in your app when you do, so you do not need to add it to your `pubspec.yaml`. diff --git a/packages/google_maps_flutter/google_maps_flutter_web/example/README.md b/packages/google_maps_flutter/google_maps_flutter_web/example/README.md index 4a01887de7fb..932e9f227cbe 100644 --- a/packages/google_maps_flutter/google_maps_flutter_web/example/README.md +++ b/packages/google_maps_flutter/google_maps_flutter_web/example/README.md @@ -15,5 +15,5 @@ This package uses `package:integration_test` to run its tests in a web browser. See [Plugin Tests > Web Tests](https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#web-tests) in the Flutter documentation for instructions to set up and run the tests in this package. -Check [flutter.dev > Integration testing](https://flutter.dev/docs/testing/integration-tests) +Check [flutter.dev > Integration testing](https://docs.flutter.dev/testing/integration-tests) for more info. diff --git a/packages/google_sign_in/google_sign_in_android/README.md b/packages/google_sign_in/google_sign_in_android/README.md index 7a5bcabbb160..aeaeb9df6e93 100644 --- a/packages/google_sign_in/google_sign_in_android/README.md +++ b/packages/google_sign_in/google_sign_in_android/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/google_sign_in -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/google_sign_in/google_sign_in_ios/README.md b/packages/google_sign_in/google_sign_in_ios/README.md index 20cf221aeb56..3fe0f7a1307d 100644 --- a/packages/google_sign_in/google_sign_in_ios/README.md +++ b/packages/google_sign_in/google_sign_in_ios/README.md @@ -14,7 +14,7 @@ should add it to your `pubspec.yaml` as usual. ### macOS setup The GoogleSignIn SDK requires keychain sharing to be enabled, by [adding the -following entitlements](https://docs.flutter.dev/platform-integration/macos/building#entitlements-and-the-app-sandbox): +following entitlements](https://flutter.dev/to/macos-entitlements): ```xml keychain-access-groups @@ -27,7 +27,7 @@ Without this step, the plugin will throw a `keychain error` `PlatformException` when trying to sign in. [1]: https://pub.dev/packages/google_sign_in -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin ### iOS integration diff --git a/packages/google_sign_in/google_sign_in_web/README.md b/packages/google_sign_in/google_sign_in_web/README.md index 3c442a263ed6..f51d1bd63590 100644 --- a/packages/google_sign_in/google_sign_in_web/README.md +++ b/packages/google_sign_in/google_sign_in_web/README.md @@ -145,7 +145,7 @@ The GIS SDK limits authorization token duration to one hour (3600 seconds). ### Import the package -This package is [endorsed](https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin), +This package is [endorsed](https://flutter.dev/to/endorsed-federated-plugin), which means you can simply use `google_sign_in` normally. This package will be automatically included in your app when you do, so you do not need to add it to your `pubspec.yaml`. diff --git a/packages/google_sign_in/google_sign_in_web/example/README.md b/packages/google_sign_in/google_sign_in_web/example/README.md index 5977f3b54a93..9140bb80e8a6 100644 --- a/packages/google_sign_in/google_sign_in_web/example/README.md +++ b/packages/google_sign_in/google_sign_in_web/example/README.md @@ -15,7 +15,7 @@ This package uses `package:integration_test` to run its tests in a web browser. See [Plugin Tests > Web Tests](https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#web-tests) in the Flutter documentation for instructions to set up and run the tests in this package. -Check [flutter.dev > Integration testing](https://flutter.dev/docs/testing/integration-tests) +Check [flutter.dev > Integration testing](https://docs.flutter.dev/testing/integration-tests) for more info. # button_tester.dart diff --git a/packages/image_picker/image_picker/README.md b/packages/image_picker/image_picker/README.md index 1c800b49c8e6..866adf58118e 100755 --- a/packages/image_picker/image_picker/README.md +++ b/packages/image_picker/image_picker/README.md @@ -10,10 +10,7 @@ and taking new pictures with the camera. |-------------|---------|---------|-------|--------|---------------------------------|-------------| | **Support** | SDK 21+ | iOS 12+ | Any | 10.14+ | [See `image_picker_for_web`](https://pub.dev/packages/image_picker_for_web#limitations-on-the-web-platform) | Windows 10+ | -## Installation - -First, add `image_picker` as a -[dependency in your pubspec.yaml file](https://flutter.dev/docs/development/platform-integration/platform-channels). +## Setup ### iOS @@ -158,7 +155,8 @@ encourage the community to build packages that implement Since the macOS implementation uses `file_selector`, you will need to add a filesystem access -[entitlement](https://docs.flutter.dev/platform-integration/macos/building#entitlements-and-the-app-sandbox): +[entitlement](https://flutter.dev/to/macos-entitlements): + ```xml com.apple.security.files.user-selected.read-only diff --git a/packages/image_picker/image_picker_android/README.md b/packages/image_picker/image_picker_android/README.md index 14cbc4891260..a0bcc70294d6 100755 --- a/packages/image_picker/image_picker_android/README.md +++ b/packages/image_picker/image_picker_android/README.md @@ -36,5 +36,5 @@ import 'package:image_picker_platform_interface/image_picker_platform_interface. In addition, `ImagePickerAndroid.useAndroidPhotoPicker` must be set to `true` to use the `limit` functionality. It is implemented based on [`ActivityResultContract`][3], so it can only be ensured to take effect on Android 13 or above. Otherwise, it depends on whether the corresponding system app supports it. [1]: https://pub.dev/packages/image_picker -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin [3]: https://developer.android.google.cn/reference/kotlin/androidx/activity/result/contract/ActivityResultContracts.PickMultipleVisualMedia diff --git a/packages/image_picker/image_picker_for_web/README.md b/packages/image_picker/image_picker_for_web/README.md index 9e581d550dd9..0e82d9887f28 100644 --- a/packages/image_picker/image_picker_for_web/README.md +++ b/packages/image_picker/image_picker_for_web/README.md @@ -57,7 +57,7 @@ The argument `maxDuration` is not supported on the web. ### Import the package -This package is [endorsed](https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin), +This package is [endorsed](https://flutter.dev/to/endorsed-federated-plugin), which means you can simply use `image_picker` normally. This package will be automatically included in your app when you do, so you do not need to add it to your `pubspec.yaml`. diff --git a/packages/image_picker/image_picker_for_web/example/README.md b/packages/image_picker/image_picker_for_web/example/README.md index 4a01887de7fb..932e9f227cbe 100644 --- a/packages/image_picker/image_picker_for_web/example/README.md +++ b/packages/image_picker/image_picker_for_web/example/README.md @@ -15,5 +15,5 @@ This package uses `package:integration_test` to run its tests in a web browser. See [Plugin Tests > Web Tests](https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#web-tests) in the Flutter documentation for instructions to set up and run the tests in this package. -Check [flutter.dev > Integration testing](https://flutter.dev/docs/testing/integration-tests) +Check [flutter.dev > Integration testing](https://docs.flutter.dev/testing/integration-tests) for more info. diff --git a/packages/image_picker/image_picker_ios/README.md b/packages/image_picker/image_picker_ios/README.md index 7375ecec55d8..02f126bbcf36 100755 --- a/packages/image_picker/image_picker_ios/README.md +++ b/packages/image_picker/image_picker_ios/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/image_picker -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/image_picker/image_picker_linux/README.md b/packages/image_picker/image_picker_linux/README.md index 1f1833e81e62..55b58356c707 100644 --- a/packages/image_picker/image_picker_linux/README.md +++ b/packages/image_picker/image_picker_linux/README.md @@ -24,4 +24,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/image_picker -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/image_picker/image_picker_macos/README.md b/packages/image_picker/image_picker_macos/README.md index ec76d85e26be..9aa87453532e 100644 --- a/packages/image_picker/image_picker_macos/README.md +++ b/packages/image_picker/image_picker_macos/README.md @@ -33,6 +33,6 @@ need to add a read-only file acces [entitlement][4]: ``` [1]: https://pub.dev/packages/image_picker -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin [3]: https://pub.dev/packages/file_selector -[4]: https://docs.flutter.dev/platform-integration/macos/building#entitlements-and-the-app-sandbox +[4]: https://flutter.dev/to/macos-entitlements diff --git a/packages/image_picker/image_picker_windows/README.md b/packages/image_picker/image_picker_windows/README.md index 1aa30b17fc0b..d071b2a6f43f 100644 --- a/packages/image_picker/image_picker_windows/README.md +++ b/packages/image_picker/image_picker_windows/README.md @@ -24,4 +24,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/image_picker -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/in_app_purchase/in_app_purchase_android/README.md b/packages/in_app_purchase/in_app_purchase_android/README.md index f5cdbf9e0e95..92257cd2ba6e 100644 --- a/packages/in_app_purchase/in_app_purchase_android/README.md +++ b/packages/in_app_purchase/in_app_purchase_android/README.md @@ -37,5 +37,5 @@ If you would like to contribute to the plugin, check out our [1]: https://pub.dev/packages/in_app_purchase -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin [3]: https://pub.dev/packages/in_app_purchase_android/install diff --git a/packages/in_app_purchase/in_app_purchase_storekit/README.md b/packages/in_app_purchase/in_app_purchase_storekit/README.md index 779d81fc3cf6..3c7b5fac08d5 100644 --- a/packages/in_app_purchase/in_app_purchase_storekit/README.md +++ b/packages/in_app_purchase/in_app_purchase_storekit/README.md @@ -27,5 +27,5 @@ If you would like to contribute to the plugin, check out our [1]: ../in_app_purchase -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin [3]: https://pub.dev/packages/in_app_purchase_storekit/install diff --git a/packages/integration_test/README.md b/packages/integration_test/README.md index 83c4adb500f0..1f9442a6beec 100644 --- a/packages/integration_test/README.md +++ b/packages/integration_test/README.md @@ -15,4 +15,4 @@ dev_dependencies: ``` For the latest documentation, see [Integration -testing](https://flutter.dev/docs/testing/integration-tests). +testing](https://docs.flutter.dev/testing/integration-tests). diff --git a/packages/ios_platform_images/example/ios/RunnerTests/UIImage+ios_platform_imagesTests.m b/packages/ios_platform_images/example/ios/RunnerTests/UIImage+ios_platform_imagesTests.m index d107ac4bd34f..4e176e84a5ca 100644 --- a/packages/ios_platform_images/example/ios/RunnerTests/UIImage+ios_platform_imagesTests.m +++ b/packages/ios_platform_images/example/ios/RunnerTests/UIImage+ios_platform_imagesTests.m @@ -21,7 +21,7 @@ - (void)testMultiResolutionImageUsesBest { const double height2x = 250; // The height of assets/2.0x/multisize.png. // Loading assets should get the best available asset for the screen scale when resolution-aware // assets are available (and the example app has 1x and 2x for this asset). See - // https://docs.flutter.dev/ui/assets/assets-and-images#resolution-aware + // https://flutter.dev/to/resolution-aware-images if (UIScreen.mainScreen.scale > 1.0) { XCTAssertEqualWithAccuracy(image.size.height, height2x, 0.00001); } else { diff --git a/packages/ios_platform_images/ios/ios_platform_images/Sources/ios_platform_images/UIImageIosPlatformImages.swift b/packages/ios_platform_images/ios/ios_platform_images/Sources/ios_platform_images/UIImageIosPlatformImages.swift index 2e9cdefe6731..af7f34972228 100644 --- a/packages/ios_platform_images/ios/ios_platform_images/Sources/ios_platform_images/UIImageIosPlatformImages.swift +++ b/packages/ios_platform_images/ios/ios_platform_images/Sources/ios_platform_images/UIImageIosPlatformImages.swift @@ -19,7 +19,7 @@ import UIKit /// `[UIImage flutterImageWithName:@"assets/foo.png"]` will load /// "assets/2.0x/foo.png". /// - /// See also https://flutter.dev/docs/development/ui/assets-and-images + /// See also https://docs.flutter.dev/ui/assets/assets-and-images /// /// Note: We don't yet support images from package dependencies (ex. /// `AssetImage('icons/heart.png', package: 'my_icons')`). diff --git a/packages/local_auth/local_auth_android/README.md b/packages/local_auth/local_auth_android/README.md index 047e82ef64b3..d9e3b8bba796 100644 --- a/packages/local_auth/local_auth_android/README.md +++ b/packages/local_auth/local_auth_android/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/local_auth -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/local_auth/local_auth_darwin/README.md b/packages/local_auth/local_auth_darwin/README.md index 46cea6593921..6c9309205429 100644 --- a/packages/local_auth/local_auth_darwin/README.md +++ b/packages/local_auth/local_auth_darwin/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/local_auth -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/local_auth/local_auth_windows/README.md b/packages/local_auth/local_auth_windows/README.md index 64c5446f77c1..dd6c4aca603c 100644 --- a/packages/local_auth/local_auth_windows/README.md +++ b/packages/local_auth/local_auth_windows/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/local_auth -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/multicast_dns/README.md b/packages/multicast_dns/README.md index c161b6fd98d4..f30ce16936e8 100644 --- a/packages/multicast_dns/README.md +++ b/packages/multicast_dns/README.md @@ -9,8 +9,5 @@ A Dart package to do service discovery over multicast DNS (mDNS), Bonjour, and A ## Usage -To use this package, add `multicast_dns` as a -[dependency in your pubspec.yaml file](https://pub.dev/packages/multicast_dns/install). - [The example](https://pub.dev/packages/multicast_dns/example) demonstrates how to use the `MDnsClient` Dart class in your code. diff --git a/packages/palette_generator/README.md b/packages/palette_generator/README.md index 3d378811745d..9dbfd45e9b53 100644 --- a/packages/palette_generator/README.md +++ b/packages/palette_generator/README.md @@ -5,11 +5,6 @@ A Flutter package to extract prominent colors from an Image, typically used to find colors for a user interface. -## Usage - -To use this package, add `palette_generator` as a -[dependency in your pubspec.yaml file](https://flutter.io/platform-plugins/). - ## Example Import the library via diff --git a/packages/path_provider/path_provider/README.md b/packages/path_provider/path_provider/README.md index 3c0e5b2fa867..5a4bfe4a6ce4 100644 --- a/packages/path_provider/path_provider/README.md +++ b/packages/path_provider/path_provider/README.md @@ -11,10 +11,6 @@ Not all methods are supported on all platforms. |-------------|---------|-------|-------|--------|-------------| | **Support** | SDK 16+ | 12.0+ | Any | 10.14+ | Windows 10+ | -## Usage - -To use this plugin, add `path_provider` as a [dependency in your pubspec.yaml file](https://flutter.dev/docs/development/platform-integration/platform-channels). - ## Example ```dart diff --git a/packages/path_provider/path_provider_android/README.md b/packages/path_provider/path_provider_android/README.md index 3bfc4255f08b..a92c41e2b932 100644 --- a/packages/path_provider/path_provider_android/README.md +++ b/packages/path_provider/path_provider_android/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/path_provider -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/path_provider/path_provider_foundation/README.md b/packages/path_provider/path_provider_foundation/README.md index 5a01ace4b1e3..4aff670a1e6d 100644 --- a/packages/path_provider/path_provider_foundation/README.md +++ b/packages/path_provider/path_provider_foundation/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/path_provider -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/path_provider/path_provider_linux/README.md b/packages/path_provider/path_provider_linux/README.md index 12c5c51443ff..745bbcf7a476 100644 --- a/packages/path_provider/path_provider_linux/README.md +++ b/packages/path_provider/path_provider_linux/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/path_provider -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/path_provider/path_provider_windows/README.md b/packages/path_provider/path_provider_windows/README.md index 2bdeac409936..0aeb40395d8b 100644 --- a/packages/path_provider/path_provider_windows/README.md +++ b/packages/path_provider/path_provider_windows/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/path_provider -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/pigeon/README.md b/packages/pigeon/README.md index 2eb938092a13..3a46c9707c68 100644 --- a/packages/pigeon/README.md +++ b/packages/pigeon/README.md @@ -21,7 +21,7 @@ Currently pigeon supports generating: ### Supported Datatypes Pigeon uses the `StandardMessageCodec` so it supports -[any datatype platform channels support](https://flutter.dev/docs/development/platform-integration/platform-channels#codec). +[any datatype platform channels support](https://flutter.dev/to/platform-channels-codec). Custom classes, nested datatypes, and enums are also supported. diff --git a/packages/pigeon/example/app/android/.gitignore b/packages/pigeon/example/app/android/.gitignore index 6f568019d3c6..55afd919c659 100644 --- a/packages/pigeon/example/app/android/.gitignore +++ b/packages/pigeon/example/app/android/.gitignore @@ -7,7 +7,7 @@ gradle-wrapper.jar GeneratedPluginRegistrant.java # Remember to never publicly share your keystore. -# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app +# See https://flutter.dev/to/reference-keystore key.properties **/*.keystore **/*.jks diff --git a/packages/pigeon/platform_tests/alternate_language_test_plugin/example/android/.gitignore b/packages/pigeon/platform_tests/alternate_language_test_plugin/example/android/.gitignore index 6f568019d3c6..55afd919c659 100644 --- a/packages/pigeon/platform_tests/alternate_language_test_plugin/example/android/.gitignore +++ b/packages/pigeon/platform_tests/alternate_language_test_plugin/example/android/.gitignore @@ -7,7 +7,7 @@ gradle-wrapper.jar GeneratedPluginRegistrant.java # Remember to never publicly share your keystore. -# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app +# See https://flutter.dev/to/reference-keystore key.properties **/*.keystore **/*.jks diff --git a/packages/pigeon/platform_tests/test_plugin/example/android/.gitignore b/packages/pigeon/platform_tests/test_plugin/example/android/.gitignore index 6f568019d3c6..55afd919c659 100644 --- a/packages/pigeon/platform_tests/test_plugin/example/android/.gitignore +++ b/packages/pigeon/platform_tests/test_plugin/example/android/.gitignore @@ -7,7 +7,7 @@ gradle-wrapper.jar GeneratedPluginRegistrant.java # Remember to never publicly share your keystore. -# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app +# See https://flutter.dev/to/reference-keystore key.properties **/*.keystore **/*.jks diff --git a/packages/pointer_interceptor/pointer_interceptor/example/README.md b/packages/pointer_interceptor/pointer_interceptor/example/README.md index 9fddf8c0a09f..d2d611705822 100644 --- a/packages/pointer_interceptor/pointer_interceptor/example/README.md +++ b/packages/pointer_interceptor/pointer_interceptor/example/README.md @@ -14,4 +14,4 @@ The command above will run the integration tests for this package. Make sure that you have `chromedriver` running in port `4444`. -Read more on: [flutter.dev > Docs > Testing & debugging > Integration testing](https://flutter.dev/docs/testing/integration-tests). +Read more on: [flutter.dev > Docs > Testing & debugging > Integration testing](https://docs.flutter.dev/testing/integration-tests). diff --git a/packages/pointer_interceptor/pointer_interceptor_ios/README.md b/packages/pointer_interceptor/pointer_interceptor_ios/README.md index ca30d6d9defa..9d0807c190d1 100644 --- a/packages/pointer_interceptor/pointer_interceptor_ios/README.md +++ b/packages/pointer_interceptor/pointer_interceptor_ios/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/pointer_interceptor -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin \ No newline at end of file +[2]: https://flutter.dev/to/endorsed-federated-plugin \ No newline at end of file diff --git a/packages/pointer_interceptor/pointer_interceptor_web/README.md b/packages/pointer_interceptor/pointer_interceptor_web/README.md index 45db9bdcbc7d..063c9236a3ef 100644 --- a/packages/pointer_interceptor/pointer_interceptor_web/README.md +++ b/packages/pointer_interceptor/pointer_interceptor_web/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/pointer_interceptor -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin \ No newline at end of file +[2]: https://flutter.dev/to/endorsed-federated-plugin \ No newline at end of file diff --git a/packages/quick_actions/quick_actions_android/README.md b/packages/quick_actions/quick_actions_android/README.md index e42c6a6e39b5..cb4a8e08826a 100644 --- a/packages/quick_actions/quick_actions_android/README.md +++ b/packages/quick_actions/quick_actions_android/README.md @@ -16,5 +16,5 @@ should add it to your `pubspec.yaml` as usual. If you would like to contribute to the plugin, check out our [contribution guide][3]. [1]: https://pub.dev/packages/quick_actions -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin [3]: https://github.com/flutter/packages/blob/main/CONTRIBUTING.md diff --git a/packages/quick_actions/quick_actions_ios/README.md b/packages/quick_actions/quick_actions_ios/README.md index e679fa01b4a7..e81fc6a4de07 100644 --- a/packages/quick_actions/quick_actions_ios/README.md +++ b/packages/quick_actions/quick_actions_ios/README.md @@ -16,5 +16,5 @@ should add it to your `pubspec.yaml` as usual. If you would like to contribute to the plugin, check out our [contribution guide][3]. [1]: https://pub.dev/packages/quick_actions -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin [3]: https://github.com/flutter/packages/blob/main/CONTRIBUTING.md diff --git a/packages/rfw/example/hello/android/.gitignore b/packages/rfw/example/hello/android/.gitignore index 6f568019d3c6..55afd919c659 100644 --- a/packages/rfw/example/hello/android/.gitignore +++ b/packages/rfw/example/hello/android/.gitignore @@ -7,7 +7,7 @@ gradle-wrapper.jar GeneratedPluginRegistrant.java # Remember to never publicly share your keystore. -# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app +# See https://flutter.dev/to/reference-keystore key.properties **/*.keystore **/*.jks diff --git a/packages/rfw/example/local/android/.gitignore b/packages/rfw/example/local/android/.gitignore index 6f568019d3c6..55afd919c659 100644 --- a/packages/rfw/example/local/android/.gitignore +++ b/packages/rfw/example/local/android/.gitignore @@ -7,7 +7,7 @@ gradle-wrapper.jar GeneratedPluginRegistrant.java # Remember to never publicly share your keystore. -# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app +# See https://flutter.dev/to/reference-keystore key.properties **/*.keystore **/*.jks diff --git a/packages/rfw/example/remote/android/.gitignore b/packages/rfw/example/remote/android/.gitignore index 6f568019d3c6..55afd919c659 100644 --- a/packages/rfw/example/remote/android/.gitignore +++ b/packages/rfw/example/remote/android/.gitignore @@ -7,7 +7,7 @@ gradle-wrapper.jar GeneratedPluginRegistrant.java # Remember to never publicly share your keystore. -# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app +# See https://flutter.dev/to/reference-keystore key.properties **/*.keystore **/*.jks diff --git a/packages/shared_preferences/shared_preferences/README.md b/packages/shared_preferences/shared_preferences/README.md index 735959662392..1da1215df9ea 100644 --- a/packages/shared_preferences/shared_preferences/README.md +++ b/packages/shared_preferences/shared_preferences/README.md @@ -16,7 +16,6 @@ Supported data types are `int`, `double`, `bool`, `String` and `List`. | **Support** | SDK 16+ | 12.0+ | Any | 10.14+ | Any | Any | ## Usage -To use this plugin, add `shared_preferences` as a [dependency in your pubspec.yaml file](https://flutter.dev/docs/development/platform-integration/platform-channels). ### Examples Here are small examples that show you how to use the API. diff --git a/packages/shared_preferences/shared_preferences/example/android/.gitignore b/packages/shared_preferences/shared_preferences/example/android/.gitignore index 0a741cb43d66..8e599af9f211 100644 --- a/packages/shared_preferences/shared_preferences/example/android/.gitignore +++ b/packages/shared_preferences/shared_preferences/example/android/.gitignore @@ -7,5 +7,5 @@ gradle-wrapper.jar GeneratedPluginRegistrant.java # Remember to never publicly share your keystore. -# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app +# See https://flutter.dev/to/reference-keystore key.properties diff --git a/packages/shared_preferences/shared_preferences_android/README.md b/packages/shared_preferences/shared_preferences_android/README.md index 6d30be341c9c..d12b09c068a2 100644 --- a/packages/shared_preferences/shared_preferences_android/README.md +++ b/packages/shared_preferences/shared_preferences_android/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/shared_preferences -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/shared_preferences/shared_preferences_android/example/android/.gitignore b/packages/shared_preferences/shared_preferences_android/example/android/.gitignore index 0a741cb43d66..8e599af9f211 100644 --- a/packages/shared_preferences/shared_preferences_android/example/android/.gitignore +++ b/packages/shared_preferences/shared_preferences_android/example/android/.gitignore @@ -7,5 +7,5 @@ gradle-wrapper.jar GeneratedPluginRegistrant.java # Remember to never publicly share your keystore. -# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app +# See https://flutter.dev/to/reference-keystore key.properties diff --git a/packages/shared_preferences/shared_preferences_foundation/README.md b/packages/shared_preferences/shared_preferences_foundation/README.md index 74dbc4ef0c04..c6da193df8fa 100644 --- a/packages/shared_preferences/shared_preferences_foundation/README.md +++ b/packages/shared_preferences/shared_preferences_foundation/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/shared_preferences -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/shared_preferences/shared_preferences_linux/README.md b/packages/shared_preferences/shared_preferences_linux/README.md index a1bbd9d7ef52..0fe95555e308 100644 --- a/packages/shared_preferences/shared_preferences_linux/README.md +++ b/packages/shared_preferences/shared_preferences_linux/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/shared_preferences -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/shared_preferences/shared_preferences_web/README.md b/packages/shared_preferences/shared_preferences_web/README.md index e9fd0d2caa71..3f45e52e872c 100644 --- a/packages/shared_preferences/shared_preferences_web/README.md +++ b/packages/shared_preferences/shared_preferences_web/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/shared_preferences -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/shared_preferences/shared_preferences_web/example/README.md b/packages/shared_preferences/shared_preferences_web/example/README.md index 4a01887de7fb..932e9f227cbe 100644 --- a/packages/shared_preferences/shared_preferences_web/example/README.md +++ b/packages/shared_preferences/shared_preferences_web/example/README.md @@ -15,5 +15,5 @@ This package uses `package:integration_test` to run its tests in a web browser. See [Plugin Tests > Web Tests](https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#web-tests) in the Flutter documentation for instructions to set up and run the tests in this package. -Check [flutter.dev > Integration testing](https://flutter.dev/docs/testing/integration-tests) +Check [flutter.dev > Integration testing](https://docs.flutter.dev/testing/integration-tests) for more info. diff --git a/packages/shared_preferences/shared_preferences_windows/README.md b/packages/shared_preferences/shared_preferences_windows/README.md index de146eb12953..c1ac6a1ffe39 100644 --- a/packages/shared_preferences/shared_preferences_windows/README.md +++ b/packages/shared_preferences/shared_preferences_windows/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/shared_preferences -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/two_dimensional_scrollables/example/android/.gitignore b/packages/two_dimensional_scrollables/example/android/.gitignore index 6f568019d3c6..55afd919c659 100644 --- a/packages/two_dimensional_scrollables/example/android/.gitignore +++ b/packages/two_dimensional_scrollables/example/android/.gitignore @@ -7,7 +7,7 @@ gradle-wrapper.jar GeneratedPluginRegistrant.java # Remember to never publicly share your keystore. -# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app +# See https://flutter.dev/to/reference-keystore key.properties **/*.keystore **/*.jks diff --git a/packages/url_launcher/url_launcher/README.md b/packages/url_launcher/url_launcher/README.md index f79c7ba6f221..5955540491ee 100644 --- a/packages/url_launcher/url_launcher/README.md +++ b/packages/url_launcher/url_launcher/README.md @@ -10,11 +10,7 @@ A Flutter plugin for launching a URL. |-------------|---------|-------|-------|--------|-----|-------------| | **Support** | SDK 16+ | 12.0+ | Any | 10.14+ | Any | Windows 10+ | -## Usage - -To use this plugin, add `url_launcher` as a [dependency in your pubspec.yaml file](https://flutter.dev/platform-plugins/). - -### Example +## Example ```dart diff --git a/packages/url_launcher/url_launcher_android/README.md b/packages/url_launcher/url_launcher_android/README.md index 0a1a3c752efa..801a541a346f 100644 --- a/packages/url_launcher/url_launcher_android/README.md +++ b/packages/url_launcher/url_launcher_android/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/url_launcher -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/url_launcher/url_launcher_ios/README.md b/packages/url_launcher/url_launcher_ios/README.md index 8b8b4fd447ab..e76843293da9 100644 --- a/packages/url_launcher/url_launcher_ios/README.md +++ b/packages/url_launcher/url_launcher_ios/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/url_launcher -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/url_launcher/url_launcher_linux/README.md b/packages/url_launcher/url_launcher_linux/README.md index ad7e9dbf0d97..143e1f3645af 100644 --- a/packages/url_launcher/url_launcher_linux/README.md +++ b/packages/url_launcher/url_launcher_linux/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/url_launcher -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/url_launcher/url_launcher_macos/README.md b/packages/url_launcher/url_launcher_macos/README.md index c164ddeecc45..adfcfcd8b0d0 100644 --- a/packages/url_launcher/url_launcher_macos/README.md +++ b/packages/url_launcher/url_launcher_macos/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/url_launcher -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/url_launcher/url_launcher_web/README.md b/packages/url_launcher/url_launcher_web/README.md index f186d7a49bb8..91d7fb623b0a 100644 --- a/packages/url_launcher/url_launcher_web/README.md +++ b/packages/url_launcher/url_launcher_web/README.md @@ -12,7 +12,7 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/url_launcher -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin ## Limitations on the Web platform diff --git a/packages/url_launcher/url_launcher_web/example/README.md b/packages/url_launcher/url_launcher_web/example/README.md index 4a01887de7fb..932e9f227cbe 100644 --- a/packages/url_launcher/url_launcher_web/example/README.md +++ b/packages/url_launcher/url_launcher_web/example/README.md @@ -15,5 +15,5 @@ This package uses `package:integration_test` to run its tests in a web browser. See [Plugin Tests > Web Tests](https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#web-tests) in the Flutter documentation for instructions to set up and run the tests in this package. -Check [flutter.dev > Integration testing](https://flutter.dev/docs/testing/integration-tests) +Check [flutter.dev > Integration testing](https://docs.flutter.dev/testing/integration-tests) for more info. diff --git a/packages/url_launcher/url_launcher_windows/README.md b/packages/url_launcher/url_launcher_windows/README.md index 4f10def5c4a9..cc31e7e7cc98 100644 --- a/packages/url_launcher/url_launcher_windows/README.md +++ b/packages/url_launcher/url_launcher_windows/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/url_launcher -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/video_player/video_player/README.md b/packages/video_player/video_player/README.md index 55f4d2f614b3..094bdd666996 100644 --- a/packages/video_player/video_player/README.md +++ b/packages/video_player/video_player/README.md @@ -12,9 +12,7 @@ A Flutter plugin for iOS, Android and Web for playing back video on a Widget sur ![The example app running in iOS](https://github.com/flutter/packages/blob/main/packages/video_player/video_player/doc/demo_ipod.gif?raw=true) -## Installation - -First, add `video_player` as a [dependency in your pubspec.yaml file](https://flutter.dev/using-packages/). +## Setup ### iOS @@ -37,7 +35,7 @@ Android Manifest file, located in `/android/app/src/main/AndroidMa If you are using network-based videos, you will need to [add the `com.apple.security.network.client` -entitlement](https://docs.flutter.dev/platform-integration/macos/building#entitlements-and-the-app-sandbox) +entitlement](https://flutter.dev/to/macos-entitlements) ### Web diff --git a/packages/video_player/video_player_android/README.md b/packages/video_player/video_player_android/README.md index 1495f48e30e7..e33436b629df 100644 --- a/packages/video_player/video_player_android/README.md +++ b/packages/video_player/video_player_android/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/video_player -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/video_player/video_player_avfoundation/README.md b/packages/video_player/video_player_avfoundation/README.md index 0e20e3a8c3ad..1325daf0acfa 100644 --- a/packages/video_player/video_player_avfoundation/README.md +++ b/packages/video_player/video_player_avfoundation/README.md @@ -12,4 +12,4 @@ However, if you `import` this package to use any of its APIs directly, you should add it to your `pubspec.yaml` as usual. [1]: https://pub.dev/packages/video_player -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/packages/video_player/video_player_web/README.md b/packages/video_player/video_player_web/README.md index 1868a1052d8d..82e2c6abc280 100644 --- a/packages/video_player/video_player_web/README.md +++ b/packages/video_player/video_player_web/README.md @@ -4,7 +4,7 @@ The web implementation of [`video_player`][1]. ## Usage -This package is [endorsed](https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin), +This package is [endorsed](https://flutter.dev/to/endorsed-federated-plugin), which means you can simply use `video_player` normally. This package will be automatically included in your app when you do, so you do not need to add it to your `pubspec.yaml`. diff --git a/packages/video_player/video_player_web/example/README.md b/packages/video_player/video_player_web/example/README.md index 4a01887de7fb..932e9f227cbe 100644 --- a/packages/video_player/video_player_web/example/README.md +++ b/packages/video_player/video_player_web/example/README.md @@ -15,5 +15,5 @@ This package uses `package:integration_test` to run its tests in a web browser. See [Plugin Tests > Web Tests](https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#web-tests) in the Flutter documentation for instructions to set up and run the tests in this package. -Check [flutter.dev > Integration testing](https://flutter.dev/docs/testing/integration-tests) +Check [flutter.dev > Integration testing](https://docs.flutter.dev/testing/integration-tests) for more info. diff --git a/packages/webview_flutter/webview_flutter/README.md b/packages/webview_flutter/webview_flutter/README.md index 91c201a1584f..81a33821c065 100644 --- a/packages/webview_flutter/webview_flutter/README.md +++ b/packages/webview_flutter/webview_flutter/README.md @@ -14,7 +14,6 @@ On Android the WebView widget is backed by a [WebView](https://developer.android | **Support** | SDK 19+ or 20+ | 12.0+ | ## Usage -Add `webview_flutter` as a [dependency in your pubspec.yaml file](https://pub.dev/packages/webview_flutter/install). You can now display a WebView by: @@ -65,8 +64,8 @@ for more details. ### Android Platform Views This plugin uses -[Platform Views](https://flutter.dev/docs/development/platform-integration/platform-views) to embed -the Android’s WebView within the Flutter app. +[Platform Views](https://docs.flutter.dev/platform-integration/android/platform-views) to +embed the Android's WebView within the Flutter app. You should however make sure to set the correct `minSdkVersion` in `android/app/build.gradle` if it was previously lower than 19: @@ -143,7 +142,7 @@ for more details on iOS features. ### Enable Material Components for Android To use Material Components when the user interacts with input elements in the WebView, -follow the steps described in the [Enabling Material Components instructions](https://flutter.dev/docs/deployment/android#enabling-material-components). +follow the steps described in the [Enabling Material Components instructions](https://docs.flutter.dev/deployment/android#enable-material-components). ### Setting custom headers on POST requests diff --git a/packages/webview_flutter/webview_flutter_android/README.md b/packages/webview_flutter/webview_flutter_android/README.md index 1db03b3afdda..3b3d73306fe2 100644 --- a/packages/webview_flutter/webview_flutter_android/README.md +++ b/packages/webview_flutter/webview_flutter_android/README.md @@ -30,7 +30,7 @@ See: This is the current default mode for versions <23. It ensures that the WebView will display and work as expected, at the cost of some performance. See: -* https://flutter.dev/docs/development/platform-integration/platform-views#performance +* https://docs.flutter.dev/platform-integration/android/platform-views#performance This can be configured for versions >=23 with `AndroidWebViewWidgetCreationParams.displayWithHybridComposition`. See https://pub.dev/packages/webview_flutter#platform-specific-features @@ -89,7 +89,7 @@ dart run build_runner build --delete-conflicting-outputs If you would like to contribute to the plugin, check out our [contribution guide][5]. [1]: https://pub.dev/packages/webview_flutter -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin [3]: https://pub.dev/packages/pigeon [4]: https://pub.dev/packages/mockito [5]: https://github.com/flutter/packages/blob/main/CONTRIBUTING.md diff --git a/packages/webview_flutter/webview_flutter_android/lib/src/android_webview_controller.dart b/packages/webview_flutter/webview_flutter_android/lib/src/android_webview_controller.dart index d2b67145d2bc..3a410362af21 100644 --- a/packages/webview_flutter/webview_flutter_android/lib/src/android_webview_controller.dart +++ b/packages/webview_flutter/webview_flutter_android/lib/src/android_webview_controller.dart @@ -955,7 +955,7 @@ class AndroidWebViewWidgetCreationParams /// For most use cases, this flag should be set to false. Hybrid Composition /// can have performance costs but doesn't have the limitation of rendering to /// an Android SurfaceTexture. See - /// * https://flutter.dev/docs/development/platform-integration/platform-views#performance + /// * https://docs.flutter.dev/platform-integration/android/platform-views#performance /// * https://github.com/flutter/flutter/issues/104889 /// * https://github.com/flutter/flutter/issues/116954 /// diff --git a/packages/webview_flutter/webview_flutter_wkwebview/README.md b/packages/webview_flutter/webview_flutter_wkwebview/README.md index 3cbec14339e7..58f50ca90fc4 100644 --- a/packages/webview_flutter/webview_flutter_wkwebview/README.md +++ b/packages/webview_flutter/webview_flutter_wkwebview/README.md @@ -45,7 +45,7 @@ dart run build_runner build --delete-conflicting-outputs If you would like to contribute to the plugin, check out our [contribution guide][5]. [1]: https://pub.dev/packages/webview_flutter -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin +[2]: https://flutter.dev/to/endorsed-federated-plugin [3]: https://pub.dev/packages/pigeon [4]: https://pub.dev/packages/mockito [5]: https://github.com/flutter/packages/blob/main/CONTRIBUTING.md diff --git a/script/tool/lib/src/common/core.dart b/script/tool/lib/src/common/core.dart index 63208d23f7e4..c75432f98c25 100644 --- a/script/tool/lib/src/common/core.dart +++ b/script/tool/lib/src/common/core.dart @@ -92,7 +92,7 @@ bool isPackage(FileSystemEntity entity) { return false; } // According to - // https://dart.dev/guides/libraries/create-library-packages#what-makes-a-library-package + // https://dart.dev/guides/libraries/create-packages#what-makes-a-library-package // a package must also have a `lib/` directory, but in practice that's not // always true. Some special cases (espresso, flutter_template_images, etc.) // don't have any source, so this deliberately doesn't check that there's a diff --git a/script/tool/lib/src/drive_examples_command.dart b/script/tool/lib/src/drive_examples_command.dart index f3baa5c7cee6..2dc563dbaf83 100644 --- a/script/tool/lib/src/drive_examples_command.dart +++ b/script/tool/lib/src/drive_examples_command.dart @@ -16,7 +16,7 @@ import 'common/repository_package.dart'; const int _exitNoPlatformFlags = 2; const int _exitNoAvailableDevice = 3; -// From https://docs.flutter.dev/testing/integration-tests#running-in-a-browser +// From https://flutter.dev/to/integration-test-on-web const int _chromeDriverPort = 4444; /// A command to run the integration tests for a package's example applications. diff --git a/script/tool/test/readme_check_command_test.dart b/script/tool/test/readme_check_command_test.dart index ab6756e7477c..1cecedd88d0a 100644 --- a/script/tool/test/readme_check_command_test.dart +++ b/script/tool/test/readme_check_command_test.dart @@ -119,7 +119,7 @@ a specialized package that includes platform-specific implementation code for Android and/or iOS. For help getting started with Flutter development, view the -[online documentation](https://flutter.dev/docs), which offers tutorials, +[online documentation](https://docs.flutter.dev), which offers tutorials, samples, guidance on mobile development, and a full API reference. ''');