TableAction<T extends Object> class
Action available on a table row.
Two display modes:
- Popup (default
inline: false): rendered inside the 3-dot menu. Provide content (typically aTableActionItem(name, iconData)). - Inline (
inline: true): rendered directly in the row as a compactCLOutlineButton. Provide label and optional icon (LucideIcons) + optional color for tonal variant (e.g.theme.dangerfor "Elimina"). The content field is unused in inline mode.
Constructors
Properties
- color → Color?
-
Inline button tonal color (used when inline is true). Defaults to
theme.primary.final - content → Widget
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData?
-
Inline button icon (used when inline is true).
final
- inline → bool
-
When true, this action renders as a compact
CLOutlineButtondirectly inline in the row, before the 3-dot popup menu.final - label → String?
-
Inline button label (used when inline is true).
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
-
onTap(
Object item) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited