Extra white space appears after content ends in flutter
On iOS, when scrolling down a SingleChildScrollView, extra white space appears after content ends.
On Android, this doesn’t happen.
Cause:
By default, iOS uses BouncingScrollPhysics, which allows over-scrolling (rubber-band effect).
This creates the white space at the end.
Solution:
Set physics: ClampingScrollPhysics() to disable bouncing and match Android behavior.
Comments
Post a Comment