setActive method

  1. @mustCallSuper
Comp<T> setActive(
  1. bool active
)
inherited

Sets the active state to active and fires the activation hook.

Implementation

@mustCallSuper
E setActive(bool active) {
  _active = active;
  _doOnActivate();
  return self;
}