Update composing rect documentation (#77951)

The TextInput.setMarkedRect message was originally added to support
positioning the IME candidates menu on iOS, but is now used by iOS,
Windows, macOS, and Linux desktop embedders.
This commit is contained in:
Chris Bracken
2021-03-11 15:32:27 -08:00
committed by GitHub
parent c6dbb6f2b5
commit aee756ff1e

View File

@@ -1010,7 +1010,8 @@ class TextInputConnection {
/// The given `rect` can not be null. If any of the 4 coordinates of the given
/// [Rect] is not finite, a [Rect] of size (-1, -1) will be sent instead.
///
/// The information is currently only used on iOS, for positioning the IME bar.
/// This information is used for positioning the IME candidates menu on each
/// platform.
void setComposingRect(Rect rect) {
assert(rect != null);
if (rect == _cachedRect)