viewInsets property

EdgeInsets get viewInsets

Retrieves the view insets of the current media query in the current context, similar to MediaQuery.of(context).viewInsets.

Implementation

EdgeInsets get viewInsets => MediaQuery.viewInsetsOf(this);