I am using the SliverAppBar title and FlexibleSpaceBar content in my widget. However, to avoid FlexibleSpaceBar overlapping SliverAppBar I had to add some SizedBox. In different devices, this height has to be adjusted and FlexibleSpaceBar ends up having space at the bottom. How can I fix this issue?
Also is there a way to hide the FlexibleSpaceBar on the first scroll attempt?
return SliverAppBar(
pinned: true,
expandedHeight: 260,
actions: const [CoinCount()],
title: Text(_getVsText()),
centerTitle: true,
backgroundColor: CustomColors.appBarColor,
flexibleSpace: FlexibleSpaceBar(
background: Column(children: [
const SizedBox(
height: 80,
),
PlayerBanner(

