Prompt Bottom Sheet Configuration

inner class PromptBottomSheetConfiguration

Configuration for the prompt BottomSheet

Constructors

Link copied to clipboard
fun PromptBottomSheetConfiguration()

Functions

Link copied to clipboard
fun withNegative(negativeTitle: String, negativeAction: () -> Unit? = null)
Link copied to clipboard
fun withPositive(positiveTitle: String, positiveAction: () -> Unit? = null)

Properties

Link copied to clipboard
var message: String

Message of the prompt

Link copied to clipboard
var negativeAction: () -> Unit? = null

action to run when negative button is clicked, default null

Link copied to clipboard
var negativeTitle: String? = null

text to display for the negative button, default null

Link copied to clipboard
var positiveAction: () -> Unit? = null

action to run when positive button clicked, default null

Link copied to clipboard
var positiveTitle: String

text to display for the positive button

Link copied to clipboard
var title: String

Title of the prompt

Sources

Link copied to clipboard