Download flutter/packages/flutter/lib/src/foundation/_capabilities_io.dart from luom2645/agent-workspace: direct link, hf CLI and curl.
- Browser
- Download file 559 Bytes
-
https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/packages/flutter/lib/src/foundation/_capabilities_io.dart
- Command line
-
hf download hf://luom2645/agent-workspace/flutter/packages/flutter/lib/src/foundation/_capabilities_io.dart
-
curl -L -o _capabilities_io.dart https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/packages/flutter/lib/src/foundation/_capabilities_io.dart
559 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. | |
| /// The dart:io implementation of [isCanvasKit]. | |
| /// | |
| /// This bool shouldn't be used outside of web. | |
| bool get isCanvasKit { | |
| throw UnimplementedError('isCanvasKit is not implemented for dart:io.'); | |
| } | |
| /// The dart:io implementation of [isSkwasm]. | |
| /// | |
| /// This bool shouldn't be used outside of web. | |
| bool get isSkwasm { | |
| throw UnimplementedError('isSkwasm is not implemented for dart:io.'); | |
| } | |