widget/kaeru_widget/life library
Functions
-
onActivated(
VoidCallback callback) → void - Registers a callback to be called when the widget is activated.
-
onBeforeBuild(
void callback(BuildContext context)) → void - Registers a callback to be called before the widget is built.
-
onBeforeUnmount(
VoidCallback callback) → void - Registers a callback to be called before the widget is unmounted.
-
onDeactivated(
VoidCallback callback) → void - Registers a callback to be called when the widget is deactivated.
-
onDebugFillProperties(
void callback(DiagnosticPropertiesBuilder properties)) → void - Registers a callback to be called when the widget's properties are being filled for debugging.
-
onDependenciesChanged(
VoidCallback callback) → void - Registers a callback to be called when the widget's dependencies change.
-
onMounted(
VoidCallback callback) → void - Registers a callback to be called when the widget is first mounted.
-
onUpdated(
void callback(StatefulWidget)) → void - Registers a callback to be called when the widget is updated.