onChanged method

void onChanged(
  1. String value
)

Updates the filter text.

value - The new filter text value.

Updates the text filter and re-applies the filter.

Implementation

void onChanged(String value) {
  text = value;
  filter();
}