How to return a combination of SliverAppBar and SliverList in flutter

Issue

I have an app that has a cart screen, in this screen I want to divide the ordered products according to their respective factories, so I want to use SliverAppBars and SliverLists.

Now what I really need is to make a custom widget that can returns a SliverAppBar and a SliverList together so that I build this widget and get multiple SliverAppBars and SliverLists.

Anyone knows how to do that?

Solution

I found a package on pub.dev that can do that, it’s called sliver_tools and here’s the link to it here

Answered By – Bakri Alkhateeb

Answer Checked By – Dawn Plyler (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published.