The problem is that I want to have a custom padding for my title in my SliverAppBar. I set it in the FlexibleSpaceBar. The problem is that if you set the custom padding, the title goes under the back button when it collapses. It should go back to its normal AppBar position next to the back button.
Is there a way to solve this problem?
FlexibleSpaceBar(
title: Text('Timeline',
style: TextStyle(
color: Colors.black, fontWeight: FontWeight.w900)),
titlePadding: EdgeInsetsDirectional.only(start: 20, bottom: 15),
centerTitle: false,
),
),