mirror of https://github.com/flutter/samples.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
481 B
16 lines
481 B
4 years ago
|
// Copyright 2020 The Flutter team. All rights reserved.
|
||
|
// Use of this source code is governed by a BSD-style license that can be
|
||
|
// found in the LICENSE file.
|
||
|
|
||
|
import 'package:flutter_driver/driver_extension.dart';
|
||
|
import 'package:testing_app/main.dart' as app;
|
||
|
|
||
|
void main() {
|
||
|
// This line enables the extension.
|
||
|
enableFlutterDriverExtension();
|
||
|
|
||
|
// Call the `main()` function of the app, or call `runApp` with
|
||
|
// any widget you are interested in testing.
|
||
|
app.main();
|
||
|
}
|