CupertinoGestureNavigationDecoration

constructor(enterOffsetFraction: Float = 0.25f, swipeThreshold: ThresholdConfig = FractionalThreshold(0.4f), swipeBackFromNestedScroll: Boolean = true, onBackInvoked: () -> Unit)(source)

Parameters

enterOffsetFraction

The fraction (from 0f to 1f) of the entering content's width which the content starts from. Defaults to 0.25f (25%).

swipeThreshold

The threshold used for determining whether the swipe has 'triggered' a back event or not. Defaults a swipe of at least 40% of the width.

swipeBackFromNestedScroll

Whether nested scroll events should be used to perform gesture navigation. This is useless when you have full width horizontally scrolling layouts. Defaults to true.