ToastMessageRoundedBorderStyle

public struct ToastMessageRoundedBorderStyle : ToastMessageStyle

Returns a toast message with modified style parameters.

Parameters

cornerRadius

A number specifying how rounded the corners of the view should be. The default value is 14.

backgroundColor

The background color of the view. The default value is Color.preferredColor(.tertiaryFill).

borderWidth

The width of the border surrounding the toast message. The default value is 0.

borderColor

The color of the border surrounding the toast message. The default value is Color.clear.

borderWidthIC

The width of the border surrounding the toast message when Increase Contrast is enabled. The default value is 1.

borderColorIC

The color of the border surrounding the toast message when Increase Contrast is enabled. The default value is Color.preferredColor(.tertiaryLabel).

shadow

A shadow to render underneath the view. The default value is FioriShadowStyle.level3.