panoramaOffset property

double get panoramaOffset

How far left to move a panoramaWidth-wide scene so this shot shows its own part of it. Negative for every shot but the first.

Implementation

double get panoramaOffset => -(index - 1) * canvas.logicalWidth;