onActive method

  1. @protected
  2. @mustCallSuper
void onActive(
  1. bool first
)

Implementation

@protected
@mustCallSuper
void onActive(bool first) {
  if (_pushParentHistory && widget.factoryObject.parentPageFactory != null) {
    var tStandardPageInterface =
        ModalRoute.of(context)?.settings as StandardPageInterface;

    scheduleFunction(() {
      if (_active && mounted) {
        _delegate._pushParentPageHistory(tStandardPageInterface);
      }
    });
  }
}