easel 0.0.3
easel: ^0.0.3 copied to clipboard
The CustomPaint in a declarative way. We need more precise way to draw something in the canvas.
easel #
The CustomPaint in declarative way
Artwork(
width: 400,
height: 400,
components: [
...coordLines(400, 400),
Circle(Point(100, 100), 100),
Circle.xyr(-100, -100, 50, color: Colors.lightBlue)
],
),
How to use? #
see Examples
TODOs #
- ❌ text
- ❌ 3D scene
- ❌ gesture detecting
- ❌ animation
How to add new drawable? #
for contributor & maintainer #
-
create new drawable class in the /src/drawable directory
-
create draw method in [Easel] class
-
update [drawAll] method in [Easel] class
-
make example in artwork directory
for maintainer (after Task 1~4 done) #
- update pageOrder and router in [index.dart]