contentChanged method

void contentChanged(
  1. String content
)

called when the content of the search bar changed

Implementation

void contentChanged(String content) {
  emit(state.copyWith(content: content));
}