• Greg Spencer's avatar
    Make the create command call pub get online instead of offline. (#13505) · 6b8ceb94
    Greg Spencer authored
    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.
    6b8ceb94
create.dart 14.9 KB