onReady method

  1. @mustCallSuper
void onReady()

Called when the widget is ready and the widget tree is fully built.

This method is typically used to perform tasks that require the widget tree to be fully built and ready for interaction.

It is recommended to use this method to subscribe to reactive variables and perform other initialization tasks.

Implementation

@mustCallSuper
void onReady() {
  Logger.info('onReady of $runtimeType called', tag: 'ReactiveController');
}