mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This exposes the line boundary information a line by adding getLineBoundary to return the indices corresponding to a line around a TextPosition. The information is already calculated when calculating line metrics, so that we can enable moving the selection/cursor to the beginning/end of a line in a text field.