Download flutter/examples/layers/test/smoketests/rendering/touch_input_test.dart from luom2645/agent-workspace: direct link, hf CLI and curl.
- Browser
- Download file 646 Bytes
-
https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/examples/layers/test/smoketests/rendering/touch_input_test.dart
- Command line
-
hf download hf://luom2645/agent-workspace/flutter/examples/layers/test/smoketests/rendering/touch_input_test.dart
-
curl -L -o touch_input_test.dart https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/examples/layers/test/smoketests/rendering/touch_input_test.dart
646 Bytes
| // 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. | |
| import 'package:flutter/foundation.dart'; | |
| import 'package:flutter/scheduler.dart'; | |
| import 'package:flutter_test/flutter_test.dart' hide TypeMatcher, isInstanceOf; | |
| import '../../../rendering/touch_input.dart' as demo; | |
| void main() { | |
| test('layers smoketest for rendering/touch_input.dart', () { | |
| FlutterError.onError = (FlutterErrorDetails details) { | |
| throw details.exception; | |
| }; | |
| demo.main(); | |
| expect(SchedulerBinding.instance.hasScheduledFrame, true); | |
| }); | |
| } | |