searchBuilder property

Widget Function(BuildContext context, dynamic onChange(String))? searchBuilder
final

While using searchBuilder, hideSearch should be set to false. You will get a BuildContext context instance, Function(String) onChange function as callback arguments. Make to assign the onChange function to the onChanged property of the TextField widget. This will enable the filteration logic.

Implementation

final Widget Function(BuildContext context, Function(String) onChange)?
    searchBuilder;