Two Buttons Raw
fun TwoButtonsRaw(positiveAction: () -> Unit, positiveText: String, negativeAction: () -> Unit?, negativeText: String = stringResource(R.string.btn_back), showNegative: Boolean = true, disablePositive: Boolean = false, modifier: Modifier = Modifier)
Deprecated
Use M3X instead of the com.porg.m3 package. Or, switch to TwoButtons, which now behaves like a bottom app bar too.
Replace with
import tech.cataspect.m3x.TwoButtonsRaw
Content copied to clipboard
tech.cataspect.m3x.TwoButtonsRaw(positiveAction, positiveText, negativeAction, negativeText, showNegative, disablePositive, modifier)
Content copied to clipboard