customPainter property
Implementation
@override
CustomPainter get customPainter => AnchoredRectPainter(
currentPos: currentPos,
anchorSize: anchorSize,
padding: padding,
bgColor: bgColor,
rect1Width: stroke1Animation.value * _rect1Width,
rect2Width: stroke2Animation.value * _rect2Width,
);