PlexDataCell.custom constructor

PlexDataCell.custom(
  1. dynamic value,
  2. DataCell? cell, {
  3. bool numberField = false,
})

For custom design and handling of cell use this constructor. value is optional cell is required for custom cell

Implementation

PlexDataCell.custom(this.value, this.cell, {bool numberField = false}) {
  if (value == null && cell == null) value = "";
  isNumber = numberField || value is int || value is double;
}