subscribe method

bool subscribe(
  1. State<StatefulWidget> state
)
inherited

State object becomes a route observer.

Implementation

bool subscribe(State state) => _statesRouteObserver.subscribeState(state);