painter property

RenderEditablePainter? painter

Sets the RenderEditablePainter to use for painting beneath this RenderEditable's text content.

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

Implementation

RenderEditablePainter? get painter => _painter;
void painter=(RenderEditablePainter? newPainter)

Implementation

set painter(RenderEditablePainter? newPainter) {
  if (newPainter == _painter) {
    return;
  }
  _updatePainter(newPainter);
}