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 |
backgroundColor
|
The background color of the view. The default value is |
borderWidth
|
The width of the border surrounding the toast message. The default value is |
borderColor
|
The color of the border surrounding the toast message. The default value is |
borderWidthIC
|
The width of the border surrounding the toast message when Increase Contrast is enabled. The default value is |
borderColorIC
|
The color of the border surrounding the toast message when Increase Contrast is enabled. The default value is |
shadow
|
A shadow to render underneath the view. The default value is |
-
Undocumented
Declaration
Swift
public init(cornerRadius: CGFloat = 14, backgroundColor: Color = Color.preferredColor(.tertiaryFill), borderWidth: CGFloat = 0, borderColor: Color = Color.clear, borderWidthIC: CGFloat = 1, borderColorIC: Color = Color.preferredColor(.tertiaryLabel), shadow: FioriShadowStyle? = FioriShadowStyle.level3) -
Undocumented
Declaration
Swift
public func makeBody(_ configuration: ToastMessageConfiguration) -> some View