Check out example codes for "dart input field overflow when keyboard open". It will help you in understanding the concepts better.

Code Example 1

Scaffold(
  resizeToAvoidBottomInset: false,  // to keep the size, when opening the keyboard
  // body: ...
)

Learn ReactJs, React Native from akashmittal.com