Explicitly call out documentation links in "flutter create" (#114181)
The recent survey suggests that some people are not finding documentation after they get started with Flutter, so let's just give them links right away. It might not help everyone but there's not really any downside so...
This commit is contained in:
@@ -434,7 +434,7 @@ class CreateCommand extends CreateBase {
|
||||
globals.printStatus('Wrote $generatedFileCount files.');
|
||||
globals.printStatus('\nAll done!');
|
||||
final String application =
|
||||
'${emptyArgument ? 'empty' : ''}${sampleCode != null ? 'sample' : ''} application';
|
||||
'${emptyArgument ? 'empty ' : ''}${sampleCode != null ? 'sample ' : ''}application';
|
||||
if (generatePackage) {
|
||||
final String relativeMainPath = globals.fs.path.normalize(globals.fs.path.join(
|
||||
relativeDirPath,
|
||||
@@ -476,6 +476,10 @@ class CreateCommand extends CreateBase {
|
||||
|
||||
// Let them know a summary of the state of their tooling.
|
||||
globals.printStatus('''
|
||||
You can find general documentation for Flutter at: https://docs.flutter.dev/
|
||||
Detailed API documentation is available at: https://api.flutter.dev/
|
||||
If you prefer video documentation, consider: https://www.youtube.com/c/flutterdev
|
||||
|
||||
In order to run your $application, type:
|
||||
|
||||
\$ cd $relativeAppPath
|
||||
|
||||
Reference in New Issue
Block a user