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