This repository was archived by the owner on Sep 18, 2025. It is now read-only.

Description
Instead of passing in a single BackstackTransition, should take a function of (top: T, below: T, direction) -> BackstackTransition. Should provide a helper to convert a BackstackTransition into a function that returns that transition for all values.
The function could actually be a single-method interface that BT implements, and until fun interface support lands in 1.4 we could provide a transitionFor { top, next, dir -> } builder function.