-
Notifications
You must be signed in to change notification settings - Fork 29.1k
Closed
Labels
customer: googleVarious Google teamsVarious Google teamsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.
Description
Here's a sample app: https://gist.github.com/mehmetf/0bae55d83574e378705174bd9fec012b
When SafeArea is not used, in landscape:
- there is padding added in at the start and end of the ListViews
- the FAB is also offset
- the padding is larger than the actual notch (see screenshots 1, 2, 3, and 4).
When SafeArea is used, in landscape:
- there is padding added on both ends
- the padding is larger than the actual notch (see screenshots 5 and 6)
iPhone X screenshots:
iPhone X/without SafeArea/Portrait: padding=EdgeInsets(0.0, 44.0, 0.0, 34.0) : viewInsets=EdgeInsets.zero
iPhone X/without SafeArea/Landscape: padding=EdgeInsets(44.0, 0.0, 44.0, 21.0) : viewInsets=EdgeInsets.zero
iPhone X/with SafeArea/Portrait: padding=EdgeInsets(0.0, 44.0, 0.0, 34.0) : viewInsets=EdgeInsets.zero
iPhone X/with SafeArea/Landscape: padding=EdgeInsets(44.0, 0.0, 44.0, 21.0) : viewInsets=EdgeInsets.zero
Metadata
Metadata
Assignees
Labels
customer: googleVarious Google teamsVarious Google teamsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.