PathView constructor

const PathView({
  1. Key? key,
  2. required Path path,
  3. required Paint paint,
  4. Widget? child,
})

创建路径视图

@param key 组件键 @param path 要绘制的路径对象 @param paint 路径的绘制样式 @param child 叠加在画布上的子组件

Implementation

const PathView(
    {Key? key, required this.path, required this.paint, this.child})
    : super(key: key);