foregroundPainter property

RenderEditablePainter? get foregroundPainter

The RenderEditablePainter to use for painting above this RenderEditable's text content.

The new RenderEditablePainter will replace the previously specified foreground painter, and schedule a repaint if the new painter's shouldRepaint method returns true.

Implementation

RenderEditablePainter? get foregroundPainter => _foregroundPainter;
set foregroundPainter (RenderEditablePainter? newPainter)

Implementation

set foregroundPainter(RenderEditablePainter? newPainter) {
  if (newPainter == _foregroundPainter) {
    return;
  }
  _updateForegroundPainter(newPainter);
}