onBeforeBuild function

void onBeforeBuild(
  1. void callback(
    1. BuildContext context
    )
)

Registers a callback to be called before the widget is built.

Implementation

void onBeforeBuild(void Function(BuildContext context) callback) =>
    _lifeContext.onBeforeBuild(callback);