calcLeft method
Returns the calculated x position from sourceRect
.
If contentRect
is provided, it is considered to be the size of the
content being aligned if it were visible.
Implementation
@override
num calcLeft(Rectangle sourceRect, [Rectangle? contentRect]) {
return sourceRect.left + -contentRect!.width;
}