useRebuild function

VoidCallback useRebuild()

Calling the function causes the enclosing HookWidet or HookBuilder to rebuild.

Implementation

VoidCallback useRebuild() {
  return use(const _RebuildHook());
}