From 71e05ff8f25fa2bd49f0e24e23ca9cb1a4f5e22c Mon Sep 17 00:00:00 2001 From: Ian Hickson Date: Thu, 13 Oct 2016 21:21:59 -0400 Subject: [PATCH] Clarify output of flutter create (#6305) Previously it implied that you had to always say lib/main.dart in the "flutter run" command. --- packages/flutter_tools/lib/src/commands/create.dart | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/flutter_tools/lib/src/commands/create.dart b/packages/flutter_tools/lib/src/commands/create.dart index d707d573df7..c839de6fb36 100644 --- a/packages/flutter_tools/lib/src/commands/create.dart +++ b/packages/flutter_tools/lib/src/commands/create.dart @@ -123,7 +123,9 @@ class CreateCommand extends FlutterCommand { All done! In order to run your application, type: \$ cd $relativePath - \$ flutter run lib/main.dart + \$ flutter run + +Your main program file is lib/main.dart in the $relativePath directory. '''); } else { printStatus("You'll need to install additional components before you can run " @@ -135,8 +137,9 @@ All done! In order to run your application, type: printStatus(''); printStatus("After installing components, run 'flutter doctor' in order to " "re-validate your setup."); - printStatus("When complete, type 'flutter run lib/main.dart' from the '$relativePath' " + printStatus("When complete, type 'flutter run' from the '$relativePath' " "directory in order to launch your app."); + printStatus("Your main program file is: $relativePath/lib/main.dart"); } return 0;