public native repaintWidget(widget as Widget) as Void
Repaints a single widget when the backend can safely do it.
This method is primarily used by Widget.repaint() to keep keyboard input, caret blinking and small visual state changes responsive without rebuilding the whole window. Complex widgets with floating popups may still fall back to a full repaint.
field.repaint()