[英]Is there any way I can implement pull down appbar in flutter?
Can anyone suggest to me how can I build a pull-down appbar.谁能向我建议如何构建下拉应用栏。 I searched the whole net but can't find any idea regarding this.
我搜索了整个网络,但找不到任何关于此的想法。 It would be great if anyone could guide or suggest to me to build the appbar.
如果有人可以指导或建议我构建应用程序栏,那就太好了。
Edit:- Many developers are saying to use SliverAppBar.编辑:-许多开发人员都说要使用 SliverAppBar。 SliverAppBar basically collapses the app bar when we scroll up the listview or any other widget, whereas I want an app bar that pulls down ie when we tap the app bar and scroll it down only the app bar grows on top of the body.
当我们向上滚动列表视图或任何其他小部件时,SliverAppBar 基本上会折叠应用程序栏,而我想要一个下拉的应用程序栏,即当我们点击应用程序栏并向下滚动时,只有应用程序栏会在主体顶部生长。 So basically when we navigate to the home screen the app bar should look like the second referred image ie it must be closed.
所以基本上当我们导航到主屏幕时,应用栏应该看起来像第二个引用的图像,即它必须关闭。 But we can pull down that appbar to view the hidden contents of the appbar.
但是我们可以下拉那个appbar,查看appbar隐藏的内容。 I am attaching an image for reference.
我附上一张图片以供参考。
I Think what you mean what pull down App is an Appbar that expands try.我想你的意思是什么pull down App是一个扩展try的Appbar。
the silver Appbar https://youtu.be/mSc7qFzxHDw银色 Appbar https://youtu.be/mSc7qFzxHDw
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.