Skip to content

Commit

Permalink
Update flutter.dev links from misc packages to more permanent destina…
Browse files Browse the repository at this point in the history
…tions (#150532)

Contributes to flutter/website#10363
  • Loading branch information
parlough authored Jun 20, 2024
1 parent b095364 commit c633398
Show file tree
Hide file tree
Showing 22 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<https://flutter.dev/platform-channels/>.
<https://flutter.dev/to/platform-channels/>.

- **Platform Channel Swift** The [platform channel swift
app](platform_channel_swift) is the same as [platform
Expand Down
2 changes: 1 addition & 1 deletion examples/flutter_view/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/platform_channel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/platform_channel_swift/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter_driver/lib/fix_data/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter_goldens/lib/flutter_goldens.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Future<void> testExecutable(FutureOr<void> 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();
Expand Down
4 changes: 2 additions & 2 deletions packages/flutter_localizations/lib/src/l10n/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ import 'widgets_localizations.dart';
/// See also:
///
/// * The Flutter Internationalization Tutorial,
/// <https://flutter.dev/tutorials/internationalization/>.
/// <https://flutter.dev/to/internationalization/>.
/// * [DefaultMaterialLocalizations], which only provides US English translations.
abstract class GlobalMaterialLocalizations implements MaterialLocalizations {
/// Initializes an object that defines the material widgets' localized strings
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter_test/lib/fix_data/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/flutter_test/lib/src/widget_tester.dart
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ E? _lastWhereOrNull<E>(Iterable<E> 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
Expand Down
4 changes: 2 additions & 2 deletions packages/integration_test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion packages/integration_test/example/android/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/integration_test/lib/fix_data/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/integration_test/lib/integration_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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
''');
}
});
Expand Down

0 comments on commit c633398

Please sign in to comment.