mirror of
https://github.com/flutter/flutter
synced 2024-10-05 15:59:49 +00:00
Update flutter.dev links from misc packages to more permanent destinations (#150532)
Contributes to https://github.com/flutter/website/issues/10363
This commit is contained in:
parent
b0953649c9
commit
c63339866d
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
''');
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue