buildStillDot method
Builds a single still dot
Implementation
RRect buildStillDot(int i, Size size) {
final xPos = (i * distance);
final yPos = size.height / 2;
final bounds = Rect.fromLTRB(
xPos,
yPos - _effect.dotHeight / 2,
xPos + _effect.dotWidth,
yPos + _effect.dotHeight / 2,
);
var rect = RRect.fromRectAndRadius(bounds, dotRadius);
return rect;
}