Skip to content

Add more context to flutter create sample #31434

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 23, 2019

Conversation

jonahwilliams
Copy link
Contributor

Description

Link to a documentation page that contains a sample.

Related Issues

Fixes #28474

@@ -91,7 +91,8 @@ class CreateCommand extends FlutterCommand {
abbr: 's',
help: 'Specifies the Flutter code sample to use as the main.dart for an application. Implies '
'--template=app. The value should be the sample ID of the desired sample from the API '
'documentation website (http://docs.flutter.io).',
'documentation website (http://docs.flutter.dev). An example can be found at '
'https://master-api.flutter.dev/flutter/widgets/SingleChildScrollView-class.html',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That doesn't have the sample code section yet

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. LGTM. Maybe create some issue that reminds us to change back to "api.flutter.dev" once the sample code is there.

@jonahwilliams jonahwilliams merged commit be73969 into flutter:master Apr 23, 2019
@jonahwilliams jonahwilliams deleted the fix_create_sample_arg branch April 23, 2019 05:22
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unclear how to use --sample arg to flutter create
3 participants