sendNavigatorStackChanged method

void sendNavigatorStackChanged()

Implementation

void sendNavigatorStackChanged() {
  if (Platform.isIOS) {
    /// iOS需要监听flutter端是否可以继续pop以便控制popGesture手势
    methodChannel.send({"event": "canPop", "data": navigator?.canPop() ?? false});
  }
}