positionToPixel abstract method
Converts a global column/row index into a pixel coordinate (Offset) of
the top/left edge of that position in the viewport on the axis axis
.
Use isForFrozenPanes
to consider frozen dimension instead of the
scrollable ones.
Implementation
PixelResult positionToPixel(
int globalPosition,
Axis axis, {
required bool isForFrozenPanes,
});