setNativePopGestureEnabled method

  1. @override
Future<void> setNativePopGestureEnabled(
  1. bool enabled
)
override

Enable/disable native iOS swipe-back gesture for this container.

This is used by InlayNativePopGestureObserver to prevent native container pop while the in-Flutter navigator can handle back. No-op on Android.

Implementation

@override
Future<void> setNativePopGestureEnabled(bool enabled) async {
  nativePopGestureEnabled = enabled;
}