pipeState method
Pipes the state after running createState
in case of
needing to handle the state from outside.
Implementation
@override
State pipeState(State state) {
if (_context != null) {
state.setContext(_context!);
}
return state;
}