How to get original data in custom shape?
Yonkers opened this issue · comments
I want to draw violin shape in custom shape class ViolinShape
, Variable
can't pass a list of points , one way is to pass violin points to custom shape class in constructor like:
Map<String, List<Point>> points;
ViolinShape({violinPoints: points});
is there a better way to do this?