polygonPath method

Path polygonPath({
  1. double? cornerRadius,
})

Implementation

Path polygonPath({double? cornerRadius}) {
  return cornerRadius == null
      ? PathExtra.sharpShape(this)
      : PathExtra.smoothShape(this, cornerRadius: cornerRadius);
}