Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/flutter/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/user-interface/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Flutter 在画布上渲染颤振小部件-CustomPainter_Flutter_User Interface_Dart_Widget - Fatal编程技术网

Flutter 在画布上渲染颤振小部件-CustomPainter

Flutter 在画布上渲染颤振小部件-CustomPainter,flutter,user-interface,dart,widget,Flutter,User Interface,Dart,Widget,我正在考虑与弗利特建立一个游戏。我已经用Flutter开发了多个应用程序,但还没有真正使用CustomPainter小部件。我可以用小部件制作很多我想要的UI,而不是创建自己的自定义形状。那么,如何将小部件转换为可以在画布上渲染的对象呢

我正在考虑与弗利特建立一个游戏。我已经用Flutter开发了多个应用程序,但还没有真正使用CustomPainter小部件。我可以用小部件制作很多我想要的UI,而不是创建自己的自定义形状。那么,如何将小部件转换为可以在画布上渲染的对象呢