[flutter_tools] remove --with-driver-test (#67783)
Remove flutter create --with-driver-test . Fixes #64095
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
import 'package:flutter/material.dart';
|
||||
{{#withDriverTest}}
|
||||
import 'package:flutter_driver/driver_extension.dart';
|
||||
{{/withDriverTest}}
|
||||
{{#withPluginHook}}
|
||||
import 'dart:async';
|
||||
|
||||
@@ -9,17 +6,7 @@ import 'package:flutter/services.dart';
|
||||
import 'package:{{pluginProjectName}}/{{pluginProjectName}}.dart';
|
||||
{{/withPluginHook}}
|
||||
|
||||
{{^withDriverTest}}
|
||||
void main() => runApp(MyApp());
|
||||
{{/withDriverTest}}
|
||||
{{#withDriverTest}}
|
||||
void main() {
|
||||
// Enable integration testing with the Flutter Driver extension.
|
||||
// See https://flutter.dev/testing/ for more info.
|
||||
enableFlutterDriverExtension();
|
||||
runApp(MyApp());
|
||||
}
|
||||
{{/withDriverTest}}
|
||||
|
||||
{{^withPluginHook}}
|
||||
class MyApp extends StatelessWidget {
|
||||
|
||||
@@ -31,10 +31,6 @@ 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://dart.dev/tools/pub/pubspec
|
||||
|
||||
Reference in New Issue
Block a user