void removeScopedWillPopCallback(WillPopCallback callback)

Remove one of the callbacks run by willPop.

See also:

Source

void removeScopedWillPopCallback(WillPopCallback callback) {
  assert(_scopeKey.currentState != null);
  _scopeKey.currentState.removeWillPopCallback(callback);
}