toDataCell method

DataCell toDataCell({
  1. required double height,
  2. void onTap()?,
})

Implementation

DataCell toDataCell({required double height, void Function()? onTap}) =>
    DataCell(
      Container(
        height: height,
        alignment: Alignment.centerLeft,
        child: child,
      ),
      placeholder: isPlaceholder,
      showEditIcon: showEditIcon,
      onTap: onTap,
      onTapDown: onTapDown,
      onTapCancel: onTapCancel,
      onDoubleTap: onDoubleTap,
      onLongPress: onLongPress,
    );