activate method
Called when this object is reinserted into the tree after having been
removed via deactivate
.
Implementation
@override
void activate() {
super.activate();
// Introduce its own error handler
FlutterError.onError = _errorHandler;
}