query property

String query

The current query of the FloatingSearchBar.

Implementation

String get query => _appBarState?.query ?? '';
void query=(String query)

Sets the query of the input of the FloatingSearchBar.

Implementation

set query(String query) {
  if (_appBarState == null) {
    postFrame(() => _appBarState?.query = query);
  } else {
    _appBarState?.query = query;
  }
}