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:
@@ -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