-
public final class BackButtonKt
-
-
Method Summary
Modifier and Type Method Description final static UnitBackButton(Painter painter, Function0<Unit> onBackPressed, Modifier modifier)Basic back button, that shows an icon and calls onBackPressed when tapped. -
-
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.
-
-
-
-