Reputation: 2680
I'm aware of the ability to detect landscape vs portrait, but I'd like to vary how I'm using the safe area on devices with notch features (iPhone X) based on if the notch is on the left when in landscape left or on the right when in landscape right. In swift you can do this: UIDevice.currentDevice().orientation == UIDeviceOrientation.LandscapeRight
Upvotes: 5
Views: 2325
Reputation: 3015
Flutter don't give us left or right yet but this library can help you.
Upvotes: 4