PiN73
PiN73
Honestly I don't have deep understanding how does *gesture disambiguation* works in Flutter. The way I've made this package is 1) Forked [CupertinoPageRoute](https://github.com/flutter/flutter/blob/9734754aadef6b173d830f7ea3b84fe0aaaf3de5/packages/flutter/lib/src/cupertino/route.dart) class from Flutter source 1) [Replaced](https://github.com/PiN73/cupertino_back_gesture/commit/1264bfd201cac6b0e859d7af3971c77f2aa65aad#diff-6400939754d0a3f4ce3a1bfada08c38a) constant...
Swipe detection in CupertinoPageRoute is [implemented](https://github.com/flutter/flutter/blob/9734754aadef6b173d830f7ea3b84fe0aaaf3de5/packages/flutter/lib/src/cupertino/route.dart#L561) this way: ```dart Stack( fit: StackFit.passthrough, children: [ widget.child, PositionedDirectional( start: 0.0, width: dragAreaWidth, top: 0.0, bottom: 0.0, child: Listener( onPointerDown: _handlePointerDown, behavior: HitTestBehavior.translucent,...
This package doesn't allow such customizations because it's just a fork of flutter's default cupertino page route only allowing to customize gesture width. Consider using [showBottomSheet](https://api.flutter.dev/flutter/material/ScaffoldState/showBottomSheet.html) function or [modal_bottom_sheet](https://pub.dev/packages/modal_bottom_sheet) package
If you are using `MaterialApp` as root widget and `MaterialPageRoute` in `onGenerateRoute`, it will work properly. If your use case is different, let me know
Sorry for the long answer. If the issue still occurs, please show your `flutter --version`