safeAreasOn method

EdgeInsets safeAreasOn(
  1. Orientation orientation
)

The safe area choice depends on the orientation.

Implementation

EdgeInsets safeAreasOn(Orientation orientation) =>
    orientation == Orientation.portrait
        ? safeAreas
        : rotatedSafeAreas ?? safeAreas;