-
public final class ManualComposableCallsBuilderKt
-
-
Method Summary
Modifier and Type Method Description final static <T extends Any> UnitbottomSheetComposable(ManualComposableCallsBuilder $self, TypedDestinationSpec<T> destination, Function1<BottomSheetDestinationScope<T>, Unit> content)Registers content lambda as the responsible for calling the Composable correspondent to destination. -
-
Method Detail
-
bottomSheetComposable
final static <T extends Any> Unit bottomSheetComposable(ManualComposableCallsBuilder $self, TypedDestinationSpec<T> destination, Function1<BottomSheetDestinationScope<T>, Unit> content)
Registers content lambda as the responsible for calling the Composable correspondent to destination.
When destination is navigated to, content will be called with the correct DestinationScope containing the navigation arguments, the back stack entry and navigators.
Like composable but the content is scoped in a BottomSheetDestinationScope.
Can only be called if you're using "io.github.raamcosta.compose-destinations:bottom-sheet" and the destination has a DestinationSpec.style of com.ramcosta.composedestinations.bottomsheet.spec.DestinationStyleBottomSheet
-
-
-
-