updateSearchMatches method

void updateSearchMatches({
  1. required int current,
  2. required int total,
})

Updates search match statistics.

Implementation

void updateSearchMatches({
  required int current,
  required int total,
}) {
  _currentMatch = current;
  _totalMatches = total;
  _notify();
}