DataCell constructor Null safety

const DataCell(
  1. Widget child,
  2. {@Default(false) bool placeholder,
  3. @Default(false) bool showEditIcon,
  4. Callback? onTap,
  5. Callback? onLongPress,
  6. Callback? onDoubleTap}
)

Implementation

const factory DataCell(
  Widget child, {
  @Default(false) bool placeholder,
  @Default(false) bool showEditIcon,
  Callback? onTap,
  Callback? onLongPress,
  Callback? onDoubleTap,
}) = _DataCell;