anchorAdjustmentOffsetY method
Implementation
double anchorAdjustmentOffsetY(int index, int activeIndex) {
final isHighlight = index == activeIndex;
final lineHeight = getLineHeight(isHighlight, index);
var anchorOffset =
anchorOffsetY(index, isHighlight, lineHeight, style.selectionAlignment);
return (lineHeight / 2 - anchorOffset);
}