Widget.dispose

Deterministically tear the widget down: dispose children, detach from the parent, destroy the native window, unregister it, and release the GC root. Idempotent — safe to call more than once.

class Widget
void
dispose
()

Meta