Package-level declarations

Types

Link copied to clipboard
class CupertinoGestureNavigationDecoration(enterOffsetFraction: Float = 0.25f, swipeThreshold: ThresholdConfig = FractionalThreshold(0.4f), swipeBackFromNestedScroll: Boolean = true, onBackInvoked: () -> Unit) : NavDecoration

Cupertino specific version of GestureNavigationDecoration. This is shipped as common code, to allow easier debugging and testing of this implementation from any platform.

Functions

Link copied to clipboard
actual fun GestureNavigationDecoration(fallback: NavDecoration, onBackInvoked: () -> Unit): NavDecoration
expect fun GestureNavigationDecoration(fallback: NavDecoration = NavigatorDefaults.DefaultDecoration, onBackInvoked: () -> Unit): NavDecoration

Returns a NavDecoration implementation which support navigation through appropriate gestures on certain platforms.

actual fun GestureNavigationDecoration(fallback: NavDecoration, onBackInvoked: () -> Unit): NavDecoration
actual fun GestureNavigationDecoration(fallback: NavDecoration, onBackInvoked: () -> Unit): NavDecoration
actual fun GestureNavigationDecoration(fallback: NavDecoration, onBackInvoked: () -> Unit): NavDecoration
actual fun GestureNavigationDecoration(fallback: NavDecoration, onBackInvoked: () -> Unit): NavDecoration