Download flutter/packages/flutter_tools/lib/src/web/web_constants.dart from luom2645/agent-workspace: direct link, hf CLI and curl.
- Browser
- Download file 604 Bytes
-
https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/packages/flutter_tools/lib/src/web/web_constants.dart
- Command line
-
hf download hf://luom2645/agent-workspace/flutter/packages/flutter_tools/lib/src/web/web_constants.dart
-
curl -L -o web_constants.dart https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/packages/flutter_tools/lib/src/web/web_constants.dart
604 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. | |
| const String kWasmMoreInfo = 'See https://flutter.dev/to/wasm for more information.'; | |
| /// Headers required to run Wasm-compiled applications with multi-threading. | |
| /// | |
| /// See https://developer.chrome.com/blog/coep-credentialless-origin-trial | |
| /// for more information. | |
| const Map<String, String> kMultiThreadedHeaders = <String, String>{ | |
| 'Cross-Origin-Opener-Policy': 'same-origin', | |
| 'Cross-Origin-Embedder-Policy': 'credentialless', | |
| }; | |