onUpdated function

void onUpdated(
  1. void hook()
)

Called after the component is updated

Implementation

void onUpdated(void Function() hook) {
  _registerHook(Lifecycle.updated, hook);
}