dirty method
void
dirty()
Marks the user interface as needing to be rendered.
Call this during update to indicate that a subsequent call to render is needed.
Implementation
void dirty() {
// If we aren't bound (yet), just do nothing. The screen will be dirtied
// when it gets bound.
if (_ui == null) return;
_ui!.dirty();
}