Issue
I want to achieve a design similar to the below image. I have used SliverList with CustomScrollView. Now, How can I add a title to the SliverList?
There are multiple horizontal and vertical scroll views therefore I am using CustomScrollView to optimize the performance.
Solution
try to use SliverToBoxAdapter between SliverList:
SliverToBoxAdapter(
child: Text('Covid info'),
)
Answered By - Jim
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.