How do I an extra widget in between SliverAppBar and SliverList/Grid?

Issue

I want to add a similar item between my SliverAppBar and SliverList. I tried using a regular Row, but it kept throwing an exception. I know about SliverPadding, so I was wondering if there’s something similar. Any help would be greatly appreciated.

img

Solution

try SliverToBoxAdapter, reference:

SliverToBoxAdapter(
  child: Row
)

Answered By – Jim

Answer Checked By – Mildred Charles (FlutterFixes Admin)

Leave a Reply

Your email address will not be published.