|
Download flutter/docs/examples/Running-examples.md from luom2645/agent-workspace: direct link, hf CLI and curl.
- Browser
- Download file 664 Bytes
-
https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/docs/examples/Running-examples.md
- Command line
-
hf download hf://luom2645/agent-workspace/flutter/docs/examples/Running-examples.md
-
curl -L -o Running-examples.md https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/docs/examples/Running-examples.md
664 Bytes
To run an example, switch to that example's directory, and use flutter run.
Make sure you have an emulator running, or a device connected over USB and
debugging enabled on that device.
cd examples/hello_worldflutter run
You can also specify a particular Dart file to run if you want to run an example
that doesn't have a lib/main.dart file using the -t command-line option. For
example, to run the widgets/spinning_square.dart example in the examples/layers
directory on a connected Android device, from that directory you would run:
flutter run -t widgets/spinning_square.dart