Closed IOCloudFly closed 8 months ago
The DrawingBoard widget has a property called background which takes in any widget. You can use an image instead of a container.
Google translate: DrawingBoard 小部件有一个名为 background 的属性,它可以接收任何小部件。 您可以使用图像而不是容器
DrawingBoard(
background: Container(
color: Colors.white,
width: 300,
height: 100,
),
);
比如我想在一个图片上涂鸦,想用你的库怎么把图片搞到画板上,没有思路。