Function
Common
fun SemanticsPropertyReceiver.dismiss(label: String? = null, action: (() -> Boolean)?)

Action to dismiss a dismissible node.

Parameters

label Optional label for this action.
action Action to be performed when the SemanticsActions.Dismiss is called.