widgets/path_drawing/path_drawing library

Classes

CircularIntervalList<T>
A circular array of dash offsets and lengths.
DashOffset
Specifies the starting position of a dash array on a path, either as a percentage or absolute value.

Functions

dashPath(Path source, {required CircularIntervalList<double> dashArray, DashOffset? dashOffset}) Path
trimPath(Path source, double percentage, {bool firstOnly = true, PathTrimOrigin origin = PathTrimOrigin.begin}) Path
Trims percentage of the source Path away and returns a new path.