filter method

void filter(
  1. int? index,
  2. String? value
)

Sets the current filter and applies it to the FlexTable. If either the index or value is set to null, this will disable the sorting.

Implementation

void filter(int? index, String? value) {
  _filterIndex = index;
  _filterValue = value;

  _sortAndFilter();
}