onUpdated function

void onUpdated(
  1. void callback(
    1. StatefulWidget
    )
)

Registers a callback to be called when the widget is updated.

Implementation

void onUpdated(void Function(StatefulWidget) callback) =>
    _lifeContext.onUpdated(callback);