scheduleRebuild property

VoidCallback? scheduleRebuild
final

An optional VoidCallback that will be called when Elements in this BuildScope are marked as dirty for the first time.

This callback usually signifies that the BuildOwner.buildScope method must be called at a later time in this frame to rebuild dirty elements in this BuildScope. It will not be called if this scope is actively being built by BuildOwner.buildScope, since the BuildScope will be clean when BuildOwner.buildScope returns.

Implementation

final VoidCallback? scheduleRebuild;