setOnSystemBackGesture method
设置系统返回手势的回调
当检测到 iOS 左滑返回手势时,会调用此回调函数。
参数:
callback: 手势触发时的回调函数,传入 null 可清除回调
⚠️ 注意:此方法会直接替换回调,多个页面使用时会有覆盖问题。 推荐使用 registerPopGestureCallback 和 unregisterPopGestureCallback 来管理回调。
Implementation
void setOnSystemBackGesture(VoidCallback? callback) {
throw UnimplementedError(
'setOnSystemBackGesture() has not been implemented.',
);
}