viewInsets property
final
The number of physical pixels on each side of the display rectangle into which the application can render, but over which the operating system will likely place system UI, such as the keyboard, that fully obscures any content.
Implementation
final EdgeInsets viewInsets