Updating dart.dev related links (#32641)
* Updating dart.dev related links * Update packages/flutter_tools/lib/src/base/context.dart
This commit is contained in:
@@ -18,7 +18,7 @@ The Material and Cupertino libraries use
|
||||
[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 @@ ordinary Flutter app.
|
||||
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.
|
||||
|
||||
@@ -43,7 +43,7 @@ AppContext get context => Zone.current[_Key.key] as AppContext ?? AppContext._ro
|
||||
/// 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,
|
||||
|
||||
@@ -16,12 +16,12 @@ class PackagesCommand extends FlutterCommand {
|
||||
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());
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ dev_dependencies:
|
||||
{{/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:
|
||||
|
||||
@@ -37,7 +37,7 @@ dev_dependencies:
|
||||
{{/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
|
||||
|
||||
@@ -20,7 +20,7 @@ dev_dependencies:
|
||||
{{/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:
|
||||
|
||||
@@ -16,7 +16,7 @@ dev_dependencies:
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user