createPath method

  1. @override
Path createPath(
  1. Offset offset,
  2. double size,
  3. Neighbors? neighbors
)
override

Implementation

@override
Path createPath(Offset offset, double size, Neighbors? neighbors) => Path()
  ..fillType = PathFillType.evenOdd
  ..addRect(Rect.fromLTWH(offset.dx, offset.dy, size, size))
  ..addRect(
      Rect.fromLTWH(offset.dx + size / 7, offset.dy + size / 7, size * 5 / 7, size * 5 / 7));