addToPath method

  1. @override
void addToPath(
  1. Path path,
  2. Canvas canvas,
  3. Size size
)
override

Modify the path to your requirement here

Implementation

@override
void addToPath(Path path, Canvas canvas, Size size) {
  path.addRect(
    Rect.fromPoints(
      _getEffectiveStart(size),
      _getEffectiveEnd(size),
    ),
  );
}