onQueryChange property
final
is a callback function which accepts widget's prevQuery and nextQuery as parameters.
It is called everytime the widget's query changes. This property is handy in cases where you want to generate a side-effect whenever the widget's query would change.
Implementation
final void Function(Map next, {Map prev}) onQueryChange;