PlexDataTableValueCell.custom constructor
PlexDataTableValueCell.custom(})
For custom design and handling of cell use this constructor.
value
is optional
cell
is required for custom cell
Implementation
PlexDataTableValueCell.custom(
String columnName,
String textValue,
Widget widget, {
bool numberField = false,
}) : super(columnName: columnName, value: PlexComparableWidget(widget, textValue)) {
cellValue = textValue;
isWidget = true;
isNumber = numberField || value is int || value is double;
}