onComponentDirty method

void onComponentDirty(
  1. Component component
)

Implementation

void onComponentDirty(Component component) {
  if ((dirt & ComponentDirt.components) == 0) {
    context?.markNeedsAdvance();
    _dirt |= ComponentDirt.components;
  }
  if (component.graphOrder < _dirtDepth) {
    _dirtDepth = component.graphOrder;
  }
}