onBuild property

VoidCallback onBuild
final

Called when it is safe to update the render box and its descendants. If you update the RenderObject subtree under this widget outside of invocations of this callback, features like hit-testing will fail as the tree will be dirty.

Implementation

final VoidCallback onBuild