mirror of
https://github.com/flutter/flutter
synced 2024-08-24 10:27:16 +00:00
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:
parent
ef5abcc6bf
commit
054d9bb2f1
4
.github/ISSUE_TEMPLATE/feature_request.md
vendored
4
.github/ISSUE_TEMPLATE/feature_request.md
vendored
|
@ -30,7 +30,7 @@ assignees: ''
|
|||
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 @@ assignees: ''
|
|||
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.
|
||||
-->
|
||||
|
|
|
@ -87,10 +87,10 @@ Information on how to get started can be found at our
|
|||
[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
|
|
@ -58,4 +58,4 @@ import 'package:file/local.dart';
|
|||
|
||||
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)
|
||||
|
|
|
@ -34,7 +34,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
|
||||
|
||||
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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -24,7 +24,7 @@ The `flutter run --release` command both builds and installs the Flutter app.
|
|||
|
||||
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.
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue