cellOffset method

Offset cellOffset(
  1. int column,
  2. int row
)

Top-left of a buffer cell, using the renderer's row pixel alignment.

Implementation

Offset cellOffset(int column, int row) =>
    _paintOffset +
    Offset(
      _bufferOffset.dx + column * cellSize.width,
      (_bufferOffset.dy + row * cellSize.height).truncateToDouble(),
    );