promptRectColor property

Color? promptRectColor

The color used to paint the prompt rectangle.

The prompt rectangle will only be requested on non-web iOS applications.

Implementation

// TODO(ianh): We should change the getter to return null when _promptRectRange is null
// (otherwise, if you set it to null and then get it, you get back non-null).
// Alternatively, we could stop supporting setting this to null.
Color? get promptRectColor => _autocorrectHighlightPainter.highlightColor;
void promptRectColor=(Color? newValue)

Implementation

set promptRectColor(Color? newValue) {
  _autocorrectHighlightPainter.highlightColor = newValue;
}