shaper library

Classes

CircleShape
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).
PolygonShape
PolygonShape is a class that represents a polygon shape.
RectShape
RectShape is a class that represents a rectangle shape. it have a build that return a Path that represents the shape. it also have a invert method that return a new RectShape that invert the shape (by adding a rectangle that fill the whole widget and then subtract the shape from it). it also have borderRadius property BorderRadiusGeometry to control the radius of the rectangle (every corner) use to control the .
Shaper
Shaper is a class that represents a shape. it have a build that return a Path that represents the shape. it also have a invert method that return a new Shaper that invert the shape (by adding a rectangle that fill the whole widget and then subtract the shape from it).
StarShape
StarShape is a class that represents a star shape. it have a build that return a Path that represents the shape. it also have a invert method that return a new StarShape that it contains all the properties of StarBorder to control the shape.