onQueryChange property Null safety
final
It 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;