onSearchTap property

void Function(List<ConversationItemModel> data)? onSearchTap
final

点击搜索按钮的回调,点击后会把当前的会话列表数据传递过来。如果不设置默认会跳转到搜索页面。具体参考 SearchView

Implementation

final void Function(List<ConversationItemModel> data)? onSearchTap;