Skip to content

home [nfc]: Clean up some dead safe-area code from before bottom-tabs #1550

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chrisbobbe
Copy link
Collaborator

The responsibility for consuming the bottom inset is now external to all of these *PageBody widgets; it's handled by
Scaffold.bottomNavigationBar. So we don't need to forward a bottom-inset value down to descendants
(via SafeArea.bottom: false), and we don't need to add widgets to pad the bottom inset; the bottom-inset height in all these places is zero.

The responsibility for consuming the bottom inset is now external to
all of these *PageBody widgets; it's handled by
Scaffold.bottomNavigationBar. So we don't need to forward a
bottom-inset value down to descendants
(via `SafeArea.bottom: false`), and we don't need to add widgets to
pad the bottom inset; the bottom-inset height in all these places is
zero.
@chrisbobbe chrisbobbe requested a review from rajveermalviya June 4, 2025 22:34
@chrisbobbe chrisbobbe added the maintainer review PR ready for review by Zulip maintainers label Jun 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintainer review PR ready for review by Zulip maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants