scrollPadding property
Configures padding to edges surrounding a Scrollable when this text field scrolls into view.
Defaults to EdgeInsets.all(20)
.
When this widget receives focus and is not completely visible (for example scrolled partially off the screen or overlapped by the keyboard) then it will attempt to make itself visible by scrolling a surrounding Scrollable, if one is present. This value controls how far from the edges of a Scrollable the TextField will be positioned after the scroll.
Implementation
final EdgeInsets scrollPadding;