ShapeOutline.path constructor
const
ShapeOutline.path(
- ShapePathBuilder path, {
- bool cornerRadius = false,
- String? valueKey,
A path computed by path from the frame size and the shape's values,
its straight corners rounded by the style's corner radius when
cornerRadius. A closed, straight-edged path resolves as a polygon.
valueKey names the value this outline is drawn from when instances
edit it directly: a PathValueField edited point by point, or the
integer sides of a regularPolygon.
Implementation
const ShapeOutline.path(
ShapePathBuilder path, {
this.cornerRadius = false,
this.valueKey,
}) : _kind = _ShapeOutlineKind.path,
_path = path;