From 1e40349017603a0ce2c8f225a7d1460a4e9824c4 Mon Sep 17 00:00:00 2001 From: Sturov Fedor Date: Tue, 20 Mar 2018 23:37:24 +0300 Subject: [PATCH] Fixed flutter create's "package" template's error in pubspec.yaml. (#14977) --- packages/flutter_tools/templates/package/pubspec.yaml.tmpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/flutter_tools/templates/package/pubspec.yaml.tmpl b/packages/flutter_tools/templates/package/pubspec.yaml.tmpl index db1503aaf9..853090bc90 100644 --- a/packages/flutter_tools/templates/package/pubspec.yaml.tmpl +++ b/packages/flutter_tools/templates/package/pubspec.yaml.tmpl @@ -11,6 +11,10 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter + {{#withDriverTest}} + flutter_driver: + sdk: flutter + {{/withDriverTest}} # For information on the generic Dart part of this file, see the # following page: https://www.dartlang.org/tools/pub/pubspec @@ -47,4 +51,4 @@ flutter: # weight: 700 # # For details regarding fonts in packages, see - # https://flutter.io/custom-fonts/#from-packages \ No newline at end of file + # https://flutter.io/custom-fonts/#from-packages