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 plain compact icon button. Provide label and optional icon (LucideIcons) + optional color for the hover tint (e.g.theme.dangerfor "Elimina"). The content field is unused in inline mode.
Constructors
Properties
- backgroundColor → Color?
-
Sfondo del tile nello swipe-reveal mobile.
null→ grigio (theme.muted). Es.theme.danger.withValues(alpha: 0.12)per un Elimina rosso trasparente.final - color → Color?
-
Inline button tonal color (used when inline is true). Defaults to
theme.primary. Tinta icona/testo (es.theme.dangerper "Elimina").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 plain compact icon button directly
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