SnackBarProperties

data class SnackBarProperties(val message: String? = null, val title: String = "Validation Error", val modifier: Modifier = Modifier.fillMaxWidth(), val margin: PaddingValues = PaddingValues(16.dp), val titleStyle: TextStyle? = null, val messageStyle: TextStyle? = null, val backgroundColor: Color? = null, val shape: Shape = RoundedCornerShape(8.dp), val visibleDuration: Duration = 3000.milliseconds, val enterTransition: EnterTransition = fadeIn() + expandIn(), val exitTransition: ExitTransition = shrinkOut() + fadeOut())

SnackBar properties for Form

Constructors

Link copied to clipboard
constructor(message: String? = null, title: String = "Validation Error", modifier: Modifier = Modifier.fillMaxWidth(), margin: PaddingValues = PaddingValues(16.dp), titleStyle: TextStyle? = null, messageStyle: TextStyle? = null, backgroundColor: Color? = null, shape: Shape = RoundedCornerShape(8.dp), visibleDuration: Duration = 3000.milliseconds, enterTransition: EnterTransition = fadeIn() + expandIn(), exitTransition: ExitTransition = shrinkOut() + fadeOut())

Properties

Link copied to clipboard
val backgroundColor: Color? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val message: String? = null
Link copied to clipboard
val messageStyle: TextStyle? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val titleStyle: TextStyle? = null
Link copied to clipboard