Package 

Class BackButtonKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit BackButton(Painter painter, Function0<Unit> onBackPressed, Modifier modifier) Basic back button, that shows an icon and calls onBackPressed when tapped.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • BackButton

        @Composable() final static Unit BackButton(Painter painter, Function0<Unit> onBackPressed, Modifier modifier)

        Basic back button, that shows an icon and calls onBackPressed when tapped.

        Parameters:
        painter - The icon or image to show.
        onBackPressed - Handler for the back action.
        modifier - Modifier for styling.