下拉显示搜索栏是否混乱? [英] Pull down to show search bar in flutter?
本文介绍了下拉显示搜索栏是否混乱?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有人知道如何下拉屏幕,它会在顶部显示一个搜索图标按钮,然后显示一个搜索过滤器栏吗?
do anyone know how to have the screen to pull down and it would show a search icon button and then a search filter bar on the top?
例如,在Spotify中,专辑具有搜索功能,当您下拉屏幕时,它会显示搜索过滤器栏以搜索音乐. (我认为).
For example in Spotify, there is a search function for the album, that when you pull the screen down and it show a search filter bar to search for music. (i think).
推荐答案
您正在寻找的是 RefreshIndicator
.您在ListView/GridView/scroll上方插入的内容.
What you're looking for is RefreshIndicator
. Which you insert above your ListView/GridView/scroll.
这篇关于下拉显示搜索栏是否混乱?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文