TableRowAction<T> class

Lightweight action descriptor consumed by TableColumnBuilder.actionColumn.

Wraps an icon, optional tooltip and tap handler that receives the row item.

Constructors

TableRowAction({required IconData icon, required void onPressed(T), String? tooltip})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
icon IconData
Icon rendered inside the IconButton.
final
onPressed → void Function(T)
Callback invoked with the row item when the action is tapped.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tooltip String?
Optional tooltip displayed on hover/long-press.
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