CsSupportPrompt class

One support prompt (Cloudscape SupportPromptGroupProps.Item).

Annotations

Constructors

CsSupportPrompt({required String id, required String text, Widget? textWidget, CsIconData? icon, Widget? iconWidget, CsSupportPromptIconPosition iconPosition = CsSupportPromptIconPosition.left, CsSupportPromptIconVerticalAlignment iconVerticalAlignment = CsSupportPromptIconVerticalAlignment.start, String? ariaLabel})
const

Properties

ariaLabel → String?
Accessible name that replaces text.
final
hashCode → int
The hash code for this object.
no setterinherited
icon → CsIconData?
A built-in icon (Cloudscape iconName).
final
iconPosition → CsSupportPromptIconPosition
final
iconVerticalAlignment → CsSupportPromptIconVerticalAlignment
final
iconWidget → Widget?
A custom icon (Cloudscape iconSvg). Takes precedence over icon.
final
id → String
Identifier passed to CsSupportPromptGroup.onItemClick.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text → String
The prompt text.
final
textWidget → Widget?
Rich content shown instead of text (Cloudscape takes a ReactNode).
final

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