iced-mobile/examples/custom_widget/README.md

19 lines
419 B
Markdown

## Custom widget
A demonstration of how to build a custom widget that draws a circle.
The __[`main`]__ file contains all the code of the example.
<div align="center">
<a href="https://gfycat.com/jealouscornyhomalocephale">
<img src="https://thumbs.gfycat.com/JealousCornyHomalocephale-small.gif">
</a>
</div>
You can run it with `cargo run`:
```
cargo run --package custom_widget
```
[`main`]: src/main.rs