I wanted my button to shift below the content when the keyboard opens or there is no space on the screen, and when there is more space it should stick to the bottom of the screen. For that, I use a CustomScrollView
but now the jittery effect is there. How can I make this transition smooth?
Here is the video of the screen:
Rendered Screen
In order to align my button
on the bottom of the screen, So I used a CustomScrollView
with two sliver widgets SliverToBoxAdapter
and SliverFillRemaining
with hasScrollBody: false
and aligned the button by wrapping in a Align
and set alignment: Alignment.bottomCenter
.
Widget Tree