isClosed property Null safety

bool isClosed

Whether the contour is closed.

Returns true if the contour ends with a call to Path.close (which may have been implied when using methods like Path.addRect) or if forceClosed was specified as true in the call to Path.computeMetrics. Returns false otherwise.


final bool isClosed;