removeRow method

void removeRow(
  1. FlexTableRow row
)

Remove the row from the FlexTable. This will post an event to the rowStream if the row is removed.

If multiple rows are being removed, use removeRows instead as that will only fire a single event once all rows have been removed.

Implementation

void removeRow(FlexTableRow row) {
  final removed = _allRows.remove(row);

  if (removed) {
    _sortAndFilter();
  }
}