diff --git a/examples/README.md b/examples/README.md index 5620ebff90..f2b8711016 100644 --- a/examples/README.md +++ b/examples/README.md @@ -22,7 +22,7 @@ Available examples include: - **Platform Channel** The [platform channel app](platform_channel) demonstrates how to connect a Flutter app to platform-specific APIs. For documentation, see - . + . - **Platform Channel Swift** The [platform channel swift app](platform_channel_swift) is the same as [platform diff --git a/examples/flutter_view/README.md b/examples/flutter_view/README.md index 7014615394..c47ba2baed 100644 --- a/examples/flutter_view/README.md +++ b/examples/flutter_view/README.md @@ -6,7 +6,7 @@ Android, the Android and Flutter components are built with Android Studio or Gradle. You can read more about -[accessing platform and third-party services in Flutter](https://flutter.dev/platform-services/). +[accessing platform and third-party services in Flutter](https://flutter.dev/to/platform-channels/). ## iOS diff --git a/examples/platform_channel/README.md b/examples/platform_channel/README.md index da81169a69..69e9a232ce 100644 --- a/examples/platform_channel/README.md +++ b/examples/platform_channel/README.md @@ -3,7 +3,7 @@ This project demonstrates how to connect a Flutter app to platform-specific services. You can read more about -[accessing platform and third-party services in Flutter](https://flutter.dev/platform-channels/). +[accessing platform and third-party services in Flutter](https://flutter.dev/to/platform-channels/). ## iOS You can use the commands `flutter build` and `flutter run` from the app's root diff --git a/examples/platform_channel_swift/README.md b/examples/platform_channel_swift/README.md index da415d80ba..81e477afab 100644 --- a/examples/platform_channel_swift/README.md +++ b/examples/platform_channel_swift/README.md @@ -5,7 +5,7 @@ services on iOS using Swift. The equivalent version of this project in Objective C is found in examples/platform_channel. You can read more about -[accessing platform and third-party services in Flutter](https://flutter.dev/platform-channels/). +[accessing platform and third-party services in Flutter](https://flutter.dev/to/platform-channels/). ## iOS diff --git a/packages/flutter_driver/lib/fix_data/fix_flutter_driver/fix_data.yaml b/packages/flutter_driver/lib/fix_data/fix_flutter_driver/fix_data.yaml index b4c0a66d92..bc6bf25bbe 100644 --- a/packages/flutter_driver/lib/fix_data/fix_flutter_driver/fix_data.yaml +++ b/packages/flutter_driver/lib/fix_data/fix_flutter_driver/fix_data.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/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/flutter_driver/lib/fix_data/template.yaml b/packages/flutter_driver/lib/fix_data/template.yaml index e9334fe9a3..600b9f1888 100644 --- a/packages/flutter_driver/lib/fix_data/template.yaml +++ b/packages/flutter_driver/lib/fix_data/template.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/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/flutter_goldens/lib/flutter_goldens.dart b/packages/flutter_goldens/lib/flutter_goldens.dart index e88aece5e6..b98cf88cba 100644 --- a/packages/flutter_goldens/lib/flutter_goldens.dart +++ b/packages/flutter_goldens/lib/flutter_goldens.dart @@ -53,7 +53,7 @@ Future testExecutable(FutureOr Function() testMain, {String? namePre 'bootstrap logic sets "goldenFileComparator" to a LocalFileComparator. It ' 'appears in this instance however that the "goldenFileComparator" is a ' '${goldenFileComparator.runtimeType}.\n' - 'See also: https://api.flutter.dev/flutter/flutter_test/flutter_test-library.html', + 'See also: https://flutter.dev/to/flutter-test-docs', ); const Platform platform = LocalPlatform(); const FileSystem fs = LocalFileSystem(); diff --git a/packages/flutter_localizations/lib/src/l10n/README.md b/packages/flutter_localizations/lib/src/l10n/README.md index 4ff175ea1c..7c5fffca7f 100644 --- a/packages/flutter_localizations/lib/src/l10n/README.md +++ b/packages/flutter_localizations/lib/src/l10n/README.md @@ -9,7 +9,7 @@ flutter_localizations package. If you're looking for information about internationalizing Flutter apps in general, see the -[Internationalizing Flutter Apps](https://flutter.dev/tutorials/internationalization/) tutorial. +[Internationalizing Flutter Apps](https://flutter.dev/to/internationalization) tutorial. ### Translations for one locale: .arb files @@ -216,7 +216,7 @@ If you have feedback about the translations please ### See Also -The [Internationalizing Flutter Apps](https://flutter.dev/tutorials/internationalization/) +The [Internationalizing Flutter Apps](https://flutter.dev/to/internationalization) tutorial describes how to use the internationalization APIs in an ordinary Flutter app. diff --git a/packages/flutter_localizations/lib/src/material_localizations.dart b/packages/flutter_localizations/lib/src/material_localizations.dart index 4c6189f374..6d1d139b97 100644 --- a/packages/flutter_localizations/lib/src/material_localizations.dart +++ b/packages/flutter_localizations/lib/src/material_localizations.dart @@ -64,7 +64,7 @@ import 'widgets_localizations.dart'; /// See also: /// /// * The Flutter Internationalization Tutorial, -/// . +/// . /// * [DefaultMaterialLocalizations], which only provides US English translations. abstract class GlobalMaterialLocalizations implements MaterialLocalizations { /// Initializes an object that defines the material widgets' localized strings diff --git a/packages/flutter_test/lib/fix_data/fix_flutter_test/fix_animation_sheet_builder.yaml b/packages/flutter_test/lib/fix_data/fix_flutter_test/fix_animation_sheet_builder.yaml index c38e5076f1..3ca52366b6 100644 --- a/packages/flutter_test/lib/fix_data/fix_flutter_test/fix_animation_sheet_builder.yaml +++ b/packages/flutter_test/lib/fix_data/fix_flutter_test/fix_animation_sheet_builder.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/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/flutter_test/lib/fix_data/fix_flutter_test/fix_binding/fix_automated_test_widgets_flutter_binding.yaml b/packages/flutter_test/lib/fix_data/fix_flutter_test/fix_binding/fix_automated_test_widgets_flutter_binding.yaml index b5305ddd96..aff8a64461 100644 --- a/packages/flutter_test/lib/fix_data/fix_flutter_test/fix_binding/fix_automated_test_widgets_flutter_binding.yaml +++ b/packages/flutter_test/lib/fix_data/fix_flutter_test/fix_binding/fix_automated_test_widgets_flutter_binding.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/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/flutter_test/lib/fix_data/fix_flutter_test/fix_binding/fix_live_test_widgets_flutter_binding.yaml b/packages/flutter_test/lib/fix_data/fix_flutter_test/fix_binding/fix_live_test_widgets_flutter_binding.yaml index 29ba9f4a61..49ebebbb07 100644 --- a/packages/flutter_test/lib/fix_data/fix_flutter_test/fix_binding/fix_live_test_widgets_flutter_binding.yaml +++ b/packages/flutter_test/lib/fix_data/fix_flutter_test/fix_binding/fix_live_test_widgets_flutter_binding.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/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/flutter_test/lib/fix_data/fix_flutter_test/fix_binding/fix_test_widgets_flutter_binding.yaml b/packages/flutter_test/lib/fix_data/fix_flutter_test/fix_binding/fix_test_widgets_flutter_binding.yaml index aaefa4310c..bda81edf00 100644 --- a/packages/flutter_test/lib/fix_data/fix_flutter_test/fix_binding/fix_test_widgets_flutter_binding.yaml +++ b/packages/flutter_test/lib/fix_data/fix_flutter_test/fix_binding/fix_test_widgets_flutter_binding.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/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/flutter_test/lib/fix_data/fix_flutter_test/fix_semantics_controller.yaml b/packages/flutter_test/lib/fix_data/fix_flutter_test/fix_semantics_controller.yaml index a2842bf311..d5740c8f7b 100644 --- a/packages/flutter_test/lib/fix_data/fix_flutter_test/fix_semantics_controller.yaml +++ b/packages/flutter_test/lib/fix_data/fix_flutter_test/fix_semantics_controller.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/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/flutter_test/lib/fix_data/fix_flutter_test/fix_widget_tester.yaml b/packages/flutter_test/lib/fix_data/fix_flutter_test/fix_widget_tester.yaml index 47a8b80092..aad4d5967a 100644 --- a/packages/flutter_test/lib/fix_data/fix_flutter_test/fix_widget_tester.yaml +++ b/packages/flutter_test/lib/fix_data/fix_flutter_test/fix_widget_tester.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/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/flutter_test/lib/fix_data/template.yaml b/packages/flutter_test/lib/fix_data/template.yaml index 87c9f4f2e6..6533901311 100644 --- a/packages/flutter_test/lib/fix_data/template.yaml +++ b/packages/flutter_test/lib/fix_data/template.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/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/flutter_test/lib/src/widget_tester.dart b/packages/flutter_test/lib/src/widget_tester.dart index dec236910e..0dcda2abdc 100644 --- a/packages/flutter_test/lib/src/widget_tester.dart +++ b/packages/flutter_test/lib/src/widget_tester.dart @@ -122,8 +122,8 @@ E? _lastWhereOrNull(Iterable list, bool Function(E) test) { /// When [experimentalLeakTesting] is set, it is used to leak track objects created /// during test execution. /// Otherwise [LeakTesting.settings] is used. -/// Adjust [LeakTesting.settings] in flutter_test_config.dart -/// (see https://api.flutter.dev/flutter/flutter_test/flutter_test-library.html) +/// Adjust [LeakTesting.settings] in `flutter_test_config.dart` +/// (see https://flutter.dev/to/flutter-test-docs) /// for the entire package or folder, or in the test's main for a test file /// (don't use [setUp] or [setUpAll]). /// To turn off leak tracking just for one test, set [experimentalLeakTesting] to diff --git a/packages/integration_test/README.md b/packages/integration_test/README.md index a53f7e609d..5d7eaa78fa 100644 --- a/packages/integration_test/README.md +++ b/packages/integration_test/README.md @@ -85,8 +85,8 @@ flutter drive \ ### Web -Make sure you have [enabled web support](https://flutter.dev/docs/get-started/web#set-up) -then [download and run](https://docs.flutter.dev/cookbook/testing/integration/introduction#5b-web) +Make sure you have [enabled web support](https://flutter.dev/to/add-web-support) +then [download and run](https://flutter.dev/to/integration-test-on-web) the web driver in another process. Use following command to execute the tests: diff --git a/packages/integration_test/example/android/.gitignore b/packages/integration_test/example/android/.gitignore index 0a741cb43d..8e599af9f2 100644 --- a/packages/integration_test/example/android/.gitignore +++ b/packages/integration_test/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/integration_test/lib/fix_data/fix_integration_test/fix_binding/fix_integration_test_widgets_flutter_binding.yaml b/packages/integration_test/lib/fix_data/fix_integration_test/fix_binding/fix_integration_test_widgets_flutter_binding.yaml index 12c5164ee3..ff395105c2 100644 --- a/packages/integration_test/lib/fix_data/fix_integration_test/fix_binding/fix_integration_test_widgets_flutter_binding.yaml +++ b/packages/integration_test/lib/fix_data/fix_integration_test/fix_binding/fix_integration_test_widgets_flutter_binding.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/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/integration_test/lib/fix_data/template.yaml b/packages/integration_test/lib/fix_data/template.yaml index 4a4e7d48ea..61a58dac32 100644 --- a/packages/integration_test/lib/fix_data/template.yaml +++ b/packages/integration_test/lib/fix_data/template.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/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/integration_test/lib/integration_test.dart b/packages/integration_test/lib/integration_test.dart index 244cfbd98e..f8646bbf90 100644 --- a/packages/integration_test/lib/integration_test.dart +++ b/packages/integration_test/lib/integration_test.dart @@ -75,7 +75,7 @@ If you're running the tests with Android instrumentation or XCTest, this means that you are not capturing test results properly! See the following link for how to set up the integration_test plugin: -https://flutter.dev/docs/testing/integration-tests#testing-on-firebase-test-lab +https://docs.flutter.dev/testing/integration-tests '''); } });