Flutter- How can I add Title to SliverList's SliverChildBuilderDelegate?


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?

enter image description here

There are multiple horizontal and vertical scroll views therefore I am using CustomScrollView to optimize the performance.


try to use SliverToBoxAdapter between SliverList:

  child: Text('Covid info'),

Answered By – Jim

Answer Checked By – Robin (FlutterFixes Admin)

Leave a Reply

Your email address will not be published. Required fields are marked *