setState method

  1. @protected
void setState(
  1. ViewportAxisContextState newValue
)

Implementation

@protected
void setState(ViewportAxisContextState newValue) {
  if (_value == newValue) {
    return;
  }
  _value = newValue;
  notifyListeners();
}