reportSearchPresented method

void reportSearchPresented(
  1. bool presented
)

Records whether the search field is open in the vertical bar strip.

Called by GlassLargeTitle as its magnifier and ✕ are tapped. You do not normally need to call this yourself.

Implementation

void reportSearchPresented(bool presented) {
  if (presented == _searchPresented) return;
  _searchPresented = presented;
  notifyListeners();
}