CircleShape class

CircleShape is a class that represents a circle shape. it have a build that return a Path that represents the shape. it also have a invert method that return a new CircleShape that invert the shape (by adding a rectangle that fill the whole widget and then subtract the shape from it).

Inheritance

Constructors

CircleShape({double startAngle = 0, double endAngle = 2 * pi})
CircleShape constructor.

Properties

endAngle double
endAngle is the end angle of the circle.
final
hashCode int
The hash code for this object.
no setterinherited
path Path Function(Size parentSize)
path is a function that takes a Size and returns a Path
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startAngle double
startAngle is the start angle of the circle.
final

Methods

build(Size parentSize, {Size? size, Matrix4? transform, AlignmentGeometry? origin = Alignment.center, AlignmentGeometry alignment = Alignment.center, Offset? offset, Offset? translate, double? margin}) Path
inherited
invert() CircleShape
invert is a function that returns a new CircleShape that invert the shape.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited