codepointAt method

  1. @override
int codepointAt(
  1. int row,
  2. int col
)
override

Cell accessors. row in 0..rows-1 reads the viewport; row == -1 reads the overscan line (the row just above the viewport top) used to paint the scrollFraction sliver. Other negative rows are not valid.

Implementation

@override
int codepointAt(int row, int col) =>
    row < 0 ? _overCodepoints[col] : _codepoints[row][col];