onNeedVisualUpdate property

VoidCallback? onNeedVisualUpdate

Called when a render object associated with this pipeline owner wishes to update its visual appearance.

Typical implementations of this function will schedule a task to flush the various stages of the pipeline. This function might be called multiple times in quick succession. Implementations should take care to discard duplicate calls quickly.

When the PipelineOwner is attached to a PipelineManifold and onNeedVisualUpdate is provided, the onNeedVisualUpdate callback is invoked instead of calling PipelineManifold.requestVisualUpdate.


final VoidCallback? onNeedVisualUpdate;