addEffect method
Adds a terminal effect to this buffer.
Implementation
@override
void addEffect(RegisteredEffect effect) {
parent.addEffect(
RegisteredEffect(
effect.effect,
Rect(
bounds.x + effect.bounds.x,
bounds.y + effect.bounds.y,
effect.bounds.width,
effect.bounds.height,
),
effect.zIndex,
effect.originalIndex,
),
);
}