Placement

object Placement

Functions

Link copied to clipboard
fun alignmentOf(placement: String): String

Extracts the horizontal alignment of the toast out of the general placement. This can be useful for aligning the messages according to their horizontal placement.

Link copied to clipboard
fun appearsFromBottom(toasts: List<ToastComponentBase.ToastFragment>): Boolean

Properties

Link copied to clipboard
const val bottom: String
Link copied to clipboard
const val bottomLeft: String
Link copied to clipboard
const val bottomRight: String
Link copied to clipboard
val placements: List<String>
Link copied to clipboard
const val top: String
Link copied to clipboard
const val topLeft: String
Link copied to clipboard
const val topRight: String