DynamicTableDataCell constructor

DynamicTableDataCell({
  1. required dynamic value,
  2. bool placeholder = false,
  3. bool showEditIcon = false,
  4. void onTap()?,
  5. void onLongPress()?,
  6. void onTapDown(
    1. TapDownDetails
    )?,
  7. void onDoubleTap()?,
  8. void onTapCancel()?,
})

Creates an object to hold the data for a cell in a DynamicTable.

The first argument is the data to show for the cell, and must not be null.

If the cell has no data, placeholder text should be provided instead, and then the placeholder argument should be set to true.

Implementation

DynamicTableDataCell({
  required this.value,
  this.placeholder = false,
  this.showEditIcon = false,
  this.onTap,
  this.onLongPress,
  this.onTapDown,
  this.onDoubleTap,
  this.onTapCancel,
});