DynamicTableDataCell class

The data for a cell of a DynamicTable.

One list of DynamicTableDataCell objects must be provided for each DynamicTableDataRow in the DynamicTable, in the new DynamicTableDataRow constructor's cells argument.

Constructors

DynamicTableDataCell({required dynamic value, bool placeholder = false, bool showEditIcon = false, void onTap()?, void onLongPress()?, void onTapDown(TapDownDetails)?, void onDoubleTap()?, void onTapCancel()?})
Creates an object to hold the data for a cell in a DynamicTable.

Properties

hashCode → int
The hash code for this object.
no setterinherited
onDoubleTap → void Function()?
Called when the cell is double tapped.
final
onLongPress → void Function()?
Called if the cell is long-pressed.
final
onTap → void Function()?
Called if the cell is tapped.
final
onTapCancel → void Function()?
Called if the user cancels a tap was started on cell.
final
onTapDown → void Function(TapDownDetails)?
Called if the cell is tapped down.
final
placeholder → bool
If this is true, the default text style for the cell is changed to be appropriate for placeholder text.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showEditIcon → bool
Whether to show an edit icon at the end of the cell.
final
value ↔ dynamic
getter/setter pair

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