Download flutter/examples/splash/lib/main.dart from luom2645/agent-workspace: direct link, hf CLI and curl.
- Browser
- Download file 917 Bytes
-
https://huggingface.co/luom2645/agent-workspace/resolve/7d4c5ffdb4518a5d7456ef06ab77458fcf42663a/flutter/examples/splash/lib/main.dart
- Command line
-
hf download hf://luom2645/agent-workspace@7d4c5ffdb4518a5d7456ef06ab77458fcf42663a/flutter/examples/splash/lib/main.dart
-
curl -L -o main.dart https://huggingface.co/luom2645/agent-workspace/resolve/7d4c5ffdb4518a5d7456ef06ab77458fcf42663a/flutter/examples/splash/lib/main.dart
917 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/material.dart'; | |
| void main() { | |
| runApp( | |
| const DecoratedBox( | |
| decoration: BoxDecoration(color: Colors.white), | |
| child: Center( | |
| child: Column( | |
| mainAxisAlignment: MainAxisAlignment.center, | |
| textDirection: TextDirection.ltr, | |
| children: <Widget>[ | |
| FlutterLogo(size: 48), | |
| Padding( | |
| padding: EdgeInsets.all(32), | |
| child: Text( | |
| 'This app is only meant to be run under the Flutter debugger', | |
| textDirection: TextDirection.ltr, | |
| textAlign: TextAlign.center, | |
| style: TextStyle(color: Colors.black87), | |
| ), | |
| ), | |
| ], | |
| ), | |
| ), | |
| ), | |
| ); | |
| } | |