Download flutter/dev/bots/test/analyze-snippet-code-test-dart-ui/ui.dart from luom2645/agent-workspace: direct link, hf CLI and curl.
- Browser
- Download file 640 Bytes
-
https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/dev/bots/test/analyze-snippet-code-test-dart-ui/ui.dart
- Command line
-
hf download hf://luom2645/agent-workspace/flutter/dev/bots/test/analyze-snippet-code-test-dart-ui/ui.dart
-
curl -L -o ui.dart https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/dev/bots/test/analyze-snippet-code-test-dart-ui/ui.dart
640 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. | |
| // @dart = 2.12 | |
| /// This is a dummy dart:ui package for the sample code analyzer tests to use. | |
| library dart.ui; | |
| /// Bla bla bla bla bla bla bla bla bla. | |
| /// | |
| /// ```dart | |
| /// class MyStringBuffer { | |
| /// error; // error (prefer_typing_uninitialized_variables, inference_failure_on_uninitialized_variable, missing_const_final_var_or_type) | |
| /// | |
| /// StringBuffer _buffer = StringBuffer(); // error (prefer_final_fields, unused_field) | |
| /// } | |
| /// ``` | |
| class Foo { | |
| const Foo(); | |
| } | |