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.

dart
body: SingleChildScrollView( physics: ClampingScrollPhysics(), // ✅ fixes iOS white space controller: _scrollController, child: ... )

Comments

Popular posts from this blog

Learning basics for Backend Developer | build setup

Bponi November 26 2025

make this project