SurroundingRectangle constructor
SurroundingRectangle({})
Implementation
SurroundingRectangle(
{this.buff = SMALL_BUFFER, required this.mobject, Color color = WHITE})
: super(
width: mobject.getWidth() + 2 * buff,
height: mobject.getHeight() + 2 * buff,
color: color,
) {
moveToMobject(mobject);
setStroke(color: color);
setFill(color: TRANSPARENT);
}