leading property

Widget Function(BuildContext context)? leading
final

Builder function for leading button of search app bar. Defaults to null.

You do NOT need to overwrite this. But if you still want to, don't forget to add stopSearch callback:

Implementation

final Widget Function(BuildContext context)? leading;