insets property

EdgeInsets get insets

The safe area insets.

Example:

context.show(
  (overlay) => Padding(
    padding: overlay.safeArea.insets,
    child: const Text('Hello'),
  ),
);

Implementation

EdgeInsets get insets =>
    EdgeInsets.only(top: top, bottom: bottom, left: left, right: right);