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

Color get promptRectColor => _promptRectPaint.color;
void promptRectColor= (Color newValue)

Implementation

set promptRectColor(Color newValue) {
  // Painter.color can not be null.
  if (newValue == null) {
    setPromptRectRange(null);
    return;
  }

  if (promptRectColor == newValue)
    return;

  _promptRectPaint.color = newValue;
  if (_promptRectRange != null)
    markNeedsPaint();
}