Download flutter/dev/integration_tests/flutter_gallery/lib/main_publish.dart from luom2645/agent-workspace: direct link, hf CLI and curl.
- Browser
- Download file 431 Bytes
-
https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/dev/integration_tests/flutter_gallery/lib/main_publish.dart
- Command line
-
hf download hf://luom2645/agent-workspace/flutter/dev/integration_tests/flutter_gallery/lib/main_publish.dart
-
curl -L -o main_publish.dart https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/dev/integration_tests/flutter_gallery/lib/main_publish.dart
431 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 'gallery/home.dart'; | |
| import 'main.dart' as other_main; | |
| // This main chain-calls main.dart's main. This file is used for publishing | |
| // the gallery and removes the 'PREVIEW' banner. | |
| void main() { | |
| GalleryHome.showPreviewBanner = false; | |
| other_main.main(); | |
| } | |