dispose method

  1. @override
void dispose()
inherited

Dispose (call in unmount react control) Вызвать при удалении контрола

Implementation

@override
void dispose() {
  super.dispose();
  if (this._reactionOnInternalValue != null) {
    this._reactionOnInternalValue!();
  }
  this.controller?.dispose();
  this.focusNode?.dispose();
  if (this._reactionOnValueGetterDisposer != null) {
    this._reactionOnValueGetterDisposer!();
  }
  if (this._reactionOnInternalValueDisposer != null) {
    this._reactionOnInternalValueDisposer!();
  }
  this._reactionOnIsActiveDisposer();
  this._reactionOnIsDirtyDisposer();
  this._reactionOnIsFocusedDisposer();
}