Greg Spencer 6b8ceb9472
Make the create command call pub get online instead of offline. (#13505)
We thought it would be OK to call the create command offline-only, but it turns out that isn't a great idea because not all of the create template dependencies are cached by running flutter_tool.

This PR makes it go online by default when running pub get after creating a project, and adds an "--offline" flag to the create command so that offline users can use it offline if their cache is warm.
2017-12-11 21:21:41 -08:00
..

Flutter tools

Tools for building Flutter applications.

To run the tests, ensure that no devices are connected, then navigate to flutter_tools and execute:

DART_VM_OPTIONS=--assert-initializer ../../bin/cache/dart-sdk/bin/pub run test