CellPositionResult.offscreen constructor

CellPositionResult.offscreen({
  1. required bool isOffscreenY,
  2. required bool isOffscreenX,
})

Implementation

factory CellPositionResult.offscreen({
  required bool isOffscreenY,
  required bool isOffscreenX,
}) {
  return CellPositionResult(
    leftTop: const Offset(0, 0),
    isOffscreenX: isOffscreenX,
    isOffscreenY: isOffscreenY,
    cellSize: Size.zero,
  );
}