Download flutter/packages/flutter_driver/lib/driver_extension.dart from luom2645/agent-workspace: direct link, hf CLI and curl.
- Browser
- Download file 1.12 kB
-
https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/packages/flutter_driver/lib/driver_extension.dart
- Command line
-
hf download hf://luom2645/agent-workspace/flutter/packages/flutter_driver/lib/driver_extension.dart
-
curl -L -o driver_extension.dart https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/packages/flutter_driver/lib/driver_extension.dart
1.12 kB
| // Copyright 2014 The Flutter Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| /// This library provides a Dart VM service extension that is required for | |
| /// tests that use `package:flutter_driver` to drive applications from a | |
| /// separate process, similar to Selenium (web), Espresso (Android) and UI | |
| /// Automation (iOS). | |
| /// | |
| /// The extension must be installed in the same process (isolate) with your | |
| /// application. | |
| /// | |
| /// To enable the extension call [enableFlutterDriverExtension] early in your | |
| /// program, prior to running your application, e.g. before you call `runApp`. | |
| /// | |
| /// Example: | |
| /// | |
| /// import 'package:flutter/material.dart'; | |
| /// import 'package:flutter_driver/driver_extension.dart'; | |
| /// | |
| /// main() { | |
| /// enableFlutterDriverExtension(); | |
| /// runApp(ExampleApp()); | |
| /// } | |
| /// | |
| /// @docImport 'src/extension/extension.dart'; | |
| library flutter_driver_extension; | |
| export 'src/common/deserialization_factory.dart'; | |
| export 'src/common/handler_factory.dart'; | |
| export 'src/extension/extension.dart'; | |