问题描述
我想删除上面的控制面板,只想将绘图用作 ImagePainter
我已经尝试编辑包的 dart 文件,但仍然没有结果
class ImagePainter extends StatefulWidget {
const ImagePainter._(
{Key? key,this.assetPath,this.networkUrl,this.byteArray,this.file,this.height,this.width,this.placeHolder,this.isscalable,this.brushIcon,this.clearallIcon,this.colorIcon,this.undoIcon,this.isSignature = false,this.controlsAtTop = false,this.signatureBackgroundColor,this.colors,this.initialPaintMode})
: super(key: key);
这是我使用小部件的方式:
ImagePainter.file(
File(file.path),clearallIcon: null,key: _imageKey,scalable: false,initialPaintMode: PaintMode.freeStyle,)
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)