Updating dart.dev related links (#32641) * Updating dart.dev related links * Update packages/flutter_tools/lib/src/base/context.dart
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 2152d2f..e2ba982 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -30,7 +30,7 @@ concise description of what the problem is. Describe alternative solutions you've considered. Is there a package - on pub.dartlang.org that already solves this? + on pub.dev/flutter that already solves this? --> ## Proposal @@ -41,6 +41,6 @@ Consider attaching images showing what you are imagining. Does this have to be provided by Flutter directly, or can it be provided - by a package on pub.dartlang.org? If so, maybe consider implementing and + by a package on pub.dev/flutter? If so, maybe consider implementing and publishing such a package rather than filing a bug. -->
diff --git a/README.md b/README.md index 868a291..0d51b80 100644 --- a/README.md +++ b/README.md
@@ -87,10 +87,10 @@ [widget catalog]: https://flutter.dev/widgets/ [Reflectly hero image]: https://github.com/flutter/website/blob/master/src/images/homepage/reflectly-hero-600px.png [Skia]: https://skia.org/ -[Dart platform]: https://www.dartlang.org/ +[Dart platform]: https://dart.dev/ [Hot reload animation]: https://raw.githubusercontent.com/flutter/website/master/src/_assets/image/tools/android-studio/hot-reload.gif [Hot reload]: https://flutter.dev/docs/development/tools/hot-reload [Visual Studio Code]: https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter [IntelliJ / Android Studio]: https://plugins.jetbrains.com/plugin/9212-flutter -[Flutter packages]: https://pub.dartlang.org/flutter +[Flutter packages]: https://pub.dev/flutter [interop example]: https://github.com/flutter/flutter/tree/master/examples/platform_channel \ No newline at end of file
diff --git a/dev/docs/README.md b/dev/docs/README.md index 70d36a0..fa9e7de 100644 --- a/dev/docs/README.md +++ b/dev/docs/README.md
@@ -58,4 +58,4 @@ Flutter has a rich community of packages that have been contributed by the open-source community. You can browse those packages at -[pub.dartlang.org](http://pub.dartlang.org/flutter) +[pub.dev/flutter](https://pub.dev/flutter)
diff --git a/dev/integration_tests/ios_add2app/flutterapp/pubspec.yaml b/dev/integration_tests/ios_add2app/flutterapp/pubspec.yaml index 13ef88d..bf4a03c 100644 --- a/dev/integration_tests/ios_add2app/flutterapp/pubspec.yaml +++ b/dev/integration_tests/ios_add2app/flutterapp/pubspec.yaml
@@ -34,7 +34,7 @@ sdk: flutter # For information on the generic Dart part of this file, see the -# following page: https://www.dartlang.org/tools/pub/pubspec +# following page: https://dart.dev/tools/pub/pubspec async: 2.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" boolean_selector: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
diff --git a/dev/integration_tests/simple_codegen/build.yaml b/dev/integration_tests/simple_codegen/build.yaml index b5a6363..370bf3b 100644 --- a/dev/integration_tests/simple_codegen/build.yaml +++ b/dev/integration_tests/simple_codegen/build.yaml
@@ -1,4 +1,4 @@ -# Read about `build.yaml` at https://pub.dartlang.org/packages/build_config +# Read about `build.yaml` at https://pub.dev/packages/build_config builders: simple: import: "package:simple_codegen/builders.dart"
diff --git a/examples/stocks/README.md b/examples/stocks/README.md index 6ff46ab..3b0da73 100644 --- a/examples/stocks/README.md +++ b/examples/stocks/README.md
@@ -24,7 +24,7 @@ This app has been internationalized (just enough to show how it's done). It's an example of how one can do so with the -[Dart intl package](https://pub.dartlang.org/packages/intl). +[Dart intl package](https://pub.dev/packages/intl). The [Flutter Internationalization Tutorial](https://flutter.dev/tutorials/internationalization/) covers Flutter app internationalization in general.
diff --git a/packages/flutter_localizations/lib/src/l10n/README.md b/packages/flutter_localizations/lib/src/l10n/README.md index f592652..a881920 100644 --- a/packages/flutter_localizations/lib/src/l10n/README.md +++ b/packages/flutter_localizations/lib/src/l10n/README.md
@@ -18,7 +18,7 @@ [Application Resource Bundle](https://code.google.com/p/arb/wiki/ApplicationResourceBundleSpecification) files, which have a `.arb` extension, to store localized translations of messages, format strings, and other values. This format is also -used by the Dart [intl](https://pub.dartlang.org/packages/intl) +used by the Dart [intl](https://pub.dev/packages/intl) package and it is supported by the [Google Translators Toolkit](https://translate.google.com/toolkit). @@ -207,5 +207,5 @@ covers the `.arb` file format used to store localized translations of messages, format strings, and other values. -The Dart [intl](https://pub.dartlang.org/packages/intl) +The Dart [intl](https://pub.dev/packages/intl) package supports internationalization.
diff --git a/packages/flutter_tools/lib/src/base/context.dart b/packages/flutter_tools/lib/src/base/context.dart index 84fc8fc..088adb1 100644 --- a/packages/flutter_tools/lib/src/base/context.dart +++ b/packages/flutter_tools/lib/src/base/context.dart
@@ -43,7 +43,7 @@ /// scope) is created. /// /// Child contexts are created and run using zones. To read more about how -/// zones work, see https://www.dartlang.org/articles/libraries/zones. +/// zones work, see https://api.dartlang.org/stable/dart-async/Zone-class.html. class AppContext { AppContext._( this._parent,
diff --git a/packages/flutter_tools/lib/src/commands/packages.dart b/packages/flutter_tools/lib/src/commands/packages.dart index 5185bbd..19c51d6 100644 --- a/packages/flutter_tools/lib/src/commands/packages.dart +++ b/packages/flutter_tools/lib/src/commands/packages.dart
@@ -16,12 +16,12 @@ addSubcommand(PackagesGetCommand('upgrade', true)); addSubcommand(PackagesTestCommand()); addSubcommand(PackagesForwardCommand('downgrade', 'Downgrade packages in a Flutter project', requiresPubspec: true)); - addSubcommand(PackagesForwardCommand('publish', 'Publish the current package to pub.dartlang.org', requiresPubspec: true)); + addSubcommand(PackagesForwardCommand('publish', 'Publish the current package to pub.dev', requiresPubspec: true)); addSubcommand(PackagesForwardCommand('deps', 'Print package dependencies', requiresPubspec: true)); addSubcommand(PackagesForwardCommand('run', 'Run an executable from a package', requiresPubspec: true)); addSubcommand(PackagesForwardCommand('cache', 'Work with the Pub system cache')); addSubcommand(PackagesForwardCommand('version', 'Print Pub version')); - addSubcommand(PackagesForwardCommand('uploader', 'Manage uploaders for a package on pub.dartlang.org')); + addSubcommand(PackagesForwardCommand('uploader', 'Manage uploaders for a package on pub.dev')); addSubcommand(PackagesForwardCommand('global', 'Work with Pub global packages')); addSubcommand(PackagesPassthroughCommand()); }
diff --git a/packages/flutter_tools/templates/app/pubspec.yaml.tmpl b/packages/flutter_tools/templates/app/pubspec.yaml.tmpl index b9f8a56..9cf9b7b 100644 --- a/packages/flutter_tools/templates/app/pubspec.yaml.tmpl +++ b/packages/flutter_tools/templates/app/pubspec.yaml.tmpl
@@ -44,7 +44,7 @@ {{/withPluginHook}} # For information on the generic Dart part of this file, see the -# following page: https://www.dartlang.org/tools/pub/pubspec +# following page: https://dart.dev/tools/pub/pubspec # The following section is specific to Flutter. flutter:
diff --git a/packages/flutter_tools/templates/module/common/pubspec.yaml.tmpl b/packages/flutter_tools/templates/module/common/pubspec.yaml.tmpl index fc61b10..7baedbe 100644 --- a/packages/flutter_tools/templates/module/common/pubspec.yaml.tmpl +++ b/packages/flutter_tools/templates/module/common/pubspec.yaml.tmpl
@@ -37,7 +37,7 @@ {{/withDriverTest}} # For information on the generic Dart part of this file, see the -# following page: https://www.dartlang.org/tools/pub/pubspec +# following page: https://dart.dev/tools/pub/pubspec flutter: # The following line ensures that the Material Icons font is
diff --git a/packages/flutter_tools/templates/package/pubspec.yaml.tmpl b/packages/flutter_tools/templates/package/pubspec.yaml.tmpl index 8b0c81b..fdd26f9 100644 --- a/packages/flutter_tools/templates/package/pubspec.yaml.tmpl +++ b/packages/flutter_tools/templates/package/pubspec.yaml.tmpl
@@ -20,7 +20,7 @@ {{/withDriverTest}} # For information on the generic Dart part of this file, see the -# following page: https://www.dartlang.org/tools/pub/pubspec +# following page: https://dart.dev/tools/pub/pubspec # The following section is specific to Flutter. flutter:
diff --git a/packages/flutter_tools/templates/plugin/pubspec.yaml.tmpl b/packages/flutter_tools/templates/plugin/pubspec.yaml.tmpl index 94c1700..f5403e8 100644 --- a/packages/flutter_tools/templates/plugin/pubspec.yaml.tmpl +++ b/packages/flutter_tools/templates/plugin/pubspec.yaml.tmpl
@@ -16,7 +16,7 @@ sdk: flutter # For information on the generic Dart part of this file, see the -# following page: https://www.dartlang.org/tools/pub/pubspec +# following page: https://dart.dev/tools/pub/pubspec # The following section is specific to Flutter. flutter: