markDrawOrderDirty method Null safety

void markDrawOrderDirty()

Let the artboard know that the drawables need to be resorted before drawing next.

Implementation

void markDrawOrderDirty() {
  if ((dirt & ComponentDirt.drawOrder) == 0) {
    context.markNeedsAdvance();
    _dirt |= ComponentDirt.drawOrder;
  }
}