dispose method
Called when this state object is removed from the tree permanently.
Implementation
@override
void dispose() {
_focusNode.removeListener(_onFocusChange);
FocusManager.instance.unregisterNode(_focusNode);
if (_isFocusNodeOwned) {
_focusNode.dispose();
}
super.dispose();
}