New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add backGestureDetectionStart parameter #14
Conversation
Add ability to control the start position of gesture detection area. Fix docs about backGestureDetectionWidth, because it does not to what is wriiten in the docs
/// If [canOnlySwipeFromEdge] is set to `true`, this value controls | ||
/// width of gesture detection area | ||
final double backGestureDetectionWidth; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// If [canOnlySwipeFromEdge] is set to `true`, this value controls | |
/// width of gesture detection area | |
final double backGestureDetectionWidth; | |
/// If [canOnlySwipeFromEdge] is set to `true`, this value controls the width | |
/// of the gesture detection area. | |
/// | |
/// For comparison, in [CupertinoPageRoute] this value is `20`. |
/// | ||
/// In [CupertinoPageRoute], this value is `20`. | ||
final double backGestureDetectionWidth; | ||
final double backGestureDetectionStart; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about renaming this to backGestureDetectionStartOffset
? That might be more explicit and easier to understand without having to read the doc comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
backGestureDetectionStart looks fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I mean backGestureDetectionStartOffset
You should fix change
This is now published as part of v0.2.2. Thanks for contributing! |
Closes: #13
Add ability to control the start position of gesture detection area.
Fix docs about backGestureDetectionWidth, because it does not to what is wriiten in the docs