CsTab class

One tab (Cloudscape TabsProps.Tab).

Annotations

Constructors

CsTab({required String id, required String label, Widget? labelWidget, Widget? content, bool disabled = false, String? disabledReason, bool dismissible = false, String? dismissLabel, bool dismissDisabled = false, VoidCallback? onDismiss, Widget? action})
const

Properties

action → Widget?
A small control after the label, such as an icon button dropdown.
final
content → Widget?
The panel shown while the tab is active.
final
disabled → bool
final
disabledReason → String?
Tooltip explaining why the tab is disabled. Keeps it focusable.
final
dismissDisabled → bool
final
dismissible → bool
Shows a dismiss (close) button after the label.
final
dismissLabel → String?
Accessible name of the dismiss button. Defaults to "Close label".
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
label → String
Tab text, also its accessible name.
final
labelWidget → Widget?
Custom label content in place of label.
final
onDismiss → VoidCallback?
final
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