SnackbarBehavior class abstract final

What Compose's Snackbar sets in code (behavior.yaml, verified at the pin).

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

containerMaxWidth → const Dp
The greatest width of a snackbar's content row (inside its start and end padding). (Snackbar.kt line 604.)
heightToFirstLine → const Dp
A multi-line snackbar's first text baseline, from the container's top. (Snackbar.kt line 606.)
horizontalSpacing → const Dp
The padding before a snackbar's text. (Snackbar.kt line 608.)
horizontalSpacingButtonSide → const Dp
The padding after a snackbar's action when it has no dismiss button. (Snackbar.kt line 610.)
longButtonVerticalOffset → const Dp
With the action on its own line, the text's last baseline to the action row's top. (Snackbar.kt line 618.)
margin → const Dp
The space a shown snackbar keeps around itself, on every side (Snackbar(snackbarData)). (Snackbar.kt line 272.)
separateButtonExtraY → const Dp
The padding below the action row of a snackbar whose action sits on its own line. (Snackbar.kt line 612.)
textEndExtraSpacing → const Dp
The gap a one-row snackbar keeps after its text when it has no dismiss button. (Snackbar.kt line 616.)
verticalPadding → const Dp
The padding above and below a one-row snackbar's text. (Snackbar.kt line 614.)