问题描述
按下按钮时。 customPainter 总是更新。不知道为什么,请帮助我。 PaperPainter 是一个 CustomPainter 小部件
Stack(children: <Widget>[ Container(
color: Colors.white,child: CustomPaint(
size: Size.infinite,painter: PaperPainter(_image,context)))),//,imgSize,inputRect,outputRect)),Row(
crossAxisAlignment: CrossAxisAlignment.start,children: <Widget>[
IconButton(
icon: new Icon(Icons.delete),onpressed: () {}),IconButton(
icon: new Icon(Icons.add),onpressed: () {})
])
])
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)