safeAreasOn method
The safe area choice depends on the orientation.
Implementation
EdgeInsets safeAreasOn(Orientation orientation) =>
orientation == Orientation.portrait
? safeAreas
: rotatedSafeAreas ?? safeAreas;
The safe area choice depends on the orientation.
EdgeInsets safeAreasOn(Orientation orientation) =>
orientation == Orientation.portrait
? safeAreas
: rotatedSafeAreas ?? safeAreas;