• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2016 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5/// This library provides a Dart VM service extension that is required for
6/// tests that use `package:flutter_driver` to drive applications from a
7/// separate process, similar to Selenium (web), Espresso (Android) and UI
8/// Automation (iOS).
9///
10/// The extension must be installed in the same process (isolate) with your
11/// application.
12///
13/// To enable the extension call [enableFlutterDriverExtension] early in your
14/// program, prior to running your application, e.g. before you call `runApp`.
15///
16/// Example:
17///
18///     import 'package:flutter/material.dart';
19///     import 'package:flutter_driver/driver_extension.dart';
20///
21///     main() {
22///       enableFlutterDriverExtension();
23///       runApp(new ExampleApp());
24///     }
25library flutter_driver_extension;
26
27export 'src/extension/extension.dart' show enableFlutterDriverExtension, DataHandler;
28