英文:
Make collapsible profile screen which pins profile picture to appbar
问题
我正在尝试实现以下屏幕转换,但在如何进行操作方面遇到了挑战。
英文:
I am trying to implement the following screen transition and I am facing challenges on how to go about it.
答案1
得分: 1
你需要使用的小部件是SliverAppBar
。您可以查看以下参考资料:
- Flutter的介绍:https://www.youtube.com/watch?v=mSc7qFzxHDw
- SliverAppBar类:https://api.flutter.dev/flutter/material/SliverAppBar-class.html
- FlexibleSpaceBar类:https://api.flutter.dev/flutter/material/FlexibleSpaceBar-class.html
- 自定义SliverAppBar:https://stackoverflow.com/questions/71470499
英文:
The widget you need to use is SliverAppBar
. You can checkout these references:
- Flutter's Introduction: https://www.youtube.com/watch?v=mSc7qFzxHDw
- SliverAppBar class: https://api.flutter.dev/flutter/material/SliverAppBar-class.html
- FlexibleSpaceBar class: https://api.flutter.dev/flutter/material/FlexibleSpaceBar-class.html
- Custom SliverAppBar: https://stackoverflow.com/questions/71470499
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论