Package 

Class ManualComposableCallsBuilderKt

    • Method Summary

      Modifier and Type Method Description
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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